CRAN Package Check Results for Package adjustedCurves

Last updated on 2026-06-07 23:50:26 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.11.4 12.62 526.20 538.82 OK
r-devel-linux-x86_64-debian-gcc 0.11.4 8.08 80.35 88.43 ERROR
r-devel-linux-x86_64-fedora-clang 0.11.4 20.00 892.88 912.88 OK
r-devel-linux-x86_64-fedora-gcc 0.11.4 19.00 850.00 869.00 OK
r-devel-windows-x86_64 0.11.4 16.00 546.00 562.00 OK
r-patched-linux-x86_64 0.11.4 12.95 505.97 518.92 OK
r-release-linux-x86_64 0.11.4 10.53 512.41 522.94 OK
r-release-macos-arm64 0.11.4 3.00 122.00 125.00 OK
r-release-macos-x86_64 0.11.4 8.00 575.00 583.00 OK
r-release-windows-x86_64 0.11.4 14.00 550.00 564.00 OK
r-oldrel-macos-arm64 0.11.4 3.00 131.00 134.00 OK
r-oldrel-macos-x86_64 0.11.4 8.00 674.00 682.00 OK
r-oldrel-windows-x86_64 0.11.4 20.00 773.00 793.00 OK

Check Details

Version: 0.11.4
Check: examples
Result: ERROR Running examples in ‘adjustedCurves-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: adjusted_curve_test > ### Title: Test if there is a difference between two Confounder-Adjusted > ### Survival Curves or CIFs > ### Aliases: adjusted_curve_test > > ### ** Examples > > library(adjustedCurves) > library(survival) > > #### Simple Survival Case with adjusted survival curves #### > > # simulate some data as example > set.seed(42) > sim_dat <- sim_confounded_surv(n=50, max_t=1.2) > sim_dat$group <- as.factor(sim_dat$group) > > # estimate a cox-regression for the outcome > cox_mod <- coxph(Surv(time, event) ~ x1 + x2 + x3 + x4 + x5 + x6 + group, + data=sim_dat, x=TRUE) > > # use it to estimate adjusted survival curves with bootstrapping > adjsurv <- adjustedsurv(data=sim_dat, + variable="group", + ev_time="time", + event="event", + method="direct", + outcome_model=cox_mod, + conf_int=FALSE, + bootstrap=TRUE, + n_boot=10) # n_boot should be much higher in reality Loading required namespace: riskRegression Failed with error: ‘there is no package called ‘riskRegression’’ Error in loadNamespace(x) : there is no package called ‘riskRegression’ Calls: adjustedsurv ... loadNamespace -> withRestarts -> withOneRestart -> doWithOneRestart Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.11.4
Check: tests
Result: ERROR Running ‘testthat.R’ [3s/3s] Running the tests in ‘tests/testthat.R’ failed. Complete output: > library(adjustedCurves) > > library(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 > > library(testthat) > library(vdiffr) > library(survival) > library(ggplot2) > library(Matching) Loading required package: MASS Attaching package: 'MASS' The following object is masked from 'package:dplyr': select ## ## Matching (Version 4.10-15, Build Date: 2024-10-14) ## See https://www.jsekhon.com for additional documentation. ## Please cite software as: ## Jasjeet S. Sekhon. 2011. ``Multivariate and Propensity Score Matching ## Software with Automated Balance Optimization: The Matching package for R.'' ## Journal of Statistical Software, 42(7): 1-52. ## > library(WeightIt) > library(prodlim) > library(MASS) > library(tidyr) > library(riskRegression) Error in library(riskRegression) : there is no package called 'riskRegression' Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 0.11.4
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘adjustedCurves.Rmd’ using rmarkdown Quitting from adjustedCurves.Rmd:39-56 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `library()`: ! there is no package called 'riskRegression' --- Backtrace: ▆ 1. └─base::library(riskRegression) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'adjustedCurves.Rmd' failed with diagnostics: there is no package called 'riskRegression' --- failed re-building ‘adjustedCurves.Rmd’ --- re-building ‘comparing_groups.rmd’ using rmarkdown Quitting from comparing_groups.rmd:29-40 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `library()`: ! there is no package called 'pammtools' --- Backtrace: ▆ 1. └─base::library(pammtools) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'comparing_groups.rmd' failed with diagnostics: there is no package called 'pammtools' --- failed re-building ‘comparing_groups.rmd’ --- re-building ‘faq.rmd’ using rmarkdown --- finished re-building ‘faq.rmd’ --- re-building ‘method_overview.rmd’ using rmarkdown --- finished re-building ‘method_overview.rmd’ --- re-building ‘plot_customization.rmd’ using rmarkdown Failed with error: 'there is no package called 'pammtools'' Quitting from plot_customization.rmd:89-91 [unnamed-chunk-8] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `loadNamespace()`: ! there is no package called 'pammtools' --- Backtrace: ▆ 1. ├─base::plot(s_iptw, conf_int = TRUE) 2. ├─adjustedCurves:::plot.adjustedsurv(s_iptw, conf_int = TRUE) 3. │ └─adjustedCurves:::add_ci_ribbon(...) 4. └─base::loadNamespace(x) 5. └─base::withRestarts(stop(cond), retry_loadNamespace = function() NULL) 6. └─base (local) withOneRestart(expr, restarts[[1L]]) 7. └─base (local) doWithOneRestart(return(expr), restart) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'plot_customization.rmd' failed with diagnostics: there is no package called 'pammtools' --- failed re-building ‘plot_customization.rmd’ SUMMARY: processing the following files failed: ‘adjustedCurves.Rmd’ ‘comparing_groups.rmd’ ‘plot_customization.rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc