- using R Under development (unstable) (2025-09-14 r88832)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)
- running under: Fedora Linux 42 (Workstation Edition)
- using session charset: UTF-8
- using option ‘--no-stop-on-test-error’
- 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 executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘qad’ can be installed ... [41s/48s] OK
See the install log for details.
- used C++ compiler: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
- 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 ... OK
- checking whether the package can be loaded with stated dependencies ... OK
- checking whether the package can be unloaded cleanly ... OK
- checking whether the namespace can be loaded with stated dependencies ... OK
- checking whether the namespace can be unloaded cleanly ... OK
- checking loading without being on the library search path ... 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 ... [34s/36s] OK
- checking Rd files ... 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 ... 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 ... [28s/28s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [20s/20s] ERROR
Running ‘testthat.R’ [19s/20s]
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.09141248 -0.01092304
2 I2 -0.01092304 0.01880228
3 I3 0.01880228 0.04353646
4 I4 0.04353646 0.08261103
5 I5 0.08261103 0.10894121
6 I6 0.10894121 0.15127343
7 I7 0.15127343 0.20809888
8 I8 0.20809888 0.27823100
9 I9 0.27823100 0.33869680
10 I10 0.33869680 0.39083725
11 I11 0.39083725 0.48536497
12 I12 0.48536497 0.64192771
13 I13 0.64192771 0.75166161
14 I14 0.75166161 0.87739063
15 I15 0.87739063 1.05324011
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.08 0.18 0.22 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.06 0.06 0.18 0.34 0.24 0.12 0 0 0 0 0 0
x1=-0.5 0.00 0.00 0.00 0.04 0.00 0.18 0.22 0.26 0.30 0 0 0 0 0 0
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -1.94603679 -1.31396921
2 I2 -1.31396921 -1.10572713
3 I3 -1.10572713 -0.82398527
4 I4 -0.82398527 -0.35752012
5 I5 -0.35752012 -0.13642464
6 I6 -0.13642464 0.02299288
7 I7 0.02299288 0.18344758
8 I8 0.18344758 0.43302102
9 I9 0.43302102 0.91738887
10 I10 0.91738887 1.62629558
11 I11 1.62629558 2.82674031
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 0.22 0.16 0.06 0.12 0 0.11 0.11 2.220446e-16
Intervalls for the variable x2
Interval lowerBound upperBound
1 I1 -2.13133527 -1.38767424
2 I2 -1.38767424 -1.01715596
3 I3 -1.01715596 -0.60958186
4 I4 -0.60958186 -0.32730896
5 I5 -0.32730896 -0.18969012
6 I6 -0.18969012 0.02039676
7 I7 0.02039676 0.40786451
8 I8 0.40786451 0.59293426
9 I9 0.59293426 0.93529356
10 I10 0.93529356 1.49235357
11 I11 1.49235357 2.94888195
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.17 0.22 0.11 0.11 1.110223e-16 0.11 0 0.05 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.2880 0.241
q(x2,x1) 0.1935 0.956
max.dependence 0.2880 0.391
a p.values
asymmetry 0.0945 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 ... [46s/48s] OK
- checking PDF version of manual ... OK
- checking HTML version of manual ... OK
- checking for non-standard things in the check directory ... OK
- checking for detritus in the temp directory ... OK
- DONE
Status: 1 ERROR