Skip to content

Commit

Permalink
prefix internal bbr function for vignette building
Browse files Browse the repository at this point in the history
  • Loading branch information
barrettk committed Oct 7, 2024
1 parent 6dce4d8 commit 48ca4e0
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tests/testthat/helpers-create-example-model.R
Original file line number Diff line number Diff line change
Expand Up @@ -157,7 +157,7 @@ make_fake_boot <- function(mod, n = 100, strat_cols = c("SEX", "ETN")){
# Unlike make_fake_boot however, the simulation will have a status of "Not Run"
make_fake_sim <- function(mod, mod_id = "mod-sim", n = 100){
mod_sim <- copy_model_from(mod, mod_id) %>% update_model_id()
model_dir <- get_model_working_directory(mod)
model_dir <- bbr:::get_model_working_directory(mod)
new_dir_path <- file.path(model_dir, mod_id)
fs::dir_copy(mod$absolute_model_path, new_dir_path)
mod_sim <- add_msf_opt(mod_sim)
Expand Down

0 comments on commit 48ca4e0

Please sign in to comment.