- 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 'MetaComp/DESCRIPTION' ... OK
- this is package 'MetaComp' version '1.1.2'
- 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 'MetaComp' can be installed ... OK
See the install log for details.
- checking installed package size ... OK
- checking package 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 ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [1s] OK
- checking whether the package can be unloaded cleanly ... [1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s] OK
- checking whether the namespace can be unloaded cleanly ... [2s] OK
- checking loading without being on the library search path ... [2s] 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 ... [5s] 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 LazyData ... NOTE
'LazyData' is specified without a 'data' directory
- checking examples ... [5s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [25s] ERROR
Running 'testthat.R' [24s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(MetaComp)
>
> test_check("MetaComp")
[1] "gottcha"
[1] "kraken"
Saving _problems/test_load_metaphlan_assignment-14.R
Saving _problems/test_pipeline-37.R
Saving _problems/test_plot_bwa_assignment-31.R
Saving _problems/test_plot_diamond_assignment-31.R
Saving _problems/test_plot_gottcha_assignment-31.R
Saving _problems/test_plot_kraken_assignment-31.R
Saving _problems/test_plot_merged_assignment_b-80.R
Saving _problems/test_plot_merged_assignment_d-80.R
Saving _problems/test_plot_merged_assignment_g-78.R
Saving _problems/test_plot_merged_assignment_g2-78.R
Saving _problems/test_plot_merged_assignment_k-80.R
Saving _problems/test_plot_merged_assignment_m-80.R
Saving _problems/test_plot_merged_assignment_p-81.R
Saving _problems/test_plot_metaphlan_assignment-31.R
Saving _problems/test_plot_pangia_assignment-31.R
[ FAIL 15 | WARN 21 | SKIP 0 | PASS 108 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_load_metaphlan_assignment.R:14:1'): (code run outside of `test_that()`) ──
Error in `matches("LEVEL")`: could not find function "matches"
Backtrace:
▆
1. └─testthat::expect_that(colnames(dat)[1], matches("LEVEL")) at test_load_metaphlan_assignment.R:14:1
── Error ('test_pipeline.R:37:1'): (code run outside of `test_that()`) ─────────
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(...) at test_pipeline.R:37:1
── Error ('test_plot_bwa_assignment.R:31:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_bwa_assignment.R:31:1
── Error ('test_plot_diamond_assignment.R:31:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_diamond_assignment.R:31:1
── Error ('test_plot_gottcha_assignment.R:31:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_gottcha_assignment.R:31:1
── Error ('test_plot_kraken_assignment.R:31:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_kraken_assignment.R:31:1
── Error ('test_plot_merged_assignment_b.R:80:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(...) at test_plot_merged_assignment_b.R:80:1
── Error ('test_plot_merged_assignment_d.R:80:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(...) at test_plot_merged_assignment_d.R:80:1
── Error ('test_plot_merged_assignment_g.R:78:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(...) at test_plot_merged_assignment_g.R:78:1
── Error ('test_plot_merged_assignment_g2.R:78:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(...) at test_plot_merged_assignment_g2.R:78:1
── Error ('test_plot_merged_assignment_k.R:80:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(...) at test_plot_merged_assignment_k.R:80:1
── Error ('test_plot_merged_assignment_m.R:80:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(...) at test_plot_merged_assignment_m.R:80:1
── Error ('test_plot_merged_assignment_p.R:81:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(...) at test_plot_merged_assignment_p.R:81:1
── Error ('test_plot_metaphlan_assignment.R:31:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_metaphlan_assignment.R:31:1
── Error ('test_plot_pangia_assignment.R:31:1'): (code run outside of `test_that()`) ──
Error in `is_true()`: could not find function "is_true"
Backtrace:
▆
1. └─testthat::expect_that(file.exists(png_name), is_true()) at test_plot_pangia_assignment.R:31:1
[ FAIL 15 | WARN 21 | SKIP 0 | PASS 108 ]
Error:
! Test failures.
Execution halted
- checking PDF version of manual ... [16s] OK
- checking HTML version of manual ... [1s] OK
- DONE
Status: 1 ERROR, 1 NOTE