- using R Under development (unstable) (2025-09-11 r88813)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-15 (Debian 15.2.0-3) 15.2.0
GNU Fortran (Debian 15.2.0-3) 15.2.0
- running under: Debian GNU/Linux forky/sid
- 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 CRAN incoming feasibility ... [1s/2s] OK
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking serialization versions ... OK
- checking whether package ‘qad’ can be installed ... OK
See the install log for details.
- used C++ compiler: ‘g++-15 (Debian 15.2.0-3) 15.2.0’
- checking package directory ... OK
- checking for future file timestamps ... 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 ... [3s/4s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the package can be unloaded cleanly ... [3s/4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s/4s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/5s] OK
- checking loading without being on the library search path ... [3s/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 ... [16s/19s] OK
- checking Rd files ... [0s/1s] OK
- checking Rd metadata ... OK
- checking Rd line widths ... 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/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 compilation flags used ... OK
- checking compiled code ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [11s/11s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [8s/9s] ERROR
Running ‘testthat.R’ [8s/8s]
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.09015981 -0.01352697
2 I2 -0.01352697 0.01388808
3 I3 0.01388808 0.05604803
4 I4 0.05604803 0.08410505
5 I5 0.08410505 0.11385116
6 I6 0.11385116 0.15525290
7 I7 0.15525290 0.21756788
8 I8 0.21756788 0.32294093
9 I9 0.32294093 0.39190318
10 I10 0.39190318 0.48953942
11 I11 0.48953942 0.56175485
12 I12 0.56175485 0.64091863
13 I13 0.64091863 0.78568619
14 I14 0.78568619 0.88213446
15 I15 0.88213446 1.08435494
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.24 0.06 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.12 0.00 0.18 0.36 0.34 0.00 0.00 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.00 0.02 0.14 0.18 0.26 0.22 0.18 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.67429510 -1.19480687
2 I2 -1.19480687 -0.89673655
3 I3 -0.89673655 -0.53497163
4 I4 -0.53497163 -0.21349907
5 I5 -0.21349907 0.02817516
6 I6 0.02817516 0.26542519
7 I7 0.26542519 0.55641839
8 I8 0.55641839 0.78624952
9 I9 0.78624952 1.03500105
10 I10 1.03500105 1.43781542
11 I11 1.43781542 2.61960075
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.32 0.11 0 0 0.11 0 0.17 0.11 0.17 2.220446e-16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.12021502 -0.89560883
2 I2 -0.89560883 -0.55626601
3 I3 -0.55626601 -0.30491661
4 I4 -0.30491661 -0.05399457
5 I5 -0.05399457 0.05396958
6 I6 0.05396958 0.17866989
7 I7 0.17866989 0.37564891
8 I8 0.37564891 0.62994558
9 I9 0.62994558 1.00211887
10 I10 1.00211887 1.30005847
11 I11 1.30005847 3.02331773
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.11 0 0.2472727 0.03272727 0.22 0 0.11 0.11 0.06
[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.3465 0.024
q(x2,x1) 0.2490 0.566
max.dependence 0.3465 0.053
a p.values
asymmetry 0.0975 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 ... [16s/27s] OK
- checking PDF version of manual ... [5s/8s] OK
- checking HTML version of manual ... [1s/1s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR