Last updated on 2025-10-02 01:50: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.5 | 16.11 | 118.83 | 134.94 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 1.0.5 | 285.79 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 1.0.6 | 302.38 | OK | |||
r-devel-windows-x86_64 | 1.0.5 | 30.00 | 169.00 | 199.00 | ERROR | |
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 | 37.00 | 224.00 | 261.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’ [9s/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.08628457 -0.01946877
2 I2 -0.01946877 0.01320542
3 I3 0.01320542 0.05077365
4 I4 0.05077365 0.09085202
5 I5 0.09085202 0.11896872
6 I6 0.11896872 0.17170311
7 I7 0.17170311 0.24419193
8 I8 0.24419193 0.33085060
9 I9 0.33085060 0.39740114
10 I10 0.39740114 0.52981065
11 I11 0.52981065 0.62334534
12 I12 0.62334534 0.70242291
13 I13 0.70242291 0.83095264
14 I14 0.83095264 0.90621190
15 I15 0.90621190 1.03354687
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.3 0.2 0.12 0.06 0.32 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.0 0.0 0.00 0.12 0.08 0.42 0.12 0.22 0.04 0.00 0 0 0 0 0
x1=-0.5 0.0 0.0 0.00 0.00 0.00 0.06 0.28 0.24 0.24 0.18 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.6440206 -1.2964276
2 I2 -1.2964276 -0.8140908
3 I3 -0.8140908 -0.6101557
4 I4 -0.6101557 -0.3433256
5 I5 -0.3433256 -0.1618828
6 I6 -0.1618828 0.0743536
7 I7 0.0743536 0.4132473
8 I8 0.4132473 0.5596288
9 I9 0.5596288 1.0162803
10 I10 1.0162803 1.3196092
11 I11 1.3196092 2.5306384
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.22 0 0.22 0.1481818 0.08181818 0 0.22 2.220446e-16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.8736745 -1.3503319
2 I2 -1.3503319 -0.9255928
3 I3 -0.9255928 -0.7729014
4 I4 -0.7729014 -0.4561689
5 I5 -0.4561689 -0.1542003
6 I6 -0.1542003 0.1575756
7 I7 0.1575756 0.3998787
8 I8 0.3998787 0.6333022
9 I9 0.6333022 1.0861592
10 I10 1.0861592 1.4414531
11 I11 1.4414531 2.2611878
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 0.06 0.11 0.11 0.28 0.22 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.2825 0.267
q(x2,x1) 0.2925 0.202
max.dependence 0.2925 0.341
a p.values
asymmetry -0.01 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' [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/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' [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.09269985 -0.04049566
2 I2 -0.04049566 0.03353190
3 I3 0.03353190 0.06512495
4 I4 0.06512495 0.10174977
5 I5 0.10174977 0.14275262
6 I6 0.14275262 0.17616032
7 I7 0.17616032 0.21616585
8 I8 0.21616585 0.29872205
9 I9 0.29872205 0.33890074
10 I10 0.33890074 0.40952119
11 I11 0.40952119 0.53100971
12 I12 0.53100971 0.65657592
13 I13 0.65657592 0.80305033
14 I14 0.80305033 0.92257739
15 I15 0.92257739 1.06730961
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.44 0 0.18 0.38 0 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.00 0 0.00 0.00 0 0.18 0.16 0.30 0.30 0.06 0 0 0 0 0
x1=-0.5 0.00 0 0.00 0.00 0 0.00 0.06 0.36 0.34 0.24 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.607411304 -1.186821809
2 I2 -1.186821809 -0.804176328
3 I3 -0.804176328 -0.423954467
4 I4 -0.423954467 -0.232412646
5 I5 -0.232412646 -0.003340953
6 I6 -0.003340953 0.163692072
7 I7 0.163692072 0.319583828
8 I8 0.319583828 0.556923830
9 I9 0.556923830 1.000103223
10 I10 1.000103223 1.475639594
11 I11 1.475639594 2.512422367
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.11 0 0 0 3.885781e-16 0.33 0.17 0 0 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -3.84963638 -1.53217665
2 I2 -1.53217665 -1.15100600
3 I3 -1.15100600 -0.87236792
4 I4 -0.87236792 -0.58106059
5 I5 -0.58106059 -0.32283868
6 I6 -0.32283868 -0.08680918
7 I7 -0.08680918 0.21295585
8 I8 0.21295585 0.46755741
9 I9 0.46755741 0.60058897
10 I10 0.60058897 1.05528412
11 I11 1.05528412 1.86277001
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 0.11 0.22 0.05 0 0.15 0.25 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.236 0.694
q(x2,x1) 0.219 0.823
max.dependence 0.236 0.866
a p.values
asymmetry 0.017 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