Skip to content

Commit

Permalink
Export epinow2_cmdstan_model() function (#684)
Browse files Browse the repository at this point in the history
* Export epinow2_cmdstan_model() function

* undo breaking

* update documentation

---------

Co-authored-by: Sebastian Funk <[email protected]>
  • Loading branch information
adamkucharski and sbfnk authored May 29, 2024
1 parent 5c5a726 commit 4915906
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 2 deletions.
1 change: 1 addition & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ export(dist_fit)
export(dist_skel)
export(dist_spec)
export(epinow)
export(epinow2_cmdstan_model)
export(estimate_delay)
export(estimate_infections)
export(estimate_secondary)
Expand Down
2 changes: 1 addition & 1 deletion R/stan.R
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' @param ... Additional arguments passed to [cmdstanr::cmdstan_model()].
#'
#' @return A `cmdstanr` model.
#' @keywords internal
#' @export
epinow2_cmdstan_model <- function(model = "estimate_infections",
dir = system.file(
"stan", package = "EpiNow2"
Expand Down
1 change: 0 additions & 1 deletion man/epinow2_cmdstan_model.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 4915906

Please sign in to comment.