Skip to content

Commit

Permalink
docs: expand on the docs to provide more context to its use
Browse files Browse the repository at this point in the history
  • Loading branch information
lwjohnst86 committed Mar 8, 2024
1 parent ec1e7aa commit 27fea17
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions R/verify-variables.R
Original file line number Diff line number Diff line change
@@ -1,8 +1,12 @@
#' Verify that the dataset has the required variables for the algorithm.
#'
#' Use this function within an `if` condition inside a function to provide an
#' informative error message within the function used. This is done to make the
#' error message more informative to the location that the error actually
#' occurs, rather than within this function.
#'
#' @param data The dataset to check.
#' @param register The abbreviation of the register name. See list of
#' abbreviations in [get_register_abbrev()].
#' @inheritParams get_required_variables
#'
#' @return Either TRUE if the verification passes, or a character string if
#' there is an error.
Expand Down

0 comments on commit 27fea17

Please sign in to comment.