Skip to content

Commit

Permalink
Forgot to export function
Browse files Browse the repository at this point in the history
  • Loading branch information
andrjohns committed Jan 19, 2024
1 parent dcf3ef2 commit 38a67d7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,7 @@ export(predictive_interval)
export(prior_summary)
export(rstan_config)
export(rstan_create_package)
export(rstantools_load_code)
export(use_rstan)
importFrom(RcppParallel,RcppParallelLibs)
importFrom(stats,quantile)
Expand Down
1 change: 1 addition & 0 deletions R/rstan_package_utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -114,6 +114,7 @@
#' @param ... Additional arguments passed to \code{\link{source}}
#'
#' @return \code{NULL}
#' @export
rstantools_load_code <- function(path, trace = TRUE, ...) {
op <- options(); on.exit(options(op)) # to reset after each
for (nm in list.files(path, pattern = "[.][RrSsQq]$")) {
Expand Down

0 comments on commit 38a67d7

Please sign in to comment.