Last updated on 2025-09-24 20:48:42 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 | 302.92 | 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.67 | 156.11 | 177.78 | 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 | 214.00 | 249.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’ [20s/45s]
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.09109758 -0.01801989
2 I2 -0.01801989 0.02748018
3 I3 0.02748018 0.05899482
4 I4 0.05899482 0.07039824
5 I5 0.07039824 0.11117868
6 I6 0.11117868 0.15990790
7 I7 0.15990790 0.23148121
8 I8 0.23148121 0.31113934
9 I9 0.31113934 0.38827406
10 I10 0.38827406 0.47374281
11 I11 0.47374281 0.55637085
12 I12 0.55637085 0.62651133
13 I13 0.62651133 0.72760197
14 I14 0.72760197 0.87135251
15 I15 0.87135251 1.04007685
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.18 0.24 0.22 0.3 0.06 0 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.00 0 0.16 0.26 0.52 0.06 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.0 0.00 0 0.24 0.36 0.34 0.06 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.42131078 -1.37554852
2 I2 -1.37554852 -1.04586454
3 I3 -1.04586454 -0.65926429
4 I4 -0.65926429 -0.37681483
5 I5 -0.37681483 -0.20101343
6 I6 -0.20101343 0.04021492
7 I7 0.04021492 0.25050079
8 I8 0.25050079 0.51370533
9 I9 0.51370533 0.81940091
10 I10 0.81940091 1.17540189
11 I11 1.17540189 2.15802814
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.11 0 0 0.11 0.22 0 0 0.04363636 0.1063636 0.3 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.78277623 -1.53854937
2 I2 -1.53854937 -0.91924765
3 I3 -0.91924765 -0.62709076
4 I4 -0.62709076 -0.42856720
5 I5 -0.42856720 -0.09070199
6 I6 -0.09070199 0.06937003
7 I7 0.06937003 0.27744471
8 I8 0.27744471 0.55450683
9 I9 0.55450683 0.80824188
10 I10 0.80824188 1.15874846
11 I11 1.15874846 2.31040542
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 0.12 0.11 0.11 0 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.2115 0.859
q(x2,x1) 0.1920 0.961
max.dependence 0.2115 0.974
a p.values
asymmetry 0.0195 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/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.099231279 -0.038123532
2 I2 -0.038123532 -0.006487406
3 I3 -0.006487406 0.021932142
4 I4 0.021932142 0.049988095
5 I5 0.049988095 0.078320791
6 I6 0.078320791 0.101911102
7 I7 0.101911102 0.143111212
8 I8 0.143111212 0.216682742
9 I9 0.216682742 0.269014130
10 I10 0.269014130 0.340853423
11 I11 0.340853423 0.493514069
12 I12 0.493514069 0.591869259
13 I13 0.591869259 0.701079893
14 I14 0.701079893 0.862185677
15 I15 0.862185677 1.025787088
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.1 0.36 0.18 0 0.06 0.06 0.00 0.00 0.00 0.00 0.00 0 0 0
x1=0.5 0.00 0.0 0.00 0.00 0 0.00 0.00 0.12 0.24 0.24 0.34 0.06 0 0 0
x1=-0.5 0.00 0.0 0.00 0.00 0 0.06 0.00 0.18 0.34 0.40 0.02 0.00 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.08908187 -1.13306322
2 I2 -1.13306322 -0.92539949
3 I3 -0.92539949 -0.68116667
4 I4 -0.68116667 -0.37738928
5 I5 -0.37738928 -0.15728354
6 I6 -0.15728354 -0.04983687
7 I7 -0.04983687 0.12547840
8 I8 0.12547840 0.35387512
9 I9 0.35387512 0.62694095
10 I10 0.62694095 1.06676708
11 I11 1.06676708 2.68476925
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0 0.11 0.11 0.11 0.12 0.11 0 0 0 0.21 0.23
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.2657769 -1.2368465
2 I2 -1.2368465 -1.0440429
3 I3 -1.0440429 -0.6460527
4 I4 -0.6460527 -0.4359399
5 I5 -0.4359399 -0.1706246
6 I6 -0.1706246 0.1079978
7 I7 0.1079978 0.2464800
8 I8 0.2464800 0.5875414
9 I9 0.5875414 0.8966905
10 I10 0.8966905 1.5480425
11 I11 1.5480425 2.8007915
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.01 0.1 0 0 0 0.11 0.11 0.19 0.14 0.18 0.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.1965 0.921
q(x2,x1) 0.2205 0.812
max.dependence 0.2205 0.940
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-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' [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.098664399 -0.036994966
2 I2 -0.036994966 0.005668544
3 I3 0.005668544 0.052680424
4 I4 0.052680424 0.091953660
5 I5 0.091953660 0.141604451
6 I6 0.141604451 0.195627694
7 I7 0.195627694 0.235298965
8 I8 0.235298965 0.283515119
9 I9 0.283515119 0.363585234
10 I10 0.363585234 0.476656975
11 I11 0.476656975 0.540226418
12 I12 0.540226418 0.681384355
13 I13 0.681384355 0.769581441
14 I14 0.769581441 0.872696259
15 I15 0.872696259 0.989814914
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.14 0.18 0.08 0.06 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.06 0.24 0.22 0.24 0.06 0.18 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.00 0.06 0.06 0.28 0.42 0.18 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.24592579 -1.45662771
2 I2 -1.45662771 -1.07566579
3 I3 -1.07566579 -0.79511495
4 I4 -0.79511495 -0.60124283
5 I5 -0.60124283 -0.42697692
6 I6 -0.42697692 -0.15549778
7 I7 -0.15549778 0.05663157
8 I8 0.05663157 0.43730300
9 I9 0.43730300 0.72786699
10 I10 0.72786699 1.50032785
11 I11 1.50032785 2.91590568
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.23 0.16 0.11 0.11 0 0.11 0.11 0 0.11 0.06 1.110223e-16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -3.4872969 -1.2575585
2 I2 -1.2575585 -0.9294582
3 I3 -0.9294582 -0.5954415
4 I4 -0.5954415 -0.3522134
5 I5 -0.3522134 -0.1135095
6 I6 -0.1135095 0.1811014
7 I7 0.1811014 0.3307064
8 I8 0.3307064 0.5750210
9 I9 0.5750210 1.1307208
10 I10 1.1307208 1.4322579
11 I11 1.4322579 3.0549640
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.22 0.11 0 0.22 0.12 0 0.11 0 0
[1] "computation process..."
[1] "computation process: 2 / 3"
[1] "computation process: 3 / 3"
p.values are adjusted by using the method fdr
quantification of asymmetric dependencies:
Sample Size: 100
Number of unique ranks: x1: 100
x2: 100
(x1,x2): 100
Resolution: 10 x 10
Dependence measures:
q p.values
q(x1,x2) 0.307 0.135
q(x2,x1) 0.246 0.575
max.dependence 0.307 0.220
a p.values
asymmetry 0.061 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