Skip to content

Commit

Permalink
write executable to temporary directory
Browse files Browse the repository at this point in the history
Closes #662.
  • Loading branch information
sbfnk committed May 8, 2024
1 parent 0581a45 commit ea0d3ff
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions R/stan.R
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down

0 comments on commit ea0d3ff

Please sign in to comment.