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)
A bbi_nmboot_model
object.
logical (T/F). If TRUE
, do not prompt the user if they want to delete the models.
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
if (FALSE) {
.boot_run <- read_model(file.path(MODEL_DIR, "1-boot"))
cleanup_bootstrap_run(.boot_run)
}