Skip to content

Commit

Permalink
correct location for stan files
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Oct 7, 2024
1 parent 4940197 commit e0b5298
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -31,8 +31,8 @@
packageStartupMessage("Copying stan files")
bin_stan <- file.path(libname, pkgname, "bin", "stan")
source_path <- file.path(libname, pkgname, "src", "stan")

fs::dir_copy(path = source_path, new_path = bin, overwrite = TRUE)
fs::dir_copy(path = source_path, new_path = bin_stan, overwrite = TRUE)
message(fs::dir_ls(bin))
instantiate::stan_package_compile(
models = instantiate::stan_package_model_files(path = bin_stan),
cpp_options = list(stan_threads = TRUE),
Expand Down

0 comments on commit e0b5298

Please sign in to comment.