Skip to content

Commit

Permalink
Minor corrections to args checkers, WIP #175
Browse files Browse the repository at this point in the history
  • Loading branch information
pratikunterwegs committed Feb 27, 2024
1 parent c09de70 commit bd18005
Show file tree
Hide file tree
Showing 4 changed files with 64 additions and 6 deletions.
5 changes: 3 additions & 2 deletions R/check_args_default.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,9 @@
#' @title Prepare arguments to default epidemic function
#' @title Prepare arguments to default model function
#' @name prepare_default_args
#' @rdname prepare_default_args
#'
#' @description Prepare arguments to for [.model_default_cpp()].
#' @description Prepare arguments to [model_default_cpp()] for
#' [.model_default_cpp()].
#'
#' @param mod_args A named list of the population, and epidemic modifiers.
#'
Expand Down
4 changes: 2 additions & 2 deletions R/check_args_diphtheria.R
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
#' @rdname prepare_diphtheria_args
#'
#' @description Prepare arguments to [model_diphtheria_cpp()] for
#' [.model_default_cpp()].
#' [.model_diphtheria_cpp()].
#'
#' @param mod_args A named list of the population, and epidemic modifiers.
#'
Expand Down Expand Up @@ -50,7 +50,7 @@
#' @keywords internal
#' @details
#' `.check_prepare_args_diphtheria()` prepares arguments for
#' [.model_diphtheria_cpp()], which is the C++ function that solves the default
#' [.model_diphtheria_cpp()], which is the C++ function that solves the
#' ODE system using a Boost _odeint_ solver, by converting the arguments
#' collected in `mod_args` into simpler structures such as lists and numeric or
#' integer vectors that can be interpreted as C++ types such as `Rcpp::List`,
Expand Down
5 changes: 3 additions & 2 deletions man/prepare_default_args.Rd

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

56 changes: 56 additions & 0 deletions man/prepare_diphtheria_args.Rd

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

0 comments on commit bd18005

Please sign in to comment.