CRAN Package Check Results for Package rsurv

Last updated on 2024-12-22 05:49:27 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.0.2 25.13 138.70 163.83 OK
r-devel-linux-x86_64-debian-gcc 0.0.2 16.86 100.46 117.32 ERROR
r-devel-linux-x86_64-fedora-clang 0.0.2 283.74 OK
r-devel-linux-x86_64-fedora-gcc 0.0.2 256.05 OK
r-devel-windows-x86_64 0.0.2 15.00 139.00 154.00 OK
r-patched-linux-x86_64 0.0.2 21.27 135.54 156.81 OK
r-release-linux-x86_64 0.0.2 23.77 135.60 159.37 OK
r-release-macos-arm64 0.0.2 65.00 OK
r-release-macos-x86_64 0.0.2 110.00 OK
r-release-windows-x86_64 0.0.2 17.00 136.00 153.00 OK
r-oldrel-macos-arm64 0.0.2 67.00 OK
r-oldrel-macos-x86_64 0.0.2 110.00 OK
r-oldrel-windows-x86_64 0.0.2 21.00 160.00 181.00 OK

Check Details

Version: 0.0.2
Check: examples
Result: ERROR Running examples in ‘rsurv-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: qsurv > ### Title: Generic quantile function > ### Aliases: qsurv > > ### ** Examples > > > library(rsurv) > set.seed(1234567890) > > > u <- sort(runif(5)) > x1 <- qexp(u, rate = 1, lower.tail = FALSE) > x2 <- qsurv(u, baseline = "exp", rate = 1) > x3 <- qsurv(u, baseline = "exp", rate = 1, package = "stats") > x4 <- qsurv(u, baseline = "gengamma.orig", shape=1, scale=1, k=1, package = "flexsurv") Error in loadNamespace(name) : there is no package called ‘flexsurv’ Calls: qsurv ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.2
Check: tests
Result: ERROR Running ‘testthat.R’ [6s/8s] 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(rsurv) > > test_check("rsurv") [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] ══ Failed tests ════════════════════════════════════════════════════════════════ ── Error ('test5.R:10:1'): (code run outside of `test_that()`) ───────────────── <packageNotFoundError/error/condition> Error in `loadNamespace(name)`: there is no package called 'flexsurv' Backtrace: ▆ 1. └─rsurv::qsurv(...) at test5.R:10:1 2. └─utils::getFromNamespace(baseline, package) 3. └─base::asNamespace(ns) 4. └─base::getNamespace(ns) 5. ├─.Internal(getRegisteredNamespace(name)) %||% ... 6. └─base::loadNamespace(name) 7. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 8. └─base (local) withOneRestart(expr, restarts[[1L]]) 9. └─base (local) doWithOneRestart(return(expr), restart) [ FAIL 1 | WARN 0 | SKIP 0 | PASS 0 ] Error: Test failures Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.0.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘rsurv.Rmd’ using rmarkdown Quitting from lines 23-54 [example] (rsurv.Rmd) Error: processing vignette 'rsurv.Rmd' failed with diagnostics: there is no package called 'flexsurv' --- failed re-building ‘rsurv.Rmd’ SUMMARY: processing the following file failed: ‘rsurv.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc