CRAN Package Check Results for Package mstate

Last updated on 2025-12-21 03:49:42 CET.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 0.3.3 14.16 138.74 152.90 ERROR
r-devel-linux-x86_64-debian-gcc 0.3.3 10.19 96.51 106.70 ERROR
r-devel-linux-x86_64-fedora-clang 0.3.3 25.00 220.37 245.37 ERROR
r-devel-linux-x86_64-fedora-gcc 0.3.3 23.00 223.61 246.61 ERROR
r-devel-windows-x86_64 0.3.3 18.00 178.00 196.00 OK
r-patched-linux-x86_64 0.3.3 15.91 154.10 170.01 OK
r-release-linux-x86_64 0.3.3 12.68 152.62 165.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 18.00 175.00 193.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 23.00 214.00 237.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: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### 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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

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 Flavors: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc

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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

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 Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc