CRAN Package Check Results for Package epocakir

Last updated on 2025-10-10 10:49:28 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.9 4.47 63.61 68.08 OK
r-devel-linux-x86_64-debian-gcc 0.9.9 2.66 45.02 47.68 OK
r-devel-linux-x86_64-fedora-clang 0.9.9 102.53 ERROR
r-devel-linux-x86_64-fedora-gcc 0.9.9 111.91 ERROR
r-devel-windows-x86_64 0.9.9 6.00 81.00 87.00 OK
r-patched-linux-x86_64 0.9.9 4.37 59.17 63.54 OK
r-release-linux-x86_64 0.9.9 4.27 59.23 63.50 OK
r-release-macos-arm64 0.9.9 44.00 OK
r-release-macos-x86_64 0.9.9 79.00 OK
r-release-windows-x86_64 0.9.9 8.00 84.00 92.00 OK
r-oldrel-macos-arm64 0.9.9 40.00 OK
r-oldrel-macos-x86_64 0.9.9 67.00 OK
r-oldrel-windows-x86_64 0.9.9 7.00 103.00 110.00 OK

Check Details

Version: 0.9.9
Check: examples
Result: ERROR Running examples in ‘epocakir-Ex.R’ failed The error most likely occurred in: > ### Name: GFR_staging > ### Title: GFR Staging > ### Aliases: GFR_staging GFR_staging.data.frame GFR_staging.units > ### GFR_staging.numeric > > ### ** Examples > > df <- tibble::tibble( + eGFR = units::set_units(c(-1, NA, 100, 70, 50, 35, 20, 10), "mL/min/1.73m2") + ) > > GFR_staging(df, "eGFR") Error: cannot convert mL/(min*1.73m^2) into mL/min Execution halted Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Version: 0.9.9
Check: tests
Result: ERROR Running ‘testthat.R’ [31s/89s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(epocakir) > > test_check("epocakir") [ FAIL 1 | WARN 9 | SKIP 0 | PASS 598 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ckd.R:378:3'): GFR_staging() ─────────────────────────────────── Error: cannot convert mL/(min*1.73m^2) into mL/min Backtrace: ▆ 1. ├─epocakir::GFR_staging(df, "eGFR") at test-ckd.R:378:3 2. └─epocakir:::GFR_staging.data.frame(df, "eGFR") 3. ├─epocakir::GFR_staging(.data[[rlang::as_name(rlang::enquo(GFR))]]) 4. └─epocakir:::GFR_staging.units(.data[[rlang::as_name(rlang::enquo(GFR))]]) 5. ├─epocakir::GFR_staging(as_metric(GFR = GFR, value_only = TRUE)) 6. └─epocakir::as_metric(GFR = GFR, value_only = TRUE) 7. ├─units::set_units(meas, conversion$metric_units, mode = "standard") 8. └─units:::set_units.units(meas, conversion$metric_units, mode = "standard") 9. ├─base::`units<-`(`*tmp*`, value = as_units(value, ...)) 10. └─units:::`units<-.units`(`*tmp*`, value = as_units(value, ...)) [ FAIL 1 | WARN 9 | SKIP 0 | PASS 598 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-clang

Version: 0.9.9
Check: tests
Result: ERROR Running ‘testthat.R’ [28s/57s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(testthat) > library(epocakir) > > test_check("epocakir") [ FAIL 1 | WARN 9 | SKIP 0 | PASS 598 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-ckd.R:378:3'): GFR_staging() ─────────────────────────────────── Error: cannot convert mL/(min*1.73m^2) into mL/min Backtrace: ▆ 1. ├─epocakir::GFR_staging(df, "eGFR") at test-ckd.R:378:3 2. └─epocakir:::GFR_staging.data.frame(df, "eGFR") 3. ├─epocakir::GFR_staging(.data[[rlang::as_name(rlang::enquo(GFR))]]) 4. └─epocakir:::GFR_staging.units(.data[[rlang::as_name(rlang::enquo(GFR))]]) 5. ├─epocakir::GFR_staging(as_metric(GFR = GFR, value_only = TRUE)) 6. └─epocakir::as_metric(GFR = GFR, value_only = TRUE) 7. ├─units::set_units(meas, conversion$metric_units, mode = "standard") 8. └─units:::set_units.units(meas, conversion$metric_units, mode = "standard") 9. ├─base::`units<-`(`*tmp*`, value = as_units(value, ...)) 10. └─units:::`units<-.units`(`*tmp*`, value = as_units(value, ...)) [ FAIL 1 | WARN 9 | SKIP 0 | PASS 598 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc