R Under development (unstable) (2025-10-09 r88913 ucrt) -- "Unsuffered Consequences" Copyright (C) 2025 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(testthat) > library(hesim) > > test_check("hesim") sample = 1 sample = 2 [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1146 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Failure ('test-cpp-distributions.R:100:1'): (code run outside of `test_that()`) ── `new(PwExp, rate = c(1, 2), time = c(0, 2, 4))` threw an error with unexpected message. Expected match: "'time' and 'rate' must be the same length." Actual message: "object 'PwExp' not found" Backtrace: ▆ 1. ├─testthat::expect_error(...) at test-cpp-distributions.R:100:1 2. │ └─testthat:::quasi_capture(...) 3. │ ├─testthat (local) .capture(...) 4. │ │ └─base::withCallingHandlers(...) 5. │ └─rlang::eval_bare(quo_get_expr(.quo), quo_get_env(.quo)) 6. └─methods::new(PwExp, rate = c(1, 2), time = c(0, 2, 4)) 7. └─methods::getClass(Class, where = topenv(parent.frame())) 8. └─methods::getClassDef(Class, where) 9. └─methods:::.getClassesFromCache(Class) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 1146 ] > > proc.time() user system elapsed 39.07 4.59 43.75