Last updated on 2025-10-01 10:49:57 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.13 | 113.67 | 129.80 | 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 | 22.61 | 154.96 | 177.57 | 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 | 26.00 | 170.00 | 196.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 | 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’ [8s/8s]
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.091309162 -0.027455378
2 I2 -0.027455378 0.006500128
3 I3 0.006500128 0.049354081
4 I4 0.049354081 0.087822134
5 I5 0.087822134 0.131639644
6 I6 0.131639644 0.194301645
7 I7 0.194301645 0.248164592
8 I8 0.248164592 0.302450805
9 I9 0.302450805 0.384292663
10 I10 0.384292663 0.483553453
11 I11 0.483553453 0.581130089
12 I12 0.581130089 0.663738842
13 I13 0.663738842 0.757167708
14 I14 0.757167708 0.895723122
15 I15 0.895723122 1.057374390
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.5 0.10 0.10 0.02 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.00 0.0 0.02 0.18 0.02 0.16 0.34 0.26 0.02 0.00 0 0 0 0 0
x1=-0.5 0.00 0.0 0.00 0.00 0.04 0.06 0.18 0.26 0.34 0.12 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.8266566 -1.1840858
2 I2 -1.1840858 -0.9151990
3 I3 -0.9151990 -0.5782122
4 I4 -0.5782122 -0.4251221
5 I5 -0.4251221 -0.2235203
6 I6 -0.2235203 0.0733335
7 I7 0.0733335 0.4730022
8 I8 0.4730022 0.7440647
9 I9 0.7440647 1.0882487
10 I10 1.0882487 1.5425869
11 I11 1.5425869 2.7023038
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.12 0 0 1.110223e-16 0.07 0.37 0 0.11 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.6743549 -1.4137894
2 I2 -1.4137894 -1.0769104
3 I3 -1.0769104 -0.6425065
4 I4 -0.6425065 -0.4175588
5 I5 -0.4175588 -0.1009756
6 I6 -0.1009756 0.1075885
7 I7 0.1075885 0.4102067
8 I8 0.4102067 0.6208602
9 I9 0.6208602 0.9773922
10 I10 0.9773922 1.3107227
11 I11 1.3107227 1.7897161
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 0 0.11 0.06 0.22 0.22 0.11 0.06 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.267 0.405
q(x2,x1) 0.291 0.235
max.dependence 0.291 0.373
a p.values
asymmetry -0.024 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’ [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