CRAN Package Check Results for Package SelfControlledCaseSeries

Last updated on 2026-10-11 17:54:07 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 6.1.5 76.24 170.62 246.86 OK
r-devel-linux-x86_64-debian-gcc 6.1.5 55.40 123.70 179.10 OK
r-devel-linux-x86_64-fedora-clang 6.1.5 64.00 122.12 186.12 OK
r-devel-linux-x86_64-fedora-gcc 6.1.5 71.00 122.55 193.55 OK
r-devel-windows-x86_64 6.1.5 90.00 516.00 606.00 OK
r-patched-linux-x86_64 6.1.5 77.54 157.24 234.78 OK
r-release-linux-x86_64 6.1.5 78.58 156.59 235.17 OK
r-release-macos-arm64 6.1.5 17.00 94.00 111.00 OK
r-release-macos-x86_64 6.1.5 52.00 304.00 356.00 OK
r-release-windows-x86_64 6.1.5 87.00 420.00 507.00 OK
r-oldrel-macos-arm64 6.1.5 15.00 96.00 111.00 OK
r-oldrel-macos-x86_64 6.1.5 50.00 272.00 322.00 OK
r-oldrel-windows-x86_64 6.1.5 111.00 562.00 673.00 ERROR

Additional issues

M1mac

Check Details

Version: 6.1.5
Check: tests
Result: ERROR Running 'testthat.R' [189s] Running the tests in 'tests/testthat.R' failed. Complete output: > getOs <- function(){ + sysinf <- Sys.info() + if (!is.null(sysinf)){ + os <- sysinf["sysname"] + if (os == "Darwin") + os <- "mac" + } else { + os <- .Platform$OS.type + if (grepl("^darwin", R.version$os)) + os <- "mac" + if (grepl("linux-gnu", R.version$os)) + os <- "linux" + } + tolower(os) + } > > # Only run linux unit tests in GitHub to avoid weird CRAN flavors where SQLite (EUNOMIA) can be problematic: > if (Sys.getenv("GITHUB_REPOSITORY") != "" || getOs() %in% c("windows", "mac")) { + # Workaround to fix unit tests in check as described here: + # https://github.com/hadley/testthat/issues/86 + Sys.setenv(R_TESTS = "") + + library(testthat) + library(SelfControlledCaseSeries) + test_check("SelfControlledCaseSeries") + } Loading required package: Cyclops Loading required package: DatabaseConnector Loading required package: Andromeda Loading required package: dplyr Attaching package: 'dplyr' The following objects are masked from 'package:stats': filter, lag The following objects are masked from 'package:base': intersect, setdiff, setequal, union | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% trying URL 'https://raw.githubusercontent.com/OHDSI/EunomiaDatasets/main/datasets/GiBleed/GiBleed_5.3.zip' Content type 'application/zip' length 6861852 bytes (6.5 MB) ================================================== downloaded 6.5 MB Saving _problems/test-eunomia-6.R Initiating cluster with 4 threads | | | 0% | |================== | 25% | |=================================== | 50% | |==================================================== | 75% | |======================================================================| 100% Stopping cluster | | | 0% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Model fitting status is: OK Fetched 4 cases from server | | | 0% | |======================================================================| 100% Fetched 3 cases from server | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: Laplace(44.7214) None None None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Model fitting status is: OK | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Model fitting status is: OK | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Model fitting status is: OK | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Model fitting status is: OK | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Model fitting status is: OK | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Model fitting status is: OK | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Warning: BLR gradient is ill-conditioned Enforcing convergence! Model fitting status is: OK | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Model fitting status is: OK | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% | | | 0% | |======================== | 34% | |=============================================== | 68% | |======================================================================| 100% Fitting SCCS model Using prior: None Using 1 thread(s) Using 1 thread(s) Using 1 thread(s) Warning: BLR gradient is ill-conditioned Enforcing convergence! Model fitting status is: OK | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% | | | 0% | |======================================================================| 100% [ FAIL 1 | WARN 1 | SKIP 1 | PASS 244 ] ══ Skipped tests (1) ═══════════════════════════════════════════════════════════ • empty test (1): ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test-eunomia.R:6:3'): (code run outside of `test_that()`) ─────────── Error: not an error Backtrace: ▆ 1. └─Eunomia::getEunomiaConnectionDetails() at test-eunomia.R:6:3 2. └─Eunomia::getDatabaseFile(...) 3. └─Eunomia::extractLoadData(...) 4. └─Eunomia::loadDataFiles(...) 5. ├─DBI::dbExecute(conn = connection, statement = statement) 6. └─DBI::dbExecute(conn = connection, statement = statement) 7. ├─DBI::dbSendStatement(conn, statement, ...) 8. └─DBI::dbSendStatement(conn, statement, ...) 9. ├─DBI::dbSendQuery(conn, statement, ...) 10. └─RSQLite::dbSendQuery(conn, statement, ...) 11. └─RSQLite (local) .local(conn, statement, ...) 12. ├─methods::new(...) 13. │ ├─methods::initialize(value, ...) 14. │ └─methods::initialize(value, ...) 15. └─RSQLite:::result_create(conn@ptr, statement) [ FAIL 1 | WARN 1 | SKIP 1 | PASS 244 ] Error: ! Test failures. Execution halted Flavor: r-oldrel-windows-x86_64