CRAN Package Check Results for Package BiostatsUHNplus

Last updated on 2025-02-06 19:49:19 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 15.89 146.39 162.28 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 12.98 100.02 113.00 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.2 16.74 135.37 152.11 OK
r-release-linux-x86_64 1.0.2 17.07 135.65 152.72 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 20.00 162.00 182.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.2 26.00 186.00 212.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