Skip to content

Commit ea0d3ff

Browse files
committed
write executable to temporary directory
Closes #662.
1 parent 0581a45 commit ea0d3ff

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

R/stan.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -39,6 +39,7 @@ epinow2_cmdstan_model <- function(model = "estimate_infections",
3939
model <- monitor(cmdstanr::cmdstan_model(
4040
model_file,
4141
include_paths = dir,
42+
dir = tempdir(),
4243
...
4344
))
4445
return(model)

0 commit comments

Comments
 (0)