CRAN Package Check Results for Maintainer ‘Alwin Wang <alwin.wang at austin.org.au>’

Last updated on 2025-10-10 09:50:54 CEST.

Package ERROR OK
epocakir 2 11

Package epocakir

Current CRAN status: ERROR: 2, OK: 11

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

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.