- 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 'EGM/DESCRIPTION' ... OK
- this is package 'EGM' version '0.1.0'
- 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 'EGM' can be installed ... OK
See the install log for details.
- 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 ... [2s] OK
- checking whether the package can be loaded with stated dependencies ... [2s] OK
- checking whether the package can be unloaded cleanly ... [2s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s] OK
- checking whether the namespace can be unloaded cleanly ... [3s] OK
- checking loading without being on the library search path ... [2s] OK
- checking whether startup messages can be suppressed ... [3s] 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 ... [9s] 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 R/sysdata.rda ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... NONE
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [9s] ERROR
Running 'testthat.R' [9s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(EGM)
Loading required package: vctrs
Loading required package: data.table
> EGM::set_wfdb_path("/usr/local/bin")
>
> test_check("EGM")
[ FAIL 1 | WARN 9 | SKIP 19 | PASS 43 ]
══ Skipped tests (19) ══════════════════════════════════════════════════════════
• On CRAN (17): 'test-annotation-table.R:3:2', 'test-egm.R:62:2',
'test-ggm.R:31:2', 'test-segmentation.R:3:2', 'test-segmentation.R:32:2',
'test-segmentation.R:82:2', 'test-segmentation.R:102:2',
'test-wfdb-annotation.R:3:2', 'test-wfdb-annotation.R:23:2',
'test-wfdb-annotation.R:43:2', 'test-wfdb-io.R:5:2', 'test-wfdb-io.R:27:2',
'test-wfdb-io.R:61:2', 'test-wfdb-io.R:160:2', 'test-wfdb-io.R:199:2',
'test-wfdb-structures.R:3:2', 'test-wfdb-utils.R:3:2'
• Skipping (1): 'test-segmentation.R:22:2'
• empty test (1): 'test-ggm.R:77:1'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-ggm.R:63:2'): theming works ──────────────────────────────────
g$labels$x (`actual`) not equal to "sample" (`expected`).
`actual` is NULL
`expected` is a character vector ('sample')
[ FAIL 1 | WARN 9 | SKIP 19 | PASS 43 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [21s] OK
- checking PDF version of manual ... [20s] OK
- checking HTML version of manual ... [4s] OK
- DONE
Status: 1 ERROR