This will delete all child models, and only keep the information you need to read in estimates or summary information

cleanup_bootstrap_run(.boot_run, .force = FALSE)

Arguments

.boot_run

A bbi_nmboot_model object.

.force

logical (T/F). If TRUE, do not prompt the user if they want to delete the models.

Details

The intent of this function is to help reduce the number of files you need to commit via version control. Collaborators will be able to read in the bootstrap model and summary objects without needing individual run files.

  • Note that this will prevent force_resummarize = TRUE from working

This should only be done if you no longer need to re-summarize, as this will clean up (delete) the individual bootstrap model files

Examples

if (FALSE) {

.boot_run <- read_model(file.path(MODEL_DIR, "1-boot"))
cleanup_bootstrap_run(.boot_run)
}