Last updated on 2025-09-28 09:49:55 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.5 | 21.67 | 165.57 | 187.24 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.0.5 | 16.22 | 114.28 | 130.50 | 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 | 28.00 | 166.00 | 194.00 | ERROR | |
r-oldrel-macos-arm64 | 1.0.5 | 92.00 | OK | |||
r-oldrel-macos-x86_64 | 1.0.5 | 136.00 | OK | |||
r-oldrel-windows-x86_64 | 1.0.5 | 36.00 | 216.00 | 252.00 | ERROR |
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [13s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.088328476 -0.032014822
2 I2 -0.032014822 0.003681438
3 I3 0.003681438 0.043419866
4 I4 0.043419866 0.082982960
5 I5 0.082982960 0.123291222
6 I6 0.123291222 0.157370208
7 I7 0.157370208 0.196094316
8 I8 0.196094316 0.251103114
9 I9 0.251103114 0.312673308
10 I10 0.312673308 0.411026240
11 I11 0.411026240 0.492993924
12 I12 0.492993924 0.582614401
13 I13 0.582614401 0.669112580
14 I14 0.669112580 0.814027716
15 I15 0.814027716 1.085679589
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13
x1=0 0.44 0.14 0.24 0.18 0.00 0.00 0.00 0.0000000 0.0000000 0.00 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.04 0.12 0.10 0.4400000 0.2400000 0.06 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.00 0.00 0.36 0.1933333 0.3266667 0.12 0 0 0
I14 I15
x1=0 0 0
x1=0.5 0 0
x1=-0.5 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.53644771 -0.97613465
2 I2 -0.97613465 -0.61074134
3 I3 -0.61074134 -0.43147819
4 I4 -0.43147819 -0.27153923
5 I5 -0.27153923 -0.05271212
6 I6 -0.05271212 0.06319971
7 I7 0.06319971 0.23246937
8 I8 0.23246937 0.54523701
9 I9 0.54523701 0.77681898
10 I10 0.77681898 1.14892515
11 I11 1.14892515 2.06120009
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.22 0 0.11 0.15 0.07 0.03818182 0.03181818 0.11 0.11 0 0.16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.3635900 -1.2514416
2 I2 -1.2514416 -1.0833448
3 I3 -1.0833448 -0.6090812
4 I4 -0.6090812 -0.2658806
5 I5 -0.2658806 -0.1705240
6 I6 -0.1705240 0.2096200
7 I7 0.2096200 0.5225125
8 I8 0.5225125 0.6219765
9 I9 0.6219765 0.7975903
10 I10 0.7975903 1.2699317
11 I11 1.2699317 3.1616994
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.11 0 0.04 0.18 0.1427273 0.1372727 0 0.11 0.27 0.01
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.330 0.057
q(x2,x1) 0.233 0.697
max.dependence 0.330 0.108
a p.values
asymmetry 0.097 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-debian-clang
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [8s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.09197007 -0.01867810
2 I2 -0.01867810 0.01600933
3 I3 0.01600933 0.04887969
4 I4 0.04887969 0.09454429
5 I5 0.09454429 0.12477041
6 I6 0.12477041 0.17946306
7 I7 0.17946306 0.25610005
8 I8 0.25610005 0.32437281
9 I9 0.32437281 0.40952402
10 I10 0.40952402 0.47743345
11 I11 0.47743345 0.56081000
12 I12 0.56081000 0.66863748
13 I13 0.66863748 0.80483976
14 I14 0.80483976 0.93735574
15 I15 0.93735574 1.07252426
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.54 0.16 0.06 0.06 0.18 0.00 0.00 0.00 0.0 0.00 0 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.00 0.00 0.16 0.32 0.4 0.12 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.00 0.04 0.16 0.32 0.3 0.18 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -4.29946898 -1.59147143
2 I2 -1.59147143 -1.12061014
3 I3 -1.12061014 -0.84251739
4 I4 -0.84251739 -0.52110371
5 I5 -0.52110371 -0.30641465
6 I6 -0.30641465 -0.08549488
7 I7 -0.08549488 0.29409623
8 I8 0.29409623 0.63860081
9 I9 0.63860081 0.98584220
10 I10 0.98584220 1.51050102
11 I11 1.51050102 2.42493101
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.17 0.22 0 0.06 0.11 0 0.22 0 0 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.83499557 -1.47942920
2 I2 -1.47942920 -0.88989236
3 I3 -0.88989236 -0.48252104
4 I4 -0.48252104 -0.23750507
5 I5 -0.23750507 -0.04708006
6 I6 -0.04708006 0.10119896
7 I7 0.10119896 0.31677074
8 I8 0.31677074 0.64074352
9 I9 0.64074352 0.89286229
10 I10 0.89286229 1.14831844
11 I11 1.14831844 2.70356272
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.06 0.11 0 0.17 0 0.22 0.11 0 0.2 0.13 2.220446e-16
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.270 0.378
q(x2,x1) 0.294 0.185
max.dependence 0.294 0.339
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.094461829 -0.004067891
2 I2 -0.004067891 0.037814584
3 I3 0.037814584 0.068078432
4 I4 0.068078432 0.097656224
5 I5 0.097656224 0.128772177
6 I6 0.128772177 0.168672861
7 I7 0.168672861 0.244175516
8 I8 0.244175516 0.300414127
9 I9 0.300414127 0.389574055
10 I10 0.389574055 0.460177898
11 I11 0.460177898 0.552925479
12 I12 0.552925479 0.662720776
13 I13 0.662720776 0.732094563
14 I14 0.732094563 0.866313263
15 I15 0.866313263 1.026361228
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.28 0.2 0.2 0.26 0.06 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.00 0.0 0.0 0.00 0.00 0.16 0.24 0.42 0.12 0.06 0 0 0 0 0
x1=-0.5 0.00 0.0 0.0 0.00 0.06 0.30 0.42 0.14 0.08 0.00 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.07008774 -1.26672118
2 I2 -1.26672118 -0.77663039
3 I3 -0.77663039 -0.40130084
4 I4 -0.40130084 -0.17335736
5 I5 -0.17335736 -0.04651974
6 I6 -0.04651974 0.15745678
7 I7 0.15745678 0.44218763
8 I8 0.44218763 0.68879865
9 I9 0.68879865 0.89474365
10 I10 0.89474365 1.18461012
11 I11 1.18461012 2.95987492
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.27 0.22 0.03 0.08 0.11 1.110223e-16 0.11 0 0 0.07 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.729979690 -1.451904359
2 I2 -1.451904359 -0.959570604
3 I3 -0.959570604 -0.769480704
4 I4 -0.769480704 -0.482026664
5 I5 -0.482026664 -0.137955552
6 I6 -0.137955552 -0.003956687
7 I7 -0.003956687 0.151349895
8 I8 0.151349895 0.374942329
9 I9 0.374942329 0.655687546
10 I10 0.655687546 0.978488294
11 I11 0.978488294 2.818160007
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0 0.22 0.11 0.16 0.18 0 0.11 0 0 0.22
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2708 0.383
q(x2,x1) 0.2500 0.573
max.dependence 0.2708 0.590
a p.values
asymmetry 0.0208 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-release-windows-x86_64
Version: 1.0.5
Check: tests
Result: ERROR
Running 'testthat.R' [14s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.09818948 -0.04144919
2 I2 -0.04144919 0.01810718
3 I3 0.01810718 0.06246399
4 I4 0.06246399 0.10806277
5 I5 0.10806277 0.14116962
6 I6 0.14116962 0.18968609
7 I7 0.18968609 0.24206004
8 I8 0.24206004 0.31289679
9 I9 0.31289679 0.39608857
10 I10 0.39608857 0.47150450
11 I11 0.47150450 0.58028519
12 I12 0.58028519 0.67143680
13 I13 0.67143680 0.80749935
14 I14 0.80749935 0.91387293
15 I15 0.91387293 1.06904478
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13
x1=0 0.26 0.28 0.1 0.30000000 0.06000000 0.00 0.00 0.00 0.00 0 0 0 0
x1=0.5 0.00 0.00 0.0 0.06000000 0.00000000 0.12 0.24 0.44 0.14 0 0 0 0
x1=-0.5 0.00 0.00 0.0 0.02666667 0.07333333 0.12 0.34 0.28 0.16 0 0 0 0
I14 I15
x1=0 0 0
x1=0.5 0 0
x1=-0.5 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.9700255 -1.3507814
2 I2 -1.3507814 -1.0039971
3 I3 -1.0039971 -0.6883488
4 I4 -0.6883488 -0.5238063
5 I5 -0.5238063 -0.2561125
6 I6 -0.2561125 0.1239833
7 I7 0.1239833 0.3818603
8 I8 0.3818603 0.5983672
9 I9 0.5983672 0.9311694
10 I10 0.9311694 1.2622859
11 I11 1.2622859 2.0706833
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.11 0.06 0 0.11 0.11 0.29 0.1 0 0.11 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.5521138 -1.1516032
2 I2 -1.1516032 -0.7287360
3 I3 -0.7287360 -0.5563357
4 I4 -0.5563357 -0.2636085
5 I5 -0.2636085 0.1231430
6 I6 0.1231430 0.2478548
7 I7 0.2478548 0.6062763
8 I8 0.6062763 0.7841014
9 I9 0.7841014 1.0717236
10 I10 1.0717236 1.3567182
11 I11 1.3567182 2.3067477
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.28 0 0 0.17 0 0.11 0.11 0.11 0 0.11 0.11
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2205 0.813
q(x2,x1) 0.2905 0.231
max.dependence 0.2905 0.385
a p.values
asymmetry -0.07 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-oldrel-windows-x86_64