- using R Under development (unstable) (2025-09-16 r88840)
- 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 ‘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 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 ‘EGM’ can be installed ... [13s/153s] OK
See the install log for details.
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... NOTE
Missing dependency on R >= 4.2.0 because package code uses the pipe
placeholder syntax added in R 4.2.0.
File(s) using such syntax:
‘ggm.R’ ‘wfdb-structures.R’
- 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 ... [3s/27s] OK
- checking whether the package can be loaded with stated dependencies ... [3s/15s] OK
- checking whether the package can be unloaded cleanly ... [3s/18s] OK
- checking whether the namespace can be loaded with stated dependencies ... [2s/23s] OK
- checking whether the namespace can be unloaded cleanly ... [3s/18s] OK
- checking loading without being on the library search path ... [3s/23s] OK
- checking whether startup messages can be suppressed ... [3s/14s] 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 ... [20s/166s] 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 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 ... [13s/81s] ERROR
Running ‘testthat.R’ [13s/79s]
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 ... [48s/538s] OK
- checking PDF version of manual ... [8s/63s] OK
- checking HTML version of manual ... [2s/27s] 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