- using R version 4.5.1 (2025-06-13 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.2.0
GNU Fortran (GCC) 14.2.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
- checking for file 'qad/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'qad' version '1.0.5'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'qad' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 14.2.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s] OK
- checking whether the package can be unloaded cleanly ... [4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [4s] OK
- checking loading without being on the library search path ... [4s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [10s] OK
- checking Rd files ... [1s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [16s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [9s] ERROR
Running 'testthat.R' [9s]
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.09290869 -0.02383969
2 I2 -0.02383969 0.01389381
3 I3 0.01389381 0.05878262
4 I4 0.05878262 0.08135623
5 I5 0.08135623 0.11599796
6 I6 0.11599796 0.15411358
7 I7 0.15411358 0.20912228
8 I8 0.20912228 0.24532943
9 I9 0.24532943 0.35166507
10 I10 0.35166507 0.43348684
11 I11 0.43348684 0.55992649
12 I12 0.55992649 0.71852016
13 I13 0.71852016 0.79876987
14 I14 0.79876987 0.92268199
15 I15 0.92268199 1.07920876
Probability that X2 given X1=x1 lies in the interval I_i :
I1 I2 I3 I4 I5 I6 I7 I8 I9 I10 I11 I12 I13 I14 I15
x1=0 0.24 0.3 0.24 0.12 0.1 0.00 0.00 0.00 0.00 0.0 0.00 0 0 0 0
x1=0.5 0.00 0.0 0.00 0.00 0.0 0.00 0.06 0.24 0.24 0.3 0.16 0 0 0 0
x1=-0.5 0.00 0.0 0.00 0.00 0.0 0.12 0.42 0.20 0.26 0.0 0.00 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -3.02758074 -1.45576711
2 I2 -1.45576711 -0.96799477
3 I3 -0.96799477 -0.49350596
4 I4 -0.49350596 -0.30173562
5 I5 -0.30173562 -0.11177978
6 I6 -0.11177978 0.05729745
7 I7 0.05729745 0.17463022
8 I8 0.17463022 0.41985001
9 I9 0.41985001 0.88402969
10 I10 0.88402969 1.27727079
11 I11 1.27727079 2.60960631
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.1154545 0.05454545 0 0 0.17 0.22 0.11 0 0 0.22 0.11
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.99922140 -1.10786857
2 I2 -1.10786857 -0.70852030
3 I3 -0.70852030 -0.47015751
4 I4 -0.47015751 -0.21308577
5 I5 -0.21308577 0.03380037
6 I6 0.03380037 0.13924611
7 I7 0.13924611 0.31561646
8 I8 0.31561646 0.53578771
9 I9 0.53578771 1.02267775
10 I10 1.02267775 1.22554838
11 I11 1.22554838 2.78308599
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.12 0.12 0.09 0 0.06 0.11 0 0.08 0.25 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.2310 0.729
q(x2,x1) 0.2685 0.380
max.dependence 0.2685 0.595
a p.values
asymmetry -0.0375 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
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [15s] OK
- checking PDF version of manual ... [21s] OK
- checking HTML version of manual ... [3s] OK
- DONE
Status: 1 ERROR