Skip to content

Commit

Permalink
fix get params example
Browse files Browse the repository at this point in the history
  • Loading branch information
kaitejohnson committed Jul 9, 2024
1 parent a3f9c56 commit 66a8b05
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
5 changes: 4 additions & 1 deletion R/get_params.R
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,10 @@
#' @export
#'
#' @examples
#' params <- get_params("input/params.toml")
#' params <- get_params(param_file = fs::path_package("extdata",
#' "example_params.toml",
#' package = "wwinference"
#' ))
get_params <- function(param_file) {
paramlist <- RcppTOML::parseTOML(param_file)
validate_paramlist(paramlist)
Expand Down
5 changes: 4 additions & 1 deletion man/get_params.Rd

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

0 comments on commit 66a8b05

Please sign in to comment.