Last updated on 2025-09-25 10:49:59 CEST.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 1.0.5 | 23.62 | 169.13 | 192.75 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 1.0.5 | 17.55 | 120.00 | 137.55 | 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 | 26.00 | 151.00 | 177.00 | OK | |
r-patched-linux-x86_64 | 1.0.5 | 21.70 | 153.49 | 175.19 | ERROR | |
r-release-linux-x86_64 | 1.0.5 | 20.34 | 155.58 | 175.92 | ERROR | |
r-release-macos-arm64 | 1.0.5 | 102.00 | OK | |||
r-release-macos-x86_64 | 1.0.5 | 142.00 | OK | |||
r-release-windows-x86_64 | 1.0.5 | 31.00 | 166.00 | 197.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 | 35.00 | 216.00 | 251.00 | ERROR |
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [13s/19s]
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.09275919 -0.02163056
2 I2 -0.02163056 0.01619979
3 I3 0.01619979 0.05347602
4 I4 0.05347602 0.07981020
5 I5 0.07981020 0.13787776
6 I6 0.13787776 0.17125786
7 I7 0.17125786 0.24133537
8 I8 0.24133537 0.31382308
9 I9 0.31382308 0.37833057
10 I10 0.37833057 0.48457375
11 I11 0.48457375 0.58526534
12 I12 0.58526534 0.68863901
13 I13 0.68863901 0.77671557
14 I14 0.77671557 0.86673531
15 I15 0.86673531 1.05089519
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.36 0.08 0.2 0.24 0.12 0.00 0.00 0.00 0.00 0 0 0 0 0 0
x1=0.5 0.00 0.00 0.0 0.08 0.12 0.36 0.18 0.14 0.12 0 0 0 0 0 0
x1=-0.5 0.00 0.00 0.0 0.00 0.00 0.06 0.28 0.30 0.36 0 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.30546499 -1.26314065
2 I2 -1.26314065 -0.73467226
3 I3 -0.73467226 -0.46370709
4 I4 -0.46370709 -0.23765103
5 I5 -0.23765103 -0.08942171
6 I6 -0.08942171 0.10449248
7 I7 0.10449248 0.33910042
8 I8 0.33910042 0.67689087
9 I9 0.67689087 0.95201731
10 I10 0.95201731 1.43034380
11 I11 1.43034380 2.69691521
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.22 0 0.22 0 1.110223e-16 0.11 0 0 0.34 4.440892e-16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.18992994 -1.09115819
2 I2 -1.09115819 -0.64771414
3 I3 -0.64771414 -0.51117448
4 I4 -0.51117448 -0.26343268
5 I5 -0.26343268 0.02349484
6 I6 0.02349484 0.32661665
7 I7 0.32661665 0.55962541
8 I8 0.55962541 1.01698183
9 I9 1.01698183 1.23669101
10 I10 1.23669101 1.64692906
11 I11 1.64692906 3.32730099
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.17 0.11 0.22 0.11 0 0 0.09 0.02 0.17
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2080 0.880
q(x2,x1) 0.2665 0.427
max.dependence 0.2665 0.622
a p.values
asymmetry -0.0585 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/13s]
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.096819775 -0.039196806
2 I2 -0.039196806 -0.003003372
3 I3 -0.003003372 0.028124222
4 I4 0.028124222 0.062257868
5 I5 0.062257868 0.108740914
6 I6 0.108740914 0.158711250
7 I7 0.158711250 0.193262181
8 I8 0.193262181 0.252983863
9 I9 0.252983863 0.316751470
10 I10 0.316751470 0.416029611
11 I11 0.416029611 0.540566861
12 I12 0.540566861 0.622075019
13 I13 0.622075019 0.721526389
14 I14 0.721526389 0.857323866
15 I15 0.857323866 1.017431702
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.06 0.06 0.24 0.1 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.0 0.32 0.14 0.38 0.1 0.06 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.0 0.06 0.12 0.12 0.3 0.40 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.26368064 -1.32637132
2 I2 -1.32637132 -0.86924589
3 I3 -0.86924589 -0.69595459
4 I4 -0.69595459 -0.33758781
5 I5 -0.33758781 -0.03546684
6 I6 -0.03546684 0.12037095
7 I7 0.12037095 0.35059582
8 I8 0.35059582 0.52685054
9 I9 0.52685054 0.88967405
10 I10 0.88967405 1.50862279
11 I11 1.50862279 2.54181034
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.18 0.11 0 0.11 0.05 0.22 0.11 0 0.22
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.1981001 -1.2689550
2 I2 -1.2689550 -0.7807273
3 I3 -0.7807273 -0.6394235
4 I4 -0.6394235 -0.4273358
5 I5 -0.4273358 -0.1046842
6 I6 -0.1046842 0.1650059
7 I7 0.1650059 0.3736015
8 I8 0.3736015 0.5431415
9 I9 0.5431415 0.7292755
10 I10 0.7292755 1.2219018
11 I11 1.2219018 2.0540413
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.07 0 0 0.16 0.17 0.12 0.15 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.2220 0.784
q(x2,x1) 0.3345 0.046
max.dependence 0.3345 0.081
a p.values
asymmetry -0.113 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’ [12s/17s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.08580946 -0.02467170
2 I2 -0.02467170 0.02328497
3 I3 0.02328497 0.04966629
4 I4 0.04966629 0.08180995
5 I5 0.08180995 0.11600100
6 I6 0.11600100 0.16029138
7 I7 0.16029138 0.21806058
8 I8 0.21806058 0.26834768
9 I9 0.26834768 0.32482643
10 I10 0.32482643 0.43895365
11 I11 0.43895365 0.54537323
12 I12 0.54537323 0.59188398
13 I13 0.59188398 0.69662922
14 I14 0.69662922 0.87657646
15 I15 0.87657646 1.01281226
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.16 0.24 0.06 0.42 0.12 0.00 0.00 0.00 0.00 0.00 0 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.00 0.18 0.34 0.30 0.18 0.00 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.00 0.00 0.10 0.18 0.36 0.36 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.80595705 -1.20919503
2 I2 -1.20919503 -0.92715152
3 I3 -0.92715152 -0.55828763
4 I4 -0.55828763 -0.39293744
5 I5 -0.39293744 -0.17789657
6 I6 -0.17789657 -0.04675784
7 I7 -0.04675784 0.22327001
8 I8 0.22327001 0.38627803
9 I9 0.38627803 0.64991321
10 I10 0.64991321 1.31313990
11 I11 1.31313990 2.20781050
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.07 0.11 0 0 0.22 0 0 0.11 0.16 0.22 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.0844515 -1.3350287
2 I2 -1.3350287 -0.7508031
3 I3 -0.7508031 -0.4182301
4 I4 -0.4182301 -0.2349027
5 I5 -0.2349027 -0.1387400
6 I6 -0.1387400 0.1141390
7 I7 0.1141390 0.3192492
8 I8 0.3192492 0.5672797
9 I9 0.5672797 0.7106835
10 I10 0.7106835 1.1833982
11 I11 1.1833982 2.3897308
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0 0.11 0.22 0.11 0.06 0.11 0.28 0.11 0 0
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2160 0.859
q(x2,x1) 0.2175 0.844
max.dependence 0.2175 0.967
a p.values
asymmetry -0.0015 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-patched-linux-x86_64
Version: 1.0.5
Check: tests
Result: ERROR
Running ‘testthat.R’ [11s/14s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.09496185 -0.01806348
2 I2 -0.01806348 0.03204058
3 I3 0.03204058 0.06374143
4 I4 0.06374143 0.09173616
5 I5 0.09173616 0.12726967
6 I6 0.12726967 0.17702897
7 I7 0.17702897 0.23494959
8 I8 0.23494959 0.29676423
9 I9 0.29676423 0.34180038
10 I10 0.34180038 0.43803600
11 I11 0.43803600 0.53875527
12 I12 0.53875527 0.64303565
13 I13 0.64303565 0.76357389
14 I14 0.76357389 0.85532452
15 I15 0.85532452 1.07019855
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.34 0.3 0.12 0.06 0.18 0.00 0.00 0.00 0.0 0.00 0 0 0 0 0
x1=0.5 0.00 0.0 0.00 0.00 0.00 0.06 0.06 0.40 0.3 0.18 0 0 0 0 0
x1=-0.5 0.00 0.0 0.00 0.00 0.00 0.00 0.12 0.44 0.2 0.24 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.96503327 -1.07240925
2 I2 -1.07240925 -0.85110238
3 I3 -0.85110238 -0.64052596
4 I4 -0.64052596 -0.32915192
5 I5 -0.32915192 -0.06554498
6 I6 -0.06554498 0.27230617
7 I7 0.27230617 0.42955700
8 I8 0.42955700 0.59992192
9 I9 0.59992192 0.81337749
10 I10 0.81337749 1.17335200
11 I11 1.17335200 3.01560939
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.07 0 0 0.16 2.220446e-16 0.18 0.15 0.11 0.22 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.9716103 -1.2346283
2 I2 -1.2346283 -0.8587160
3 I3 -0.8587160 -0.5880083
4 I4 -0.5880083 -0.4603294
5 I5 -0.4603294 -0.1243106
6 I6 -0.1243106 0.1059317
7 I7 0.1059317 0.3204438
8 I8 0.3204438 0.5385231
9 I9 0.5385231 0.7231481
10 I10 0.7231481 1.1091607
11 I11 1.1091607 2.6691823
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.22 0.06 0.33 0.11 1.110223e-16 0.11 0 0 0 0.17
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.2955 0.194
q(x2,x1) 0.2400 0.652
max.dependence 0.2955 0.312
a p.values
asymmetry 0.0555 NA
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-predict.R:42:3'): plot is returned by prediction ─────────────
class(pred[[2]]) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:79:3'): heatmap.qad ────────────────────────────────────
class(qad::heatmap.qad(pw_fit, select = "dependence")) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-qad.R:80:3'): heatmap.qad ────────────────────────────────────
class(...) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:24:3'): plot.qad ──────────────────────────
class(plot(fit)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:25:3'): plot.qad ──────────────────────────
class(plot(fit, addSample = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:26:3'): plot.qad ──────────────────────────
class(plot(fit, copula = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:27:3'): plot.qad ──────────────────────────
class(plot(fit, density = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:28:3'): plot.qad ──────────────────────────
class(plot(fit, margins = TRUE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:29:3'): plot.qad ──────────────────────────
class(plot(fit, panel.grid = FALSE)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
── Failure ('test-utilityfunctions.R:33:3'): plot_density ──────────────────────
class(plot_density(fit$mass_matrix)) (`actual`) not equal to c("gg", "ggplot") (`expected`).
`actual`: "ggplot2::ggplot" "ggplot" "ggplot2::gg" "S7_object" "gg"
`expected[2:2]`: "ggplot"
[ FAIL 10 | WARN 26 | SKIP 0 | PASS 71 ]
Error: Test failures
Execution halted
Flavor: r-release-linux-x86_64
Version: 1.0.5
Check: tests
Result: ERROR
Running 'testthat.R' [10s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.08509552 -0.03504373
2 I2 -0.03504373 0.01046204
3 I3 0.01046204 0.05151058
4 I4 0.05151058 0.09940918
5 I5 0.09940918 0.13959563
6 I6 0.13959563 0.19836018
7 I7 0.19836018 0.29961556
8 I8 0.29961556 0.36576051
9 I9 0.36576051 0.42475017
10 I10 0.42475017 0.51242735
11 I11 0.51242735 0.57947789
12 I12 0.57947789 0.66586640
13 I13 0.66586640 0.78563936
14 I14 0.78563936 0.89350614
15 I15 0.89350614 1.07340219
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.24 0.06 0.24 0.00 0.0 0.00 0.00 0.00 0 0 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.14 0.3 0.36 0.16 0.04 0 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.12 0.20 0.3 0.30 0.08 0.00 0 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.60298455 -1.34699096
2 I2 -1.34699096 -0.72933283
3 I3 -0.72933283 -0.48748113
4 I4 -0.48748113 -0.09389339
5 I5 -0.09389339 0.03675442
6 I6 0.03675442 0.20919173
7 I7 0.20919173 0.44627856
8 I8 0.44627856 0.63173592
9 I9 0.63173592 0.75910881
10 I10 0.75910881 1.06178321
11 I11 1.06178321 2.41573800
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.17 0 0 0.11 0.22 0 0.06
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.98010317 -1.36899564
2 I2 -1.36899564 -0.91065943
3 I3 -0.91065943 -0.58283340
4 I4 -0.58283340 -0.39718658
5 I5 -0.39718658 -0.24921748
6 I6 -0.24921748 0.01298235
7 I7 0.01298235 0.22093660
8 I8 0.22093660 0.47123391
9 I9 0.47123391 0.79762541
10 I10 0.79762541 1.18112928
11 I11 1.18112928 2.48573035
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.08 0.2 0 0.22 0.17 0.22 0 0 0.1 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.2220 0.792
q(x2,x1) 0.2865 0.251
max.dependence 0.2865 0.416
a p.values
asymmetry -0.0645 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.08619720 -0.01959476
2 I2 -0.01959476 0.02579474
3 I3 0.02579474 0.05385573
4 I4 0.05385573 0.08449116
5 I5 0.08449116 0.11948834
6 I6 0.11948834 0.15560525
7 I7 0.15560525 0.20495341
8 I8 0.20495341 0.29220875
9 I9 0.29220875 0.36788426
10 I10 0.36788426 0.45106214
11 I11 0.45106214 0.55082653
12 I12 0.55082653 0.62823730
13 I13 0.62823730 0.77859571
14 I14 0.77859571 0.85287493
15 I15 0.85287493 1.08125517
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.3 0.26 0.2 0.18 0.06000000 0.0000000 0.00 0.00 0.00 0.00 0.00 0 0
x1=0.5 0.0 0.00 0.0 0.00 0.01333333 0.1466667 0.28 0.20 0.24 0.12 0.00 0 0
x1=-0.5 0.0 0.00 0.0 0.00 0.00000000 0.0400000 0.18 0.14 0.40 0.22 0.02 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.681881476 -0.970125999
2 I2 -0.970125999 -0.782539493
3 I3 -0.782539493 -0.551942027
4 I4 -0.551942027 -0.293447183
5 I5 -0.293447183 0.008251404
6 I6 0.008251404 0.156347721
7 I7 0.156347721 0.321317385
8 I8 0.321317385 0.493394725
9 I9 0.493394725 0.801155343
10 I10 0.801155343 1.608968798
11 I11 1.608968798 2.572558725
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.06 0 0.11 0.11 0.12 0.16 0 0.2 0.24 2.220446e-16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.5939930 -1.3560141
2 I2 -1.3560141 -0.8757128
3 I3 -0.8757128 -0.5718698
4 I4 -0.5718698 -0.3040164
5 I5 -0.3040164 -0.1262069
6 I6 -0.1262069 0.1055367
7 I7 0.1055367 0.3174182
8 I8 0.3174182 0.4610993
9 I9 0.4610993 0.7867907
10 I10 0.7867907 1.2701532
11 I11 1.2701532 2.3435862
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 0.05 0 0.11 0.18 0 0 0.11 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.2505 0.542
q(x2,x1) 0.2580 0.510
max.dependence 0.2580 0.697
a p.values
asymmetry -0.0075 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