CRAN Package Check Results for Package epocakir

Last updated on 2021-12-01 05:59:24 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.9.7 3.93 63.04 66.97 OK
r-devel-linux-x86_64-debian-gcc 0.9.7 3.38 52.94 56.32 OK
r-devel-linux-x86_64-fedora-clang 0.9.7 90.99 NOTE
r-devel-linux-x86_64-fedora-gcc 0.9.7 79.82 NOTE
r-devel-windows-x86_64-new-UL 0.9.7 14.00 111.00 125.00 OK
r-devel-windows-x86_64-new-TK 0.9.7 NOTE
r-devel-windows-x86_64-old 0.9.7 7.00 69.00 76.00 OK
r-patched-linux-x86_64 0.9.7 3.92 59.74 63.66 OK
r-patched-solaris-x86 0.9.7 99.80 NOTE
r-release-linux-x86_64 0.9.7 2.88 58.59 61.47 ERROR
r-release-macos-arm64 0.9.7 NOTE
r-release-macos-x86_64 0.9.7 NOTE
r-release-windows-ix86+x86_64 0.9.7 9.00 64.00 73.00 OK
r-oldrel-macos-x86_64 0.9.7 NOTE
r-oldrel-windows-ix86+x86_64 0.9.7 7.00 62.00 69.00 OK

Check Details

Version: 0.9.7
Check: dependencies in R code
Result: NOTE
    Namespaces in Imports field not imported from:
     ‘tidyselect’ ‘vctrs’
     All declared Imports should be used.
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64-new-TK, r-patched-solaris-x86, r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-x86_64

Version: 0.9.7
Check: tests
Result: ERROR
     Running ‘testthat.R’ [19s/21s]
    Running the tests in ‘tests/testthat.R’ failed.
    Complete output:
     > library(testthat)
     > library(epocakir)
     >
     > test_check("epocakir")
     ══ Failed tests ════════════════════════════════════════════════════════════════
     ── Error (test-ckd.R:148:3): eGFR() on full eGFR_df() ──────────────────────────
     Error in `dplyr::mutate(., pediatric = grepl("child", eGFR_calc_type),
     SCr = dplyr::if_else(grepl("SCr", eGFR_calc_type), SCr, NA_real_),
     SCysC = dplyr::if_else(grepl("SCysC", eGFR_calc_type), SCysC,
     NA_real_), BUN = dplyr::if_else(grepl("BUN", eGFR_calc_type),
     BUN, NA_real_), Age = dplyr::if_else(pediatric, units::set_units(10,
     "years"), Age))`: bad generic call environment
     Backtrace:
     █
     1. ├─epocakir::eGFR(...) test-ckd.R:148:2
     2. ├─epocakir:::eGFR.numeric(...)
     3. │ ├─`%>%`(...)
     4. │ └─base::cbind(SCr, SCysC, Age, height, BUN, male, black, pediatric)
     5. ├─tibble::as_tibble(., .data)
     6. ├─epocakir:::eGFR_df()
     7. │ └─`%>%`(...) test-ckd.R:101:2
     8. ├─dplyr::rename_with(., ~paste0(.x, "_"))
     9. ├─dplyr::filter(., !is.na(eGFR))
     10. └─dplyr::mutate(...)
    
     [ FAIL 1 | WARN 0 | SKIP 0 | PASS 399 ]
     Error: Test failures
     Execution halted
Flavor: r-release-linux-x86_64