CRAN Package Check Results for Package maraca

Last updated on 2025-07-12 09:49:23 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.0 7.10 180.75 187.85 OK
r-devel-linux-x86_64-debian-gcc 1.0.0 5.10 129.41 134.51 OK
r-devel-linux-x86_64-fedora-clang 1.0.0 286.50 OK
r-devel-linux-x86_64-fedora-gcc 1.0.0 213.57 ERROR
r-devel-windows-x86_64 1.0.0 10.00 157.00 167.00 OK
r-patched-linux-x86_64 1.0.0 7.61 172.05 179.66 OK
r-release-linux-x86_64 1.0.0 6.86 170.83 177.69 OK
r-release-macos-arm64 1.0.0 82.00 OK
r-release-macos-x86_64 1.0.0 149.00 OK
r-release-windows-x86_64 1.0.0 10.00 170.00 180.00 OK
r-oldrel-macos-arm64 1.0.0 83.00 NOTE
r-oldrel-macos-x86_64 1.0.0 148.00 NOTE
r-oldrel-windows-x86_64 1.0.0 11.00 199.00 210.00 NOTE

Check Details

Version: 1.0.0
Check: examples
Result: ERROR Running examples in ‘maraca-Ex.R’ failed The error most likely occurred in: > ### Name: component_plot > ### Title: Plotting components of win odds > ### Aliases: component_plot component_plot.default component_plot.maraca > ### component_plot.hce > > ### ** Examples > > > data(hce_scenario_a) > > maraca_dat <- maraca(data = hce_scenario_a, + step_outcomes = c("Outcome I", "Outcome II", + "Outcome III", "Outcome IV"), + last_outcome = "Continuous outcome", + fixed_followup_days = 3 * 365, + column_names = c(outcome = "GROUP", + arm = "TRTP", + value = "AVAL0"), + arm_levels = c(active = "Active", + control = "Control"), + compute_win_odds = TRUE + ) > > component_plot(maraca_dat) > > Rates_A <- c(1.72, 1.74, 0.58, 1.5, 1) > Rates_P <- c(2.47, 2.24, 2.9, 4, 6) > hce_dat <- hce::simHCE(n = 2500, TTE_A = Rates_A, TTE_P = Rates_P, + CM_A = -3, CM_P = -6, CSD_A = 16, CSD_P = 15, fixedfy = 3, + seed = 31337) > > component_plot(hce_dat) Error in maraca(data = x, step_outcomes = step_outcomes, last_outcome = last_outcome, : Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. Calls: component_plot ... .maraca_from_hce_data -> maraca -> <Anonymous> -> makeAssertion -> mstop Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.0
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: --- re-building ‘faq.Rmd’ using rmarkdown Quitting from faq.Rmd:34-64 [unnamed-chunk-1] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `maraca()`: ! Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. --- Backtrace: ▆ 1. ├─base::plot(hce_dat, compute_win_odds = FALSE) 2. └─maraca:::plot.hce(hce_dat, compute_win_odds = FALSE) 3. └─maraca:::.maraca_from_hce_data(...) 4. └─maraca::maraca(...) 5. └─checkmate::assert_character(step_outcomes, any.missing = FALSE) 6. └─checkmate::makeAssertion(x, res, .var.name, add) 7. └─checkmate:::mstop(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'faq.Rmd' failed with diagnostics: Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. --- failed re-building ‘faq.Rmd’ --- re-building ‘maraca.Rmd’ using rmarkdown Quitting from maraca.Rmd:172-180 [unnamed-chunk-2] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `maraca()`: ! Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. --- Backtrace: ▆ 1. ├─base::plot(...) 2. └─maraca:::plot.hce(...) 3. └─maraca:::.maraca_from_hce_data(...) 4. └─maraca::maraca(...) 5. └─checkmate::assert_character(step_outcomes, any.missing = FALSE) 6. └─checkmate::makeAssertion(x, res, .var.name, add) 7. └─checkmate:::mstop(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'maraca.Rmd' failed with diagnostics: Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. --- failed re-building ‘maraca.Rmd’ --- re-building ‘mosaic.Rmd’ using rmarkdown Quitting from mosaic.Rmd:133-144 [unnamed-chunk-7] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `maraca()`: ! Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. --- Backtrace: ▆ 1. ├─maraca::mosaic_plot(hce_dat) 2. └─maraca:::mosaic_plot.hce(hce_dat) 3. └─maraca:::.maraca_from_hce_data(...) 4. └─maraca::maraca(...) 5. └─checkmate::assert_character(step_outcomes, any.missing = FALSE) 6. └─checkmate::makeAssertion(x, res, .var.name, add) 7. └─checkmate:::mstop(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'mosaic.Rmd' failed with diagnostics: Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. --- failed re-building ‘mosaic.Rmd’ --- re-building ‘otherEndpoints.Rmd’ using rmarkdown --- finished re-building ‘otherEndpoints.Rmd’ --- re-building ‘themes.Rmd’ using rmarkdown --- finished re-building ‘themes.Rmd’ --- re-building ‘validation.Rmd’ using rmarkdown --- finished re-building ‘validation.Rmd’ --- re-building ‘winOdds.Rmd’ using rmarkdown Quitting from winOdds.Rmd:66-77 [unnamed-chunk-3] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `maraca()`: ! Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. --- Backtrace: ▆ 1. ├─maraca::component_plot(hce_dat) 2. └─maraca:::component_plot.hce(hce_dat) 3. └─maraca:::.maraca_from_hce_data(...) 4. └─maraca::maraca(...) 5. └─checkmate::assert_character(step_outcomes, any.missing = FALSE) 6. └─checkmate::makeAssertion(x, res, .var.name, add) 7. └─checkmate:::mstop(...) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'winOdds.Rmd' failed with diagnostics: Assertion on 'step_outcomes' failed: Must be of type 'character', not 'factor'. --- failed re-building ‘winOdds.Rmd’ SUMMARY: processing the following files failed: ‘faq.Rmd’ ‘maraca.Rmd’ ‘mosaic.Rmd’ ‘winOdds.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-fedora-gcc

Version: 1.0.0
Check: installed package size
Result: NOTE installed size is 8.4Mb sub-directories of 1Mb or more: doc 7.3Mb Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64