Last updated on 2025-09-15 01:49:06 CEST.
Package | ERROR | OK |
---|---|---|
ChaosGame | 13 | |
dynRB | 13 | |
qad | 6 | 7 |
qmd | 13 |
Current CRAN status: OK: 13
Current CRAN status: OK: 13
Current CRAN status: ERROR: 6, OK: 7
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.09329042 -0.03519623
2 I2 -0.03519623 0.01025445
3 I3 0.01025445 0.03969506
4 I4 0.03969506 0.07906580
5 I5 0.07906580 0.11688523
6 I6 0.11688523 0.15227765
7 I7 0.15227765 0.22023588
8 I8 0.22023588 0.30103700
9 I9 0.30103700 0.38543898
10 I10 0.38543898 0.47462218
11 I11 0.47462218 0.52256783
12 I12 0.52256783 0.60952449
13 I13 0.60952449 0.71645753
14 I14 0.71645753 0.83793777
15 I15 0.83793777 1.05270072
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.26 0.14 0 0.24 0.00 0.00 0.00 0.00 0 0 0 0 0 0
x1=0.5 0.00 0.00 0.00 0 0.00 0.08 0.30 0.32 0.30 0 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0 0.10 0.18 0.34 0.26 0.12 0 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.82573952 -1.30901945
2 I2 -1.30901945 -0.82056035
3 I3 -0.82056035 -0.55149419
4 I4 -0.55149419 -0.37662383
5 I5 -0.37662383 -0.13830187
6 I6 -0.13830187 0.06013046
7 I7 0.06013046 0.19163523
8 I8 0.19163523 0.42956248
9 I9 0.42956248 0.82136729
10 I10 0.82136729 1.20025303
11 I11 1.20025303 2.21278299
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.17 0.11 0 0.11 0.22 0.06 0 0 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.73819060 -1.37964986
2 I2 -1.37964986 -0.91877611
3 I3 -0.91877611 -0.51444065
4 I4 -0.51444065 -0.20217846
5 I5 -0.20217846 0.02700989
6 I6 0.02700989 0.31829655
7 I7 0.31829655 0.51451630
8 I8 0.51451630 0.73805763
9 I9 0.73805763 0.87907752
10 I10 0.87907752 1.28897636
11 I11 1.28897636 2.44581330
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.08 0.2 0 0.33 0.11 0.03818182 0.02181818 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.2875 0.244
q(x2,x1) 0.2980 0.162
max.dependence 0.2980 0.295
a p.values
asymmetry -0.0105 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/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.09387297 -0.02441549
2 I2 -0.02441549 0.01902202
3 I3 0.01902202 0.03592859
4 I4 0.03592859 0.06314591
5 I5 0.06314591 0.09615637
6 I6 0.09615637 0.12162848
7 I7 0.12162848 0.17116559
8 I8 0.17116559 0.25883253
9 I9 0.25883253 0.33179358
10 I10 0.33179358 0.45516701
11 I11 0.45516701 0.53388548
12 I12 0.53388548 0.60541349
13 I13 0.60541349 0.73035552
14 I14 0.73035552 0.88774374
15 I15 0.88774374 1.05394956
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.32 0.26 0.16 0.12 0.12 0.02 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.00 0.00 0.28 0.36 0.36 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.00 0.06 0.36 0.30 0.22 0.06 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.58505434 -1.12934054
2 I2 -1.12934054 -0.70446982
3 I3 -0.70446982 -0.56821848
4 I4 -0.56821848 -0.32059328
5 I5 -0.32059328 -0.08619893
6 I6 -0.08619893 0.04128450
7 I7 0.04128450 0.26052344
8 I8 0.26052344 0.40181036
9 I9 0.40181036 0.87521717
10 I10 0.87521717 1.21256046
11 I11 1.21256046 2.24526087
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.1327273 0.02727273 0.22 0.11 0 0.18 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.90581780 -1.33514702
2 I2 -1.33514702 -0.97891787
3 I3 -0.97891787 -0.53530223
4 I4 -0.53530223 -0.30412991
5 I5 -0.30412991 -0.09695718
6 I6 -0.09695718 0.15320973
7 I7 0.15320973 0.45128329
8 I8 0.45128329 0.70010364
9 I9 0.70010364 0.88515421
10 I10 0.88515421 1.18048804
11 I11 1.18048804 2.07969827
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.11 0 0.28 0.11 0.06 0 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.2490 0.574
q(x2,x1) 0.2625 0.467
max.dependence 0.2625 0.650
a p.values
asymmetry -0.0135 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/29s]
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.09163235 -0.02372137
2 I2 -0.02372137 0.02799197
3 I3 0.02799197 0.05886156
4 I4 0.05886156 0.10068454
5 I5 0.10068454 0.14699435
6 I6 0.14699435 0.20895072
7 I7 0.20895072 0.26269807
8 I8 0.26269807 0.32390871
9 I9 0.32390871 0.39164811
10 I10 0.39164811 0.46022719
11 I11 0.46022719 0.54145159
12 I12 0.54145159 0.59711763
13 I13 0.59711763 0.73189614
14 I14 0.73189614 0.81055537
15 I15 0.81055537 1.01329620
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.2 0.14 0.42 0.22 0.02 0.00 0.00 0.00 0.0 0.00 0 0 0 0 0
x1=0.5 0.0 0.00 0.00 0.00 0.00 0.04 0.18 0.36 0.3 0.12 0 0 0 0 0
x1=-0.5 0.0 0.00 0.00 0.06 0.14 0.42 0.14 0.14 0.1 0.00 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.19427037 -1.21525840
2 I2 -1.21525840 -0.72088062
3 I3 -0.72088062 -0.36928926
4 I4 -0.36928926 -0.09576129
5 I5 -0.09576129 0.12288373
6 I6 0.12288373 0.32501536
7 I7 0.32501536 0.54971075
8 I8 0.54971075 0.72875158
9 I9 0.72875158 1.01908632
10 I10 1.01908632 1.38341450
11 I11 1.38341450 2.32902192
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 0 0.15 0.07 0 0 0.11 0.33 0.1554545 0.1145455
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.61195973 -1.10832163
2 I2 -1.10832163 -0.77023262
3 I3 -0.77023262 -0.42923716
4 I4 -0.42923716 -0.06626596
5 I5 -0.06626596 0.07815227
6 I6 0.07815227 0.22931288
7 I7 0.22931288 0.37728073
8 I8 0.37728073 0.61795677
9 I9 0.61795677 0.85284383
10 I10 0.85284383 1.26854718
11 I11 1.26854718 1.81533343
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.11 0.11 0.22 0 0.11 0.17 0 0 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.3105 0.132
q(x2,x1) 0.1830 0.977
max.dependence 0.3105 0.226
a p.values
asymmetry 0.128 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’ [18s/24s]
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.09291133 -0.02184429
2 I2 -0.02184429 0.01654952
3 I3 0.01654952 0.04603224
4 I4 0.04603224 0.07919030
5 I5 0.07919030 0.10742619
6 I6 0.10742619 0.13817494
7 I7 0.13817494 0.17872172
8 I8 0.17872172 0.24884620
9 I9 0.24884620 0.30408865
10 I10 0.30408865 0.37163204
11 I11 0.37163204 0.45606718
12 I12 0.45606718 0.52910891
13 I13 0.52910891 0.70930691
14 I14 0.70930691 0.86710535
15 I15 0.86710535 1.04987250
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.18 0.18 0.06 0.24 0 0.00 0.00 0.00 0.00 0.00 0 0 0 0
x1=0.5 0.00 0.00 0.00 0.00 0.00 0 0.06 0.24 0.30 0.24 0.16 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.02 0.06 0 0.30 0.40 0.22 0.00 0.00 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.96092846 -1.23795726
2 I2 -1.23795726 -0.86502219
3 I3 -0.86502219 -0.56654027
4 I4 -0.56654027 -0.36848652
5 I5 -0.36848652 -0.05921146
6 I6 -0.05921146 0.12559851
7 I7 0.12559851 0.33442308
8 I8 0.33442308 0.59383638
9 I9 0.59383638 0.86597773
10 I10 0.86597773 1.18699642
11 I11 1.18699642 2.04323461
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11
x1=0 0.11 0.11 0.07 0.11 0.05 0.11 0.11 0.11 0.09 0.02 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.90523981 -1.71888415
2 I2 -1.71888415 -1.04032506
3 I3 -1.04032506 -0.78767527
4 I4 -0.78767527 -0.58775034
5 I5 -0.58775034 -0.18924882
6 I6 -0.18924882 0.03127693
7 I7 0.03127693 0.25134299
8 I8 0.25134299 0.54954792
9 I9 0.54954792 0.90177877
10 I10 0.90177877 1.22441580
11 I11 1.22441580 2.24580675
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.18 0.16 0.04 0.07 0.11 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.261 0.477
q(x2,x1) 0.273 0.380
max.dependence 0.273 0.571
a p.values
asymmetry -0.012 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’ [13s/18s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(qad)
>
> test_check("qad")
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 1 4
2 I2 4 16
3 I3 16 36
4 I4 36 64
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4
x1=1 1 0 0 0
x1=3 0 1 0 0
x1=5 0 0 1 0
x1=7 0 0 0 1
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -0.07610171 -0.02848786
2 I2 -0.02848786 0.02189328
3 I3 0.02189328 0.06691524
4 I4 0.06691524 0.09719896
5 I5 0.09719896 0.12496170
6 I6 0.12496170 0.17694210
7 I7 0.17694210 0.22822401
8 I8 0.22822401 0.26893668
9 I9 0.26893668 0.33818511
10 I10 0.33818511 0.44383877
11 I11 0.44383877 0.58830261
12 I12 0.58830261 0.71861759
13 I13 0.71861759 0.77401728
14 I14 0.77401728 0.90664943
15 I15 0.90664943 1.06136889
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.52 0.14 0.12 0.16 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.10 0.10 0.26 0.36 0.18 0.00 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.16 0.12 0.24 0.18 0.12 0.18 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.6759878 -1.6475385
2 I2 -1.6475385 -1.2449161
3 I3 -1.2449161 -0.7433823
4 I4 -0.7433823 -0.5406386
5 I5 -0.5406386 -0.2137443
6 I6 -0.2137443 0.0112017
7 I7 0.0112017 0.2353746
8 I8 0.2353746 0.6437570
9 I9 0.6437570 1.0196019
10 I10 1.0196019 1.3964220
11 I11 1.3964220 2.6222544
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 0.04 0.18 0 0 0.06 0.33 0.11 0.06
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.9061500 -1.0175952
2 I2 -1.0175952 -0.6660566
3 I3 -0.6660566 -0.3986291
4 I4 -0.3986291 -0.1428077
5 I5 -0.1428077 0.1567739
6 I6 0.1567739 0.3609870
7 I7 0.3609870 0.4829871
8 I8 0.4829871 0.7111824
9 I9 0.7111824 0.8628424
10 I10 0.8628424 1.2713902
11 I11 1.2713902 2.6226669
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.17 0 0 0 0.11 0 0.22 0.11 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.2385 0.688
q(x2,x1) 0.2280 0.781
max.dependence 0.2385 0.858
a p.values
asymmetry 0.0105 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' [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.09285586 -0.01508410
2 I2 -0.01508410 0.02291488
3 I3 0.02291488 0.04585926
4 I4 0.04585926 0.08155337
5 I5 0.08155337 0.11319433
6 I6 0.11319433 0.15329135
7 I7 0.15329135 0.24105009
8 I8 0.24105009 0.35393316
9 I9 0.35393316 0.40924969
10 I10 0.40924969 0.47818677
11 I11 0.47818677 0.59394477
12 I12 0.59394477 0.67615540
13 I13 0.67615540 0.80067449
14 I14 0.80067449 0.90354870
15 I15 0.90354870 1.06225700
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.12 0.36 0.22 0.02 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.24 0.28 0.24 0.12 0.12 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.14 0.18 0.22 0.38 0.08 0.00 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -3.6322302 -1.4879338
2 I2 -1.4879338 -1.1545845
3 I3 -1.1545845 -0.8460851
4 I4 -0.8460851 -0.4127982
5 I5 -0.4127982 -0.1010898
6 I6 -0.1010898 0.1208488
7 I7 0.1208488 0.4893903
8 I8 0.4893903 0.7428887
9 I9 0.7428887 0.9299751
10 I10 0.9299751 1.6091490
11 I11 1.6091490 2.4014020
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.06 0.11 0 0 0.11 0.11 0.22 0.22 0 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.84826239 -1.21747372
2 I2 -1.21747372 -0.71860309
3 I3 -0.71860309 -0.41185172
4 I4 -0.41185172 -0.21165928
5 I5 -0.21165928 0.04759095
6 I6 0.04759095 0.30111038
7 I7 0.30111038 0.38614401
8 I8 0.38614401 0.60281430
9 I9 0.60281430 0.86076008
10 I10 0.86076008 1.30015226
11 I11 1.30015226 1.81177326
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.1 0 0.11 0 0.11 0.22 0.11 0.07 0.11 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.2785 0.292
q(x2,x1) 0.2365 0.682
max.dependence 0.2785 0.453
a p.values
asymmetry 0.042 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
Current CRAN status: OK: 13