CRAN Package Check Results for Package Landmarking

Last updated on 2026-10-24 13:51:54 CEST.

Flavor Version Tinstall Tcheck Ttotal Status Flags
r-devel-linux-x86_64-debian-clang 1.0.2 10.11 407.34 417.45 OK
r-devel-linux-x86_64-debian-gcc 1.0.2 6.36 68.68 75.04 ERROR
r-devel-linux-x86_64-fedora-clang 1.0.2 7.00 283.96 290.96 OK
r-devel-linux-x86_64-fedora-gcc 1.0.2 301.15 OK
r-devel-windows-x86_64 1.0.2 12.00 432.00 444.00 OK
r-patched-linux-x86_64 1.0.2 7.51 382.36 389.87 OK
r-release-linux-x86_64 1.0.2 8.39 381.74 390.13 OK
r-release-macos-arm64 1.0.2 2.00 124.00 126.00 OK
r-release-macos-x86_64 1.0.2 7.00 350.00 357.00 OK
r-release-windows-x86_64 1.0.2 12.00 431.00 443.00 OK
r-oldrel-macos-arm64 1.0.2 2.00 113.00 115.00 OK
r-oldrel-macos-x86_64 1.0.2 6.00 320.00 326.00 OK
r-oldrel-windows-x86_64 1.0.2 14.00 552.00 566.00 OK

Check Details

Version: 1.0.2
Check: examples
Result: ERROR Running examples in ‘Landmarking-Ex.R’ failed The error most likely occurred in: > base::assign(".ptime", proc.time(), pos = "CheckExEnv") > ### Name: fit_LOCF_landmark > ### Title: Fit a landmark model using a last observation carried forward > ### (LOCF) method for the longitudinal data > ### Aliases: fit_LOCF_landmark > > ### ** Examples > > library(Landmarking) > data(data_repeat_outcomes) > data_model_landmark_LOCF <- + fit_LOCF_landmark( + data_long = data_repeat_outcomes, + x_L = c(60, 61), + x_hor = c(65, 66), + covariates = + c("ethnicity", "smoking", "diabetes", "sbp_stnd", "tchdl_stnd"), + covariates_time = + c(rep("response_time_sbp_stnd", 4), "response_time_tchdl_stnd"), + k = 10, + individual_id = "id", + event_time = "event_time", + event_status = "event_status", + survival_submodel = "cause_specific" + ) Warning in FUN(X[[i]], ...) : 887 individuals have been removed from the model building as they are not in the risk set at landmark age 60 Warning in FUN(X[[i]], ...) : 745 individuals have been removed from the model building as they are not in the risk set at landmark age 61 Fitting longitudinal submodel, landmark age 60 Complete, landmark age 60 Fitting survival submodel, landmark age 60 Warning in coxph.fit(X, Y, istrat, offset, init, control, weights = weights, : Loglik converged before variable 2,4 ; coefficient may be infinite. Error in a$specials[[i]] : subscript out of bounds Calls: fit_LOCF_landmark ... lapply -> FUN -> coxVariableName -> delete.response -> off Execution halted Flavor: r-devel-linux-x86_64-debian-gcc

Version: 1.0.2
Check: re-building of vignette outputs
Result: ERROR Error(s) in re-building vignettes: ... --- re-building ‘Landmarking.Rmd’ using rmarkdown [WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead. --- finished re-building ‘Landmarking.Rmd’ --- re-building ‘how_to_use.Rmd’ using rmarkdown Quitting from how_to_use.Rmd:82-96 [11] ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ <error/rlang_error> Error in `a$specials[[i]]`: ! subscript out of bounds --- Backtrace: ▆ 1. └─Landmarking::fit_LOCF_landmark(...) 2. └─base::lapply(...) 3. └─Landmarking (local) FUN(X[[i]], ...) 4. └─Landmarking::fit_survival_model(...) 5. └─base::lapply(...) 6. └─Landmarking (local) FUN(X[[i]], ...) 7. ├─riskRegression::predictRisk(...) 8. └─riskRegression:::predictRisk.CauseSpecificCox(...) 9. ├─stats::predict(...) 10. └─riskRegression:::predict.CauseSpecificCox(...) 11. └─riskRegression:::compressData(...) 12. └─base::lapply(...) 13. └─riskRegression (local) FUN(X[[i]], ...) 14. └─riskRegression::coxVariableName(iO, model.frame = coxModelFrame(iO)) 15. └─stats::delete.response(...) 16. └─stats (local) off(a$specials[[i]]) ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Error: processing vignette 'how_to_use.Rmd' failed with diagnostics: subscript out of bounds --- failed re-building ‘how_to_use.Rmd’ SUMMARY: processing the following file failed: ‘how_to_use.Rmd’ Error: Vignette re-building failed. Execution halted Flavor: r-devel-linux-x86_64-debian-gcc