CRAN Package Check Results for Package mstate

Last updated on 2025-12-28 01:48:45 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.3 14.66 164.06 178.72 OK
r-devel-linux-x86_64-debian-gcc 0.3.3 9.94 110.52 120.46 OK
r-devel-linux-x86_64-fedora-clang 0.3.3 24.00 246.73 270.73 OK
r-devel-linux-x86_64-fedora-gcc 0.3.3 26.00 270.05 296.05 OK
r-devel-windows-x86_64 0.3.3 18.00 157.00 175.00 ERROR
r-patched-linux-x86_64 0.3.3 14.03 144.22 158.25 OK
r-release-linux-x86_64 0.3.3 12.95 144.35 157.30 OK
r-release-macos-arm64 0.3.3 OK
r-release-macos-x86_64 0.3.3 11.00 162.00 173.00 OK
r-release-windows-x86_64 0.3.3 17.00 170.00 187.00 OK
r-oldrel-macos-arm64 0.3.3 OK
r-oldrel-macos-x86_64 0.3.3 11.00 196.00 207.00 OK
r-oldrel-windows-x86_64 0.3.3 25.00 208.00 233.00 OK

Check Details

Version: 0.3.3
Check: examples
Result: ERROR Running examples in 'mstate-Ex.R' failed The error most likely occurred in: > ### Name: plot.Cuminc > ### Title: Plot method for Cuminc objects > ### Aliases: plot.Cuminc > > ### ** Examples > > library(ggplot2) > > data("aidssi") > head(aidssi) patnr time status cause ccr5 1 1 9.106 1 AIDS WW 2 2 11.039 0 event-free WM 3 3 2.234 1 AIDS WW 4 4 9.878 2 SI WM 5 5 3.819 1 AIDS WW 6 6 6.801 1 AIDS WW > si <- aidssi > > # No grouping > cum_incid <- Cuminc( + time = "time", + status = "status", + data = si + ) > > plot( + x = cum_incid, + use.ggplot = TRUE, + conf.type = "none", + lty = 1:2, + conf.int = 0.95 + ) Error in `[.data.table`(df_long, , `:=`(CI_low = make_prob_confint(prob, : attempt access index 6/6 in VECTOR_ELT Calls: plot ... ggplot.Cuminc -> prep_Cuminc_df -> [ -> [.data.table Execution halted Flavor: r-devel-windows-x86_64

Version: 0.3.3
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building 'visuals_demo.Rmd' using rmarkdown Quitting from visuals_demo.Rmd:202-205 [plot_pt_filled2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `[.data.table`: ! attempt access index 8/8 in VECTOR_ELT --- Backtrace: ▆ 1. ├─base::plot(pt.WW, use.ggplot = TRUE) 2. └─mstate:::plot.probtrans(pt.WW, use.ggplot = TRUE) 3. └─mstate:::ggplot.probtrans(...) 4. └─mstate:::prep_probtrans_df(...) 5. ├─df_long[, `:=`(cum_probs, cumsum(prob)), by = time] 6. └─data.table:::`[.data.table`(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'visuals_demo.Rmd' failed with diagnostics: attempt access index 8/8 in VECTOR_ELT --- failed re-building 'visuals_demo.Rmd' --- re-building 'Tutorial.Rnw' using Sweave Loading required package: survival --- finished re-building 'Tutorial.Rnw' SUMMARY: processing the following file failed: 'visuals_demo.Rmd' Error: Vignette re-building failed. Execution halted Flavor: r-devel-windows-x86_64

These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.