Skip to content

Commit

Permalink
add pkgload
Browse files Browse the repository at this point in the history
  • Loading branch information
hillalex committed Oct 4, 2024
1 parent ceb1ee3 commit 73afdac
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
1 change: 1 addition & 0 deletions DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ Imports:
instantiate,
logger,
mosaic,
pkgload,
R6,
stats,
stringr,
Expand Down
4 changes: 2 additions & 2 deletions R/zzz.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
# system.file("bin/stan/model.stan", "epikinetics") will resolve correctly
bin <- file.path(libname, pkgname, "bin")
if (!dir.exists(bin)) {
message("Creating local bin directory")
packageStartupMessage("Creating local bin directory")
dir.create(bin, recursive = TRUE, showWarnings = FALSE)
}
bin_stan <- file.path(libname, pkgname, "bin", "stan")
Expand All @@ -25,6 +25,6 @@
cpp_options = list(stan_threads = TRUE),
stanc_options = list("O1")
)
message("Finished compiling models")
packageStartupMessage("Finished compiling models")
}
}

0 comments on commit 73afdac

Please sign in to comment.