Last updated on 2025-10-02 22:51:08 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.5 | 24.84 | 161.11 | 185.95 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.0.6 | 15.94 | 113.18 | 129.12 | OK | |
r-devel-linux-x86_64-fedora-clang | 1.0.6 | 287.37 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.6 | 302.38 | OK | |||
r-devel-windows-x86_64 | 1.0.6 | 28.00 | 168.00 | 196.00 | OK | |
r-patched-linux-x86_64 | 1.0.5 | 23.42 | 155.76 | 179.18 | ERROR | |
r-release-linux-x86_64 | 1.0.5 | 22.61 | 154.96 | 177.57 | ERROR | |
r-release-macos-arm64 | 1.0.5 | 102.00 | OK | |||
r-release-macos-x86_64 | 1.0.6 | 178.00 | OK | |||
r-release-windows-x86_64 | 1.0.5 | 26.00 | 170.00 | 196.00 | ERROR | |
r-oldrel-macos-arm64 | 1.0.5 | 92.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.6 | 186.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.5 | 35.00 | 214.00 | 249.00 | ERROR |
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [13s/16s]
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.08484222 -0.02694164
2 I2 -0.02694164 0.01490765
3 I3 0.01490765 0.04952506
4 I4 0.04952506 0.07033977
5 I5 0.07033977 0.10078659
6 I6 0.10078659 0.12916148
7 I7 0.12916148 0.20136446
8 I8 0.20136446 0.26218552
9 I9 0.26218552 0.33673695
10 I10 0.33673695 0.45331436
11 I11 0.45331436 0.53913032
12 I12 0.53913032 0.63386449
13 I13 0.63386449 0.71773023
14 I14 0.71773023 0.81148003
15 I15 0.81148003 1.01901014
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.22 0.06 0.12 0.14 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.04 0.24 0.42 0.18 0.12 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.00 0.12 0.12 0.30 0.28 0.18 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.18969983 -1.19641080
2 I2 -1.19641080 -0.89676833
3 I3 -0.89676833 -0.65819044
4 I4 -0.65819044 -0.52509640
5 I5 -0.52509640 -0.32437778
6 I6 -0.32437778 -0.09882793
7 I7 -0.09882793 0.05396519
8 I8 0.05396519 0.44543189
9 I9 0.44543189 0.85776268
10 I10 0.85776268 1.18171819
11 I11 1.18171819 2.27257961
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.11 0.18 0 0.22 0 0.11 0.05 0 0.22
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.45972257 -1.30759188
2 I2 -1.30759188 -1.04217476
3 I3 -1.04217476 -0.64453017
4 I4 -0.64453017 -0.33895749
5 I5 -0.33895749 -0.05520275
6 I6 -0.05520275 0.22007544
7 I7 0.22007544 0.36616754
8 I8 0.36616754 0.65690125
9 I9 0.65690125 1.12355679
10 I10 1.12355679 1.43694043
11 I11 1.43694043 2.84720460
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.01 0.17 0.11 0 0 0.17 0.05 0.11 0 0 0.38
[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.2505 0.540
q(x2,x1) 0.2445 0.605
max.dependence 0.2505 0.765
a p.values
asymmetry 0.006 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’ [12s/18s]
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.094817870 -0.002418759
2 I2 -0.002418759 0.040487952
3 I3 0.040487952 0.071847510
4 I4 0.071847510 0.098304492
5 I5 0.098304492 0.124186248
6 I6 0.124186248 0.166782625
7 I7 0.166782625 0.230198235
8 I8 0.230198235 0.305972295
9 I9 0.305972295 0.367815533
10 I10 0.367815533 0.469295663
11 I11 0.469295663 0.619320194
12 I12 0.619320194 0.735943988
13 I13 0.735943988 0.816079308
14 I14 0.816079308 0.914152085
15 I15 0.914152085 1.015529752
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.32 0.26 0.16 0.26 0.0 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.0 0.00 0.08 0.62 0.24 0.06 0 0 0 0 0
x1=-0.5 0.00 0.02 0.06 0.04 0.2 0.18 0.36 0.06 0.08 0.00 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.72507735 -0.81236613
2 I2 -0.81236613 -0.49526002
3 I3 -0.49526002 -0.33726305
4 I4 -0.33726305 -0.10974098
5 I5 -0.10974098 0.02715222
6 I6 0.02715222 0.28231194
7 I7 0.28231194 0.38947727
8 I8 0.38947727 0.67003921
9 I9 0.67003921 0.96090255
10 I10 0.96090255 1.33055009
11 I11 1.33055009 2.39394651
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.27 0.07 0 1.110223e-16 0.11 0.22 0.11 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.6049734 -1.2040390
2 I2 -1.2040390 -0.7654728
3 I3 -0.7654728 -0.5250833
4 I4 -0.5250833 -0.2251564
5 I5 -0.2251564 0.1201431
6 I6 0.1201431 0.2916994
7 I7 0.2916994 0.4763284
8 I8 0.4763284 0.7539613
9 I9 0.7539613 0.9307280
10 I10 0.9307280 1.3993098
11 I11 1.3993098 2.2690999
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.39 0 0.11 0 0.11 0 0.11 0 0.11 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.2445 0.615
q(x2,x1) 0.2605 0.511
max.dependence 0.2605 0.701
a p.values
asymmetry -0.016 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’ [12s/15s]
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.08068156 -0.04792492
2 I2 -0.04792492 0.01659016
3 I3 0.01659016 0.05313701
4 I4 0.05313701 0.08477270
5 I5 0.08477270 0.11772080
6 I6 0.11772080 0.14113774
7 I7 0.14113774 0.17982553
8 I8 0.17982553 0.22914550
9 I9 0.22914550 0.31572772
10 I10 0.31572772 0.42355583
11 I11 0.42355583 0.52091433
12 I12 0.52091433 0.64828513
13 I13 0.64828513 0.76199583
14 I14 0.76199583 0.86186040
15 I15 0.86186040 1.06775637
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.4 0.18 0.18 0.22 0.02 0.00 0.00 0.0000000 0.0000000 0.00 0 0 0
x1=0.5 0.0 0.00 0.00 0.00 0.00 0.00 0.24 0.2533333 0.3266667 0.18 0 0 0
x1=-0.5 0.0 0.00 0.00 0.00 0.10 0.06 0.10 0.3800000 0.2400000 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.74223922 -1.44029201
2 I2 -1.44029201 -0.96251504
3 I3 -0.96251504 -0.72361832
4 I4 -0.72361832 -0.45577377
5 I5 -0.45577377 -0.30898799
6 I6 -0.30898799 -0.12515169
7 I7 -0.12515169 0.07539244
8 I8 0.07539244 0.46871872
9 I9 0.46871872 0.92502140
10 I10 0.92502140 1.27890820
11 I11 1.27890820 2.88582023
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.11 0.11 0.11 0 0.16 0.07 0.11 0.11 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.42922353 -1.49818123
2 I2 -1.49818123 -1.01055367
3 I3 -1.01055367 -0.49958045
4 I4 -0.49958045 -0.18616223
5 I5 -0.18616223 -0.04308362
6 I6 -0.04308362 0.06463989
7 I7 0.06463989 0.29537153
8 I8 0.29537153 0.64712239
9 I9 0.64712239 0.85066543
10 I10 0.85066543 1.21846656
11 I11 1.21846656 2.17540634
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.11 0.16 0.06 0.16 0 0.07 0 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.243 0.625
q(x2,x1) 0.237 0.660
max.dependence 0.243 0.816
a p.values
asymmetry 0.006 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.08032271 -0.03389627
2 I2 -0.03389627 0.01249579
3 I3 0.01249579 0.04607501
4 I4 0.04607501 0.07974069
5 I5 0.07974069 0.10017432
6 I6 0.10017432 0.15889283
7 I7 0.15889283 0.20426808
8 I8 0.20426808 0.28316949
9 I9 0.28316949 0.34293028
10 I10 0.34293028 0.45263407
11 I11 0.45263407 0.52503106
12 I12 0.52503106 0.63289511
13 I13 0.63289511 0.73359223
14 I14 0.73359223 0.84049213
15 I15 0.84049213 1.04323842
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.14 0.18 0.06 0.24 0.00 0.00 0.00 0.00 0.00 0.00 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.00 0.04 0.12 0.20 0.22 0.36 0.06 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.04 0.00 0.06 0.18 0.36 0.36 0.00 0.00 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.1397409 -1.1381026
2 I2 -1.1381026 -0.8173213
3 I3 -0.8173213 -0.5295905
4 I4 -0.5295905 -0.1498044
5 I5 -0.1498044 0.1864942
6 I6 0.1864942 0.4950751
7 I7 0.4950751 0.6718748
8 I8 0.6718748 0.7904307
9 I9 0.7904307 1.0829197
10 I10 1.0829197 1.4254339
11 I11 1.4254339 2.6911232
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.1754545 0.1645455 0.11 0 0.11 0.22 0 0 0.11 0 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -3.0954299 -1.2778211
2 I2 -1.2778211 -1.0043847
3 I3 -1.0043847 -0.5745225
4 I4 -0.5745225 -0.3563505
5 I5 -0.3563505 -0.1080537
6 I6 -0.1080537 0.2486997
7 I7 0.2486997 0.4116370
8 I8 0.4116370 0.6137853
9 I9 0.6137853 0.8891662
10 I10 0.8891662 1.3771899
11 I11 1.3771899 2.5413163
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.05 0 0.11 0.11 0.18 0.22 0 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.2370 0.694
q(x2,x1) 0.2115 0.877
max.dependence 0.2370 0.875
a p.values
asymmetry 0.0255 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.090898963 -0.040627122
2 I2 -0.040627122 0.003854211
3 I3 0.003854211 0.031824007
4 I4 0.031824007 0.058425498
5 I5 0.058425498 0.082441024
6 I6 0.082441024 0.106454776
7 I7 0.106454776 0.171955992
8 I8 0.171955992 0.247026725
9 I9 0.247026725 0.303398006
10 I10 0.303398006 0.404653217
11 I11 0.404653217 0.489338730
12 I12 0.489338730 0.626530611
13 I13 0.626530611 0.735753987
14 I14 0.735753987 0.838802308
15 I15 0.838802308 1.039716368
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.42 0.14 0.06 0.2 0.12 0.06 0.00 0.00 0.00 0.00 0.00 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.0 0.00 0.04 0.18 0.36 0.24 0.18 0.00 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.0 0.00 0.00 0.08 0.38 0.36 0.12 0.06 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.92832783 -1.03547124
2 I2 -1.03547124 -0.79376467
3 I3 -0.79376467 -0.51709100
4 I4 -0.51709100 -0.28844212
5 I5 -0.28844212 -0.09005434
6 I6 -0.09005434 0.05228371
7 I7 0.05228371 0.20479343
8 I8 0.20479343 0.59011471
9 I9 0.59011471 0.92384968
10 I10 0.92384968 1.31376684
11 I11 1.31376684 2.22589811
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.02545455 0.2645455 0 0 0 0.16 0 0.44
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.31650454 -1.26645182
2 I2 -1.26645182 -0.87683969
3 I3 -0.87683969 -0.38457603
4 I4 -0.38457603 -0.18272407
5 I5 -0.18272407 -0.05477889
6 I6 -0.05477889 0.19342882
7 I7 0.19342882 0.47030585
8 I8 0.47030585 0.64544431
9 I9 0.64544431 0.89710732
10 I10 0.89710732 1.19044052
11 I11 1.19044052 2.54515350
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 0.11 0.06 2.775558e-16 0.24 0.04 0.22 0.22 2.220446e-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.2050 0.904
q(x2,x1) 0.2025 0.920
max.dependence 0.2050 0.987
a p.values
asymmetry 0.0025 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