Last updated on 2025-09-27 08:48:50 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.5 | 21.67 | 165.57 | 187.24 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.0.5 | 16.04 | 113.75 | 129.79 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.0.5 | 285.79 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.5 | 286.85 | ERROR | |||
r-devel-windows-x86_64 | 1.0.5 | 30.00 | 169.00 | 199.00 | ERROR | |
r-patched-linux-x86_64 | 1.0.5 | 21.70 | 153.49 | 175.19 | ERROR | |
r-release-linux-x86_64 | 1.0.5 | 20.34 | 155.58 | 175.92 | ERROR | |
r-release-macos-arm64 | 1.0.5 | 102.00 | OK | |||
r-release-macos-x86_64 | 1.0.5 | 142.00 | OK | |||
r-release-windows-x86_64 | 1.0.5 | 28.00 | 166.00 | 194.00 | ERROR | |
r-oldrel-macos-arm64 | 1.0.5 | 92.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.5 | 136.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.5 | 36.00 | 216.00 | 252.00 | ERROR |
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [13s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.088328476 -0.032014822
2 I2 -0.032014822 0.003681438
3 I3 0.003681438 0.043419866
4 I4 0.043419866 0.082982960
5 I5 0.082982960 0.123291222
6 I6 0.123291222 0.157370208
7 I7 0.157370208 0.196094316
8 I8 0.196094316 0.251103114
9 I9 0.251103114 0.312673308
10 I10 0.312673308 0.411026240
11 I11 0.411026240 0.492993924
12 I12 0.492993924 0.582614401
13 I13 0.582614401 0.669112580
14 I14 0.669112580 0.814027716
15 I15 0.814027716 1.085679589
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13
x1=0 0.44 0.14 0.24 0.18 0.00 0.00 0.00 0.0000000 0.0000000 0.00 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.04 0.12 0.10 0.4400000 0.2400000 0.06 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.00 0.00 0.36 0.1933333 0.3266667 0.12 0 0 0
I14 I15
x1=0 0 0
x1=0.5 0 0
x1=-0.5 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.53644771 -0.97613465
2 I2 -0.97613465 -0.61074134
3 I3 -0.61074134 -0.43147819
4 I4 -0.43147819 -0.27153923
5 I5 -0.27153923 -0.05271212
6 I6 -0.05271212 0.06319971
7 I7 0.06319971 0.23246937
8 I8 0.23246937 0.54523701
9 I9 0.54523701 0.77681898
10 I10 0.77681898 1.14892515
11 I11 1.14892515 2.06120009
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.22 0 0.11 0.15 0.07 0.03818182 0.03181818 0.11 0.11 0 0.16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.3635900 -1.2514416
2 I2 -1.2514416 -1.0833448
3 I3 -1.0833448 -0.6090812
4 I4 -0.6090812 -0.2658806
5 I5 -0.2658806 -0.1705240
6 I6 -0.1705240 0.2096200
7 I7 0.2096200 0.5225125
8 I8 0.5225125 0.6219765
9 I9 0.6219765 0.7975903
10 I10 0.7975903 1.2699317
11 I11 1.2699317 3.1616994
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.11 0 0.04 0.18 0.1427273 0.1372727 0 0.11 0.27 0.01
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.330 0.057
q(x2,x1) 0.233 0.697
max.dependence 0.330 0.108
a p.values
asymmetry 0.097 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.09166321 -0.02692883
2 I2 -0.02692883 0.01201603
3 I3 0.01201603 0.04359604
4 I4 0.04359604 0.07741878
5 I5 0.07741878 0.11028716
6 I6 0.11028716 0.15529201
7 I7 0.15529201 0.21247669
8 I8 0.21247669 0.29232506
9 I9 0.29232506 0.34518989
10 I10 0.34518989 0.44495228
11 I11 0.44495228 0.55042729
12 I12 0.55042729 0.68649954
13 I13 0.68649954 0.77766865
14 I14 0.77766865 0.86178062
15 I15 0.86178062 0.98728756
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.46 0.2 0.16 0.06 0.12 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.00 0.0 0.00 0.00 0.08 0.14 0.22 0.26 0.24 0.06 0 0 0 0 0
x1=-0.5 0.00 0.0 0.00 0.00 0.02 0.18 0.36 0.20 0.24 0.00 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.37746795 -1.37060864
2 I2 -1.37060864 -0.99972353
3 I3 -0.99972353 -0.76077557
4 I4 -0.76077557 -0.47855203
5 I5 -0.47855203 -0.22143323
6 I6 -0.22143323 0.01192308
7 I7 0.01192308 0.29055542
8 I8 0.29055542 0.66029450
9 I9 0.66029450 1.06988585
10 I10 1.06988585 1.43414160
11 I11 1.43414160 2.90961348
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.11 0 0.25 0.12 0.07 0.11 0 0.05090909 0.1090909 0.02 0.16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.68282332 -1.07061526
2 I2 -1.07061526 -0.66319676
3 I3 -0.66319676 -0.48647044
4 I4 -0.48647044 -0.18115299
5 I5 -0.18115299 0.01028987
6 I6 0.01028987 0.16074346
7 I7 0.16074346 0.40641879
8 I8 0.40641879 0.59755281
9 I9 0.59755281 0.97280043
10 I10 0.97280043 1.35808887
11 I11 1.35808887 2.48766447
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.11 0.11 0.22 0 0 0.11 0.11 0.06 0.1590909 0.1209091 1.110223e-16
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.240 0.668
q(x2,x1) 0.237 0.706
max.dependence 0.240 0.863
a p.values
asymmetry 0.003 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-gcc
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [19s/47s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.095137231 -0.043887874
2 I2 -0.043887874 0.002659854
3 I3 0.002659854 0.033888054
4 I4 0.033888054 0.067863912
5 I5 0.067863912 0.098625363
6 I6 0.098625363 0.136380137
7 I7 0.136380137 0.199759727
8 I8 0.199759727 0.262895386
9 I9 0.262895386 0.298703381
10 I10 0.298703381 0.370316518
11 I11 0.370316518 0.488019219
12 I12 0.488019219 0.686647998
13 I13 0.686647998 0.773293312
14 I14 0.773293312 0.872371354
15 I15 0.872371354 1.061097886
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.38 0.12 0.08 0.3 0.12 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.0 0.06 0.12 0.18 0.28 0.18 0.18 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.0 0.00 0.00 0.16 0.20 0.18 0.46 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.93746346 -1.18367201
2 I2 -1.18367201 -0.80724852
3 I3 -0.80724852 -0.43666329
4 I4 -0.43666329 -0.14718523
5 I5 -0.14718523 -0.02770943
6 I6 -0.02770943 0.14689956
7 I7 0.14689956 0.56154183
8 I8 0.56154183 0.73646854
9 I9 0.73646854 1.13294508
10 I10 1.13294508 1.44956389
11 I11 1.44956389 2.78405538
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0 0.08 0.15 0.11 0 0 0.11 0.22 0.11 0.22
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.75854823 -1.43167562
2 I2 -1.43167562 -1.04073436
3 I3 -1.04073436 -0.72237382
4 I4 -0.72237382 -0.44056242
5 I5 -0.44056242 -0.23944874
6 I6 -0.23944874 -0.01931246
7 I7 -0.01931246 0.28476364
8 I8 0.28476364 0.66427638
9 I9 0.66427638 1.00718766
10 I10 1.00718766 1.47604653
11 I11 1.47604653 2.87840693
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.11 0.1290909 0.1609091 0.02272727 0.08727273 0.05 0.22 0 0.1 0.12
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2775 0.310
q(x2,x1) 0.2310 0.749
max.dependence 0.2775 0.499
a p.values
asymmetry 0.0465 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [19s/25s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.09516258 -0.03862239
2 I2 -0.03862239 0.03458622
3 I3 0.03458622 0.06551644
4 I4 0.06551644 0.09456571
5 I5 0.09456571 0.12625584
6 I6 0.12625584 0.16706794
7 I7 0.16706794 0.22155232
8 I8 0.22155232 0.32045365
9 I9 0.32045365 0.40051564
10 I10 0.40051564 0.46416305
11 I11 0.46416305 0.54033176
12 I12 0.54033176 0.61428162
13 I13 0.61428162 0.71731366
14 I14 0.71731366 0.84347808
15 I15 0.84347808 1.09321362
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.48 0.28 0.12 0.06 0.06 0.00 0.00 0.00 0.00 0 0 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.00 0.06 0.18 0.48 0.28 0 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.06 0.26 0.24 0.32 0.12 0 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.19137842 -1.12695052
2 I2 -1.12695052 -0.62811906
3 I3 -0.62811906 -0.41697202
4 I4 -0.41697202 -0.28350704
5 I5 -0.28350704 -0.12061352
6 I6 -0.12061352 0.02908693
7 I7 0.02908693 0.24857979
8 I8 0.24857979 0.56038981
9 I9 0.56038981 0.78624228
10 I10 0.78624228 1.35989715
11 I11 1.35989715 2.71247430
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.33 0 0.01909091 0.1009091 0.05 0.17 0.22 0 0.11 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.7568447 -1.2723853
2 I2 -1.2723853 -0.9452424
3 I3 -0.9452424 -0.7419253
4 I4 -0.7419253 -0.5514552
5 I5 -0.5514552 -0.2675429
6 I6 -0.2675429 -0.1138264
7 I7 -0.1138264 0.1686010
8 I8 0.1686010 0.4108334
9 I9 0.4108334 0.6942796
10 I10 0.6942796 1.0024789
11 I11 1.0024789 2.1197492
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.17 0.06 0.11 0.04 0.18 0 0 0.11 0.11 0.11 0.11
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2565 0.496
q(x2,x1) 0.1710 0.988
max.dependence 0.2565 0.719
a p.values
asymmetry 0.0855 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 1.0.5
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.09055803 -0.01373834
2 I2 -0.01373834 0.03434538
3 I3 0.03434538 0.06691667
4 I4 0.06691667 0.09115947
5 I5 0.09115947 0.11652008
6 I6 0.11652008 0.15172392
7 I7 0.15172392 0.20398261
8 I8 0.20398261 0.28278059
9 I9 0.28278059 0.33640899
10 I10 0.33640899 0.42512916
11 I11 0.42512916 0.53074337
12 I12 0.53074337 0.63186963
13 I13 0.63186963 0.75480392
14 I14 0.75480392 0.85199665
15 I15 0.85199665 0.98343639
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.24 0.3 0.36 0.1 0 0.00 0.00 0.00 0.00 0.0 0.00 0 0 0 0
x1=0.5 0.00 0.0 0.00 0.0 0 0.06 0.22 0.60 0.12 0.0 0.00 0 0 0 0
x1=-0.5 0.00 0.0 0.00 0.0 0 0.00 0.06 0.12 0.46 0.3 0.06 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.76704001 -1.45017837
2 I2 -1.45017837 -0.92591927
3 I3 -0.92591927 -0.67162918
4 I4 -0.67162918 -0.50367264
5 I5 -0.50367264 -0.26055162
6 I6 -0.26055162 -0.08115294
7 I7 -0.08115294 0.21379246
8 I8 0.21379246 0.39819817
9 I9 0.39819817 0.67836925
10 I10 0.67836925 1.14267798
11 I11 1.14267798 1.79213099
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.16 0.11 0 0.11 0.07 0.11 0.11 0 0.22 0 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.45014153 -1.59322614
2 I2 -1.59322614 -0.76909968
3 I3 -0.76909968 -0.59015092
4 I4 -0.59015092 -0.35693682
5 I5 -0.35693682 -0.20720557
6 I6 -0.20720557 0.02771573
7 I7 0.02771573 0.35624839
8 I8 0.35624839 0.59241097
9 I9 0.59241097 0.83408320
10 I10 0.83408320 1.26546621
11 I11 1.26546621 2.16982325
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.11 0 0.03 0.46 0.11 0 0 0.11 0.11 0.07 0
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2565 0.508
q(x2,x1) 0.2115 0.865
max.dependence 0.2565 0.722
a p.values
asymmetry 0.045 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-devel-windows-x86_64
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [12s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.08580946 -0.02467170
2 I2 -0.02467170 0.02328497
3 I3 0.02328497 0.04966629
4 I4 0.04966629 0.08180995
5 I5 0.08180995 0.11600100
6 I6 0.11600100 0.16029138
7 I7 0.16029138 0.21806058
8 I8 0.21806058 0.26834768
9 I9 0.26834768 0.32482643
10 I10 0.32482643 0.43895365
11 I11 0.43895365 0.54537323
12 I12 0.54537323 0.59188398
13 I13 0.59188398 0.69662922
14 I14 0.69662922 0.87657646
15 I15 0.87657646 1.01281226
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.16 0.24 0.06 0.42 0.12 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.00 0.18 0.34 0.30 0.18 0.00 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.00 0.00 0.10 0.18 0.36 0.36 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.80595705 -1.20919503
2 I2 -1.20919503 -0.92715152
3 I3 -0.92715152 -0.55828763
4 I4 -0.55828763 -0.39293744
5 I5 -0.39293744 -0.17789657
6 I6 -0.17789657 -0.04675784
7 I7 -0.04675784 0.22327001
8 I8 0.22327001 0.38627803
9 I9 0.38627803 0.64991321
10 I10 0.64991321 1.31313990
11 I11 1.31313990 2.20781050
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.07 0.11 0 0 0.22 0 0 0.11 0.16 0.22 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.0844515 -1.3350287
2 I2 -1.3350287 -0.7508031
3 I3 -0.7508031 -0.4182301
4 I4 -0.4182301 -0.2349027
5 I5 -0.2349027 -0.1387400
6 I6 -0.1387400 0.1141390
7 I7 0.1141390 0.3192492
8 I8 0.3192492 0.5672797
9 I9 0.5672797 0.7106835
10 I10 0.7106835 1.1833982
11 I11 1.1833982 2.3897308
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0 0.11 0.22 0.11 0.06 0.11 0.28 0.11 0 0
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2160 0.859
q(x2,x1) 0.2175 0.844
max.dependence 0.2175 0.967
a p.values
asymmetry -0.0015 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.09496185 -0.01806348
2 I2 -0.01806348 0.03204058
3 I3 0.03204058 0.06374143
4 I4 0.06374143 0.09173616
5 I5 0.09173616 0.12726967
6 I6 0.12726967 0.17702897
7 I7 0.17702897 0.23494959
8 I8 0.23494959 0.29676423
9 I9 0.29676423 0.34180038
10 I10 0.34180038 0.43803600
11 I11 0.43803600 0.53875527
12 I12 0.53875527 0.64303565
13 I13 0.64303565 0.76357389
14 I14 0.76357389 0.85532452
15 I15 0.85532452 1.07019855
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.34 0.3 0.12 0.06 0.18 0.00 0.00 0.00 0.0 0.00 0 0 0 0 0
x1=0.5 0.00 0.0 0.00 0.00 0.00 0.06 0.06 0.40 0.3 0.18 0 0 0 0 0
x1=-0.5 0.00 0.0 0.00 0.00 0.00 0.00 0.12 0.44 0.2 0.24 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.96503327 -1.07240925
2 I2 -1.07240925 -0.85110238
3 I3 -0.85110238 -0.64052596
4 I4 -0.64052596 -0.32915192
5 I5 -0.32915192 -0.06554498
6 I6 -0.06554498 0.27230617
7 I7 0.27230617 0.42955700
8 I8 0.42955700 0.59992192
9 I9 0.59992192 0.81337749
10 I10 0.81337749 1.17335200
11 I11 1.17335200 3.01560939
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.07 0 0 0.16 2.220446e-16 0.18 0.15 0.11 0.22 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.9716103 -1.2346283
2 I2 -1.2346283 -0.8587160
3 I3 -0.8587160 -0.5880083
4 I4 -0.5880083 -0.4603294
5 I5 -0.4603294 -0.1243106
6 I6 -0.1243106 0.1059317
7 I7 0.1059317 0.3204438
8 I8 0.3204438 0.5385231
9 I9 0.5385231 0.7231481
10 I10 0.7231481 1.1091607
11 I11 1.1091607 2.6691823
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.22 0.06 0.33 0.11 1.110223e-16 0.11 0 0 0 0.17
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2955 0.194
q(x2,x1) 0.2400 0.652
max.dependence 0.2955 0.312
a p.values
asymmetry 0.0555 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.0.5
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.094461829 -0.004067891
2 I2 -0.004067891 0.037814584
3 I3 0.037814584 0.068078432
4 I4 0.068078432 0.097656224
5 I5 0.097656224 0.128772177
6 I6 0.128772177 0.168672861
7 I7 0.168672861 0.244175516
8 I8 0.244175516 0.300414127
9 I9 0.300414127 0.389574055
10 I10 0.389574055 0.460177898
11 I11 0.460177898 0.552925479
12 I12 0.552925479 0.662720776
13 I13 0.662720776 0.732094563
14 I14 0.732094563 0.866313263
15 I15 0.866313263 1.026361228
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.28 0.2 0.2 0.26 0.06 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.00 0.0 0.0 0.00 0.00 0.16 0.24 0.42 0.12 0.06 0 0 0 0 0
x1=-0.5 0.00 0.0 0.0 0.00 0.06 0.30 0.42 0.14 0.08 0.00 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.07008774 -1.26672118
2 I2 -1.26672118 -0.77663039
3 I3 -0.77663039 -0.40130084
4 I4 -0.40130084 -0.17335736
5 I5 -0.17335736 -0.04651974
6 I6 -0.04651974 0.15745678
7 I7 0.15745678 0.44218763
8 I8 0.44218763 0.68879865
9 I9 0.68879865 0.89474365
10 I10 0.89474365 1.18461012
11 I11 1.18461012 2.95987492
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.27 0.22 0.03 0.08 0.11 1.110223e-16 0.11 0 0 0.07 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.729979690 -1.451904359
2 I2 -1.451904359 -0.959570604
3 I3 -0.959570604 -0.769480704
4 I4 -0.769480704 -0.482026664
5 I5 -0.482026664 -0.137955552
6 I6 -0.137955552 -0.003956687
7 I7 -0.003956687 0.151349895
8 I8 0.151349895 0.374942329
9 I9 0.374942329 0.655687546
10 I10 0.655687546 0.978488294
11 I11 0.978488294 2.818160007
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0 0.22 0.11 0.16 0.18 0 0.11 0 0 0.22
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2708 0.383
q(x2,x1) 0.2500 0.573
max.dependence 0.2708 0.590
a p.values
asymmetry 0.0208 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.0.5
Check: tests
Result: ERROR
Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.09818948 -0.04144919
2 I2 -0.04144919 0.01810718
3 I3 0.01810718 0.06246399
4 I4 0.06246399 0.10806277
5 I5 0.10806277 0.14116962
6 I6 0.14116962 0.18968609
7 I7 0.18968609 0.24206004
8 I8 0.24206004 0.31289679
9 I9 0.31289679 0.39608857
10 I10 0.39608857 0.47150450
11 I11 0.47150450 0.58028519
12 I12 0.58028519 0.67143680
13 I13 0.67143680 0.80749935
14 I14 0.80749935 0.91387293
15 I15 0.91387293 1.06904478
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13
x1=0 0.26 0.28 0.1 0.30000000 0.06000000 0.00 0.00 0.00 0.00 0 0 0 0
x1=0.5 0.00 0.00 0.0 0.06000000 0.00000000 0.12 0.24 0.44 0.14 0 0 0 0
x1=-0.5 0.00 0.00 0.0 0.02666667 0.07333333 0.12 0.34 0.28 0.16 0 0 0 0
I14 I15
x1=0 0 0
x1=0.5 0 0
x1=-0.5 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.9700255 -1.3507814
2 I2 -1.3507814 -1.0039971
3 I3 -1.0039971 -0.6883488
4 I4 -0.6883488 -0.5238063
5 I5 -0.5238063 -0.2561125
6 I6 -0.2561125 0.1239833
7 I7 0.1239833 0.3818603
8 I8 0.3818603 0.5983672
9 I9 0.5983672 0.9311694
10 I10 0.9311694 1.2622859
11 I11 1.2622859 2.0706833
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.11 0.06 0 0.11 0.11 0.29 0.1 0 0.11 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.5521138 -1.1516032
2 I2 -1.1516032 -0.7287360
3 I3 -0.7287360 -0.5563357
4 I4 -0.5563357 -0.2636085
5 I5 -0.2636085 0.1231430
6 I6 0.1231430 0.2478548
7 I7 0.2478548 0.6062763
8 I8 0.6062763 0.7841014
9 I9 0.7841014 1.0717236
10 I10 1.0717236 1.3567182
11 I11 1.3567182 2.3067477
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.28 0 0 0.17 0 0.11 0.11 0.11 0 0.11 0.11
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2205 0.813
q(x2,x1) 0.2905 0.231
max.dependence 0.2905 0.385
a p.values
asymmetry -0.07 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64