diff --git a/R/stan.R b/R/stan.R index e7ff91073..63ad24495 100644 --- a/R/stan.R +++ b/R/stan.R @@ -39,6 +39,7 @@ epinow2_cmdstan_model <- function(model = "estimate_infections", model <- monitor(cmdstanr::cmdstan_model( model_file, include_paths = dir, + dir = tempdir(), ... )) return(model)