diff --git a/NAMESPACE b/NAMESPACE index b477eeea6..9f562113c 100644 --- a/NAMESPACE +++ b/NAMESPACE @@ -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) diff --git a/R/stan.R b/R/stan.R index 63ad24495..204134793 100644 --- a/R/stan.R +++ b/R/stan.R @@ -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" diff --git a/man/epinow2_cmdstan_model.Rd b/man/epinow2_cmdstan_model.Rd index ddd496399..c87c5772f 100644 --- a/man/epinow2_cmdstan_model.Rd +++ b/man/epinow2_cmdstan_model.Rd @@ -30,4 +30,3 @@ A \code{cmdstanr} model. The function has been adapted from a similar function in the epinowcast package (Copyright holder: epinowcast authors, under MIT License). } -\keyword{internal}