From ea0d3fff863c407623a6d33a1fe446b37bf4ce01 Mon Sep 17 00:00:00 2001 From: Sebastian Funk Date: Wed, 8 May 2024 10:41:38 +0100 Subject: [PATCH] write executable to temporary directory Closes #662. --- R/stan.R | 1 + 1 file changed, 1 insertion(+) 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)