- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘ivdtools/DESCRIPTION’ ... OK
- this is package ‘ivdtools’ version ‘0.1.2’
- 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 ‘ivdtools’ can be installed ... [5s/6s] 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 ... [1s/1s] OK
- checking whether the package can be loaded with stated dependencies ... [1s/1s] 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/1s] OK
- checking loading without being on the library search path ... [1s/1s] 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 ... [6s/6s] OK
- checking Rd files ... [0s/0s] 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 installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [12s/12s] OK
- checking for unstated dependencies in ‘tests’ ... OK
- checking tests ... [7s/8s] ERROR
Running ‘testthat.R’ [7s/8s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(ivdtools)
Attaching package: 'ivdtools'
The following object is masked from 'package:testthat':
describe
The following object is masked from 'package:stats':
profile
The following object is masked from 'package:base':
kappa
>
> test_check("ivdtools")
Correlation
Method: pearson
r = 0.9999, 95% CI [0.9995, 1.0000]
p-value: < 2.2e-16
n = 12
Regression
Method: OLS
Intercept = -0.1079 (SE = 0.1590)
Slope = 1.0036 (SE = 0.0052)
Intercept 95% CI: [-0.4622, 0.2463]
Slope 95% CI: [0.9920, 1.0152]
H0: slope = 1 -> t = 0.6864, p = 0.5081
slope not significantly different from 1 (CI contains 1)
R-squared = 0.9997
Sigma = 0.2248
n = 12
Bland-Altman
Type: difference
Y-axis: candidate - reference
X-axis: Mean of candidate and reference
n = 12
Mean diff: 0.0083
SD diff: 0.2193
95% LoA: [-0.4215, 0.4382]
95% CI for LoA:
Lower LoA: [-0.6667, -0.1764]
Upper LoA: [0.1930, 0.6834]
AUC Table
Column AUC 95% CI Direction
------------------------------------------------------------
marker 1.0000 [ NA, NA] geq
Saving _problems/test-sensitivity-27.R
Saving _problems/test-sensitivity-32.R
Saving _problems/test-sensitivity-34.R
Saving _problems/test-sensitivity-110.R
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 330 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-sensitivity.R:27:3'): full pipeline: LoB / LoD / LoQ match EP17-A2 and analytic values ──
Expected `as.numeric(object)` to equal `as.numeric(expected)`.
Differences:
`actual`: 0.219
`expected`: 0.198
Backtrace:
▆
1. └─ivdtools:::expect_num_equal(res$lod, lod_ana, tolerance = 1e-06) at test-sensitivity.R:27:3
2. └─testthat::expect_equal(...) at ./helper-testing.R:8:3
── Failure ('test-sensitivity.R:32:3'): full pipeline: LoB / LoD / LoQ match EP17-A2 and analytic values ──
Expected `as.numeric(object)` to equal `as.numeric(expected)`.
Differences:
`actual`: 0.5086
`expected`: 0.5000
Backtrace:
▆
1. └─ivdtools:::expect_num_equal(res$loq, 0.5, tolerance = 0.001) at test-sensitivity.R:32:3
2. └─testthat::expect_equal(...) at ./helper-testing.R:8:3
── Failure ('test-sensitivity.R:34:3'): full pipeline: LoB / LoD / LoQ match EP17-A2 and analytic values ──
Expected `res$model` to equal "Model_4".
Differences:
`actual`: "Model_7"
`expected`: "Model_4"
── Failure ('test-sensitivity.R:110:3'): no-blank data returns only LoQ ────────
Expected `as.numeric(object)` to equal `as.numeric(expected)`.
Differences:
`actual`: 0.5086
`expected`: 0.5000
Backtrace:
▆
1. └─ivdtools:::expect_num_equal(res$loq, 0.5, tolerance = 0.001) at test-sensitivity.R:110:3
2. └─testthat::expect_equal(...) at ./helper-testing.R:8:3
[ FAIL 4 | WARN 0 | SKIP 0 | PASS 330 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [4s/4s] OK
- checking PDF version of manual ... [3s/3s] OK
- DONE
Status: 1 ERROR