* using log directory 'd:/Rcompile/CRANpkg/local/4.4/qad.Rcheck' * using R version 4.4.3 (2025-02-28 ucrt) * using platform: x86_64-w64-mingw32 * R was compiled by gcc.exe (GCC) 13.3.0 GNU Fortran (GCC) 13.3.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 * used C++ compiler: 'g++.exe (GCC) 13.3.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 ... [5s] OK * checking whether the package can be loaded with stated dependencies ... [5s] OK * checking whether the package can be unloaded cleanly ... [4s] OK * checking whether the namespace can be loaded with stated dependencies ... [5s] OK * checking whether the namespace can be unloaded cleanly ... [5s] OK * checking loading without being on the library search path ... [5s] 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 ... [14s] 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 ... [22s] OK * checking for unstated dependencies in 'tests' ... OK * checking tests ... [15s] 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 * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [19s] OK * checking PDF version of manual ... [16s] OK * checking HTML version of manual ... [3s] OK * DONE Status: 1 ERROR