CRAN Package Check Results for Package BiostatsUHNplus

Last updated on 2025-02-04 05:50:15 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.1 19.27 146.72 165.99 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 11.78 102.34 114.12 OK
r-devel-linux-x86_64-fedora-clang 1.0.2 274.82 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2 256.97 OK
r-devel-windows-x86_64 1.0.1 20.00 136.00 156.00 ERROR
r-patched-linux-x86_64 1.0.1 16.70 136.22 152.92 OK
r-release-linux-x86_64 1.0.1 16.60 136.13 152.73 OK
r-release-macos-arm64 1.0.2 56.00 OK
r-release-macos-x86_64 1.0.2 99.00 OK
r-release-windows-x86_64 1.0.2 21.00 160.00 181.00 OK
r-oldrel-macos-arm64 1.0.1 65.00 OK
r-oldrel-macos-x86_64 1.0.1 100.00 OK
r-oldrel-windows-x86_64 1.0.1 22.00 186.00 208.00 OK

Check Details

Version: 1.0.1
Check: tests
Result: ERROR Running 'testthat.R' [7s] Running the tests in 'tests/testthat.R' failed. Complete output: > # This file is part of the standard setup for testthat. > # It is recommended that you do not modify it. > # > # Where should you do additional test configuration? > # Learn more about the roles of various files in: > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(BiostatsUHNplus) > > test_check("BiostatsUHNplus") [ FAIL 3 | WARN 3 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test_calculations.R:19:3'): covsum nested calculates correctly with no maincov ── Error in `charToDate(x)`: character string is not in a standard unambiguous format Backtrace: ▆ 1. └─BiostatsUHNplus:::covsum_nested(...) at test_calculations.R:19:3 2. └─reportRmd:::covsum(...) 3. └─base::lapply(...) 4. └─reportRmd (local) FUN(X[[i]], ...) 5. └─base::mapply(...) 6. └─reportRmd (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]]) 7. └─base::Ops.Date(sumCov[4], "NaN") 8. ├─base::as.Date(e2) 9. └─base::as.Date.character(e2) 10. └─base (local) charToDate(x) ── Error ('test_calculations.R:29:3'): covsum nested calculates correctly with maincov ── Error in `charToDate(x)`: character string is not in a standard unambiguous format Backtrace: ▆ 1. └─BiostatsUHNplus:::covsum_nested(...) at test_calculations.R:29:3 2. └─reportRmd:::covsum(...) 3. └─base::lapply(...) 4. └─reportRmd (local) FUN(X[[i]], ...) 5. └─base::mapply(...) 6. └─reportRmd (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]]) 7. └─base::Ops.Date(sumCov[4], "NaN") 8. ├─base::as.Date(e2) 9. └─base::as.Date.character(e2) 10. └─base (local) charToDate(x) ── Error ('test_calculations.R:40:3'): covsum nested includes missing correctly when presenting row percentages ── Error in `charToDate(x)`: character string is not in a standard unambiguous format Backtrace: ▆ 1. └─BiostatsUHNplus:::covsum_nested(...) at test_calculations.R:40:3 2. └─reportRmd:::covsum(...) 3. └─base::lapply(...) 4. └─reportRmd (local) FUN(X[[i]], ...) 5. └─base::mapply(...) 6. └─reportRmd (local) `<fn>`(dots[[1L]][[1L]], dots[[2L]][[1L]]) 7. └─base::Ops.Date(sumCov[4], "NaN") 8. ├─base::as.Date(e2) 9. └─base::as.Date.character(e2) 10. └─base (local) charToDate(x) [ FAIL 3 | WARN 3 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-windows-x86_64