- using R Under development (unstable) (2025-02-26 r87830)
- using platform: x86_64-pc-linux-gnu
- R was compiled by
gcc-14 (Debian 14.2.0-16) 14.2.0
GNU Fortran (Debian 14.2.0-16) 14.2.0
- running under: Debian GNU/Linux trixie/sid
- using session charset: UTF-8
- checking for file ‘clinDataReview/DESCRIPTION’ ... OK
- checking extension type ... Package
- this is package ‘clinDataReview’ version ‘1.6.1’
- 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 ‘clinDataReview’ can be installed ... OK
See the install log for details.
- 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 ... [1s/3s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/2s] OK
- checking whether the package can be unloaded cleanly ... [1s/1s] OK
- checking whether the namespace can be loaded with stated dependencies ... [1s/1s] OK
- checking whether the namespace can be unloaded cleanly ... [1s/2s] OK
- checking loading without being on the library search path ... [1s/2s] OK
- checking whether startup messages can be suppressed ... [1s/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 ... [13s/18s] OK
- checking Rd files ... [1s/1s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [9s/11s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [26s/34s] ERROR
Running ‘testthat.R’ [26s/33s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(clinDataReview)
>
> test_check("clinDataReview")
adding: report.html (deflated 63%)
adding: report_dependencies19bf562db3885/ (stored 0%)
adding: report_dependencies19bf562db3885/file19bf5651ecf34c.html (deflated 8%)
[ FAIL 6 | WARN 0 | SKIP 31 | PASS 509 ]
══ Skipped tests (31) ══════════════════════════════════════════════════════════
• On CRAN (31): 'test_knitPrint.R:35:2', 'test_knitPrint.R:76:2',
'test_knitPrint.R:129:2', 'test_knitPrint.R:182:2', 'test_knitPrint.R:228:2',
'test_knitPrint.R:290:2', 'test_render_clinDataReviewReport.R:371:2',
'test_render_clinDataReviewReport.R:414:2',
'test_render_clinDataReviewReport.R:452:2',
'test_render_clinDataReviewReport.R:497:2',
'test_render_clinDataReviewReport.R:561:2',
'test_render_clinDataReviewReport.R:633:2',
'test_render_clinDataReviewReport.R:700:2',
'test_render_clinDataReviewReport.R:758:2',
'test_render_clinDataReviewReport.R:816:2',
'test_render_clinDataReviewReport.R:874:2',
'test_render_clinDataReviewReport.R:1048:2',
'test_render_clinDataReviewReport.R:1119:3',
'test_render_clinDataReviewReport.R:1230:2',
'test_render_clinDataReviewReport.R:1371:3',
'test_render_clinDataReviewReport.R:1489:3', 'test_skeleton.R:92:2',
'test_skeleton.R:132:3', 'test_templates.R:53:2', 'test_templates.R:100:3',
'test_templates.R:162:2', 'test_templates.R:208:2', 'test_templates.R:255:2',
'test_templates.R:306:3', 'test_templates.R:369:2', 'test_templates.R:418:2'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test_annotateData.R:207:2'): Data is correctly annotated based on an exported dataset ──
Error in `tempdir(check)`: NA in coercion to Rboolean
Backtrace:
▆
1. └─base::tempdir("annotation") at test_annotateData.R:207:9
── Error ('test_annotateData.R:237:2'): Data is correctly annotated with a specified variable based on an exported dataset ──
Error in `tempdir(check)`: NA in coercion to Rboolean
Backtrace:
▆
1. └─base::tempdir("annotation") at test_annotateData.R:237:9
── Error ('test_annotateData.R:371:2'): Data is correctly annotated based on the preset 'demographics' option ──
Error in `tempdir(check)`: NA in coercion to Rboolean
Backtrace:
▆
1. └─base::tempdir("annotation") at test_annotateData.R:371:9
── Error ('test_annotateData.R:456:2'): Data is correctly annotated based on the preset 'exposed_subjects' option ──
Error in `tempdir(check)`: NA in coercion to Rboolean
Backtrace:
▆
1. └─base::tempdir("annotation") at test_annotateData.R:456:9
── Error ('test_annotateData.R:490:2'): An error is generated when annotating with the preset 'exposed_subjects' option, but this dataset does not contain a subject variable ──
Error in `tempdir(check)`: NA in coercion to Rboolean
Backtrace:
▆
1. └─base::tempdir("annotation") at test_annotateData.R:490:9
── Error ('test_annotateData.R:515:2'): An error is generated when annotating with the preset 'exposed_subjects' option, but this dataset does not contain a start time variable ──
Error in `tempdir(check)`: NA in coercion to Rboolean
Backtrace:
▆
1. └─base::tempdir("annotation") at test_annotateData.R:515:9
[ FAIL 6 | WARN 0 | SKIP 31 | PASS 509 ]
Error: Test failures
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [16s/24s] OK
- checking PDF version of manual ... [7s/8s] OK
- checking HTML version of manual ... [3s/6s] OK
- checking for non-standard things in the check directory ... OK
- DONE
Status: 1 ERROR