CRAN Package Check Results for Maintainer ‘Ioannis Malagaris <iomalaga at utmb.edu>’

Last updated on 2025-12-07 07:50:30 CET.

Package ERROR OK
RCTRecruit 1 12

Package RCTRecruit

Current CRAN status: ERROR: 1, OK: 12

Version: 0.2.0
Check: tests
Result: ERROR Running ‘testthat.R’ [2s/2s] 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(RCTRecruit) > > test_check("RCTRecruit") Variables Enrolled and ScreenDt were successfully loaded Variables Enrolled and ScreenDt were successfully loaded Variables Enrolled and ScreenDt were successfully loaded Variables Enrolled and ScreenDt were successfully loaded Variables Enrolled and ScreenDt were successfully loaded Variables Enrolled and ScreenDt were successfully loaded Enrolling 10 subjects requires 25 weeks 2.5% 50% 97.5% 25 25 25 Enrolling 10 subjects requires 33 weeks 2.5% 50% 97.5% 33 33 33 2.5% 50% 97.5% 0 0 0 0 1 0 0 0 2 2 2 2 3 2 2 2 4 2 2 2 5 3 3 3 ... 2.5% 50% 97.5% 99 39 39 39 100 39 39 39 101 40 40 40 102 40 40 40 103 40 40 40 104 40 40 40 2.5% 50% 97.5% 85 85 85 2.5% 50% 97.5% 0 0 0 0 1 0 0 0 2 2 2 2 3 2 2 2 4 2 2 2 5 3 3 3 Variables <1b>[1m<1b>[38;5;28mEnrolled<1b>[0m and <1b>[1m<1b>[38;5;28mScreenDt<1b>[0m were successfully loaded Saving _problems/test-exports-66.R [ FAIL 1 | WARN 0 | SKIP 0 | PASS 31 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-exports.R:66:3'): When knitr is not available2 ─────────────── Expected `LoadData(gripsYR1, ScreenDt, Enrolled)` not to throw any errors. Actually got a <packageNotFoundError> with message: there is no package called 'knitr' [ FAIL 1 | WARN 0 | SKIP 0 | PASS 31 ] Error: ! Test failures. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc