* using log directory ‘/home/hornik/tmp/CRAN_special_noSuggests/viruslearner.Rcheck’ * using R Under development (unstable) (2024-11-05 r87288) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc-14 (Debian 14.2.0-1) 14.2.0 GNU Fortran (Debian 14.2.0-1) 14.2.0 * running under: Debian GNU/Linux trixie/sid * using session charset: UTF-8 * checking for file ‘viruslearner/DESCRIPTION’ ... OK * this is package ‘viruslearner’ version ‘1.0.0’ * package encoding: UTF-8 * checking CRAN incoming feasibility ... [4s/5s] NOTE Maintainer: ‘Juan Pablo Acuña González ’ New submission Package was archived on CRAN CRAN repository db overrides: X-CRAN-Comment: Archived on 2024-04-21 as issues were not corrected in time. * 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 ‘viruslearner’ can be installed ... [2s/2s] OK * 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 ... [0s/0s] OK * checking whether the package can be loaded with stated dependencies ... [0s/0s] OK * checking whether the package can be unloaded cleanly ... [0s/0s] OK * checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK * checking whether the namespace can be unloaded cleanly ... [0s/0s] OK * checking loading without being on the library search path ... [0s/0s] 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 ... [2s/2s] OK * checking Rd files ... [0s/0s] 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 ... [1s/1s] OK * checking LazyData ... OK * checking data for ASCII and uncompressed saves ... OK * checking installed files from ‘inst/doc’ ... OK * checking files in ‘vignettes’ ... OK * checking examples ... [0s/0s] OK * checking for unstated dependencies in ‘tests’ ... OK * checking tests ... [3s/3s] ERROR Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(viruslearner) > > test_check("viruslearner") Loading required namespace: baguette Failed with error: 'there is no package called 'baguette'' Loading required namespace: baguette Failed with error: 'there is no package called 'baguette'' [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-cd_ens.R:9:3'): `cd_ens()` works as expected ─────────────────── Error in `library(Cubist)`: there is no package called 'Cubist' Backtrace: ▆ 1. └─base::library(Cubist) at test-cd_ens.R:9:3 ── Error ('test-cd_fit.R:11:3'): `cd_fit()` works as expected ────────────────── Error in `stacks::fit_members(obj_mod1)`: The packages ranger, kernlab, and kknn need to be installed before fitting members. Backtrace: ▆ 1. ├─base::print(...) 2. └─viruslearner::cd_fit(...) 3. └─stacks::fit_members(obj_mod1) 4. └─stacks:::check_for_required_packages(model_stack) 5. └─stacks:::error_needs_install(pkgs, installed, call = caller_env()) 6. └─cli::cli_abort(...) 7. └─rlang::abort(...) ── Error ('test-cd_stack.R:2:3'): `cd_stack()` plots as expected ─────────────── Error in `library(baguette)`: there is no package called 'baguette' Backtrace: ▆ 1. └─base::library(baguette) at test-cd_stack.R:2:3 [ FAIL 3 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted * checking for unstated dependencies in vignettes ... OK * checking package vignettes ... OK * checking re-building of vignette outputs ... [0s/0s] OK * checking PDF version of manual ... [3s/3s] OK * checking HTML version of manual ... [0s/0s] OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR, 1 NOTE