CRAN Package Check Results for Maintainer ‘Rammprasad Ganapathy <ganapathy.rammprasad at gene.com>’

Last updated on 2024-11-24 15:49:49 CET.

Package ERROR OK
sdtm.oak 1 12

Package sdtm.oak

Current CRAN status: ERROR: 1, OK: 12

Version: 0.1.0
Check: tests
Result: ERROR Running ‘spelling.R’ [0s/0s] Running ‘testthat.R’ [25s/15s] 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(sdtm.oak) > > test_check("sdtm.oak") Starting 2 test processes [ FAIL 1 | WARN 0 | SKIP 5 | PASS 340 ] ══ Skipped tests (5) ═══════════════════════════════════════════════════════════ • On CRAN (5): 'test-derive_blfl.R:39:3', 'test-derive_blfl.R:47:3', 'test-derive_blfl.R:87:3', 'test-derive_blfl.R:96:3', 'test-derive_blfl.R:123:3' ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-derive_study_day.R:62:3'): `calculate_study_day()` works as expected for valid input ── Error in `waldo::compare(x, y, ..., x_arg = x_arg, y_arg = y_arg)`: `tolerance` must be a number or `NULL`, not the string "1.5e-08". Backtrace: ▆ 1. └─testthat::expect_equal(res$AESTDY, expected, tolerance = "1.5e-08") at test-derive_study_day.R:62:3 2. └─testthat:::expect_waldo_equal("equal", act, exp, info, ..., tolerance = tolerance) 3. └─testthat:::waldo_compare(...) 4. └─waldo::compare(tolerance = NULL) 5. └─waldo:::check_number_decimal(tolerance, allow_null = TRUE, min = 0) 6. └─waldo:::.stop_not_number(...) 7. └─waldo:::stop_input_type(...) 8. └─rlang::abort(message, ..., call = call, arg = arg) [ FAIL 1 | WARN 0 | SKIP 5 | PASS 340 ] Error: Test failures Execution halted Flavor: r-release-linux-x86_64

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.