From e8f45bca9af62b76f1dabc156917065f836d9b2b Mon Sep 17 00:00:00 2001 From: Thomas Mailund Date: Fri, 23 Mar 2018 08:24:58 +0100 Subject: [PATCH] Updated documentation so the package checks. --- R/condition-handling.R | 3 +++ man/rewrite_callbacks.Rd | 3 ++- man/warning_flags.Rd | 3 +++ 3 files changed, 8 insertions(+), 1 deletion(-) diff --git a/R/condition-handling.R b/R/condition-handling.R index 9339ae0..17c3dd4 100644 --- a/R/condition-handling.R +++ b/R/condition-handling.R @@ -1,6 +1,9 @@ # FIXME: Document the warning flags id:16 gh:40 ic:gh #' Collection of warning flags used when traversing expressions. +#' +#' @param flags Used when setting or unsetting flags. +#' #' @export warning_flags <- function() { list( diff --git a/man/rewrite_callbacks.Rd b/man/rewrite_callbacks.Rd index c1d2211..d5550a2 100644 --- a/man/rewrite_callbacks.Rd +++ b/man/rewrite_callbacks.Rd @@ -54,7 +54,8 @@ formal parameters of the function we are translating. \item \code{with_call_callback}: Set the call callback function. -\item \code{with_topdown_callback}: Set the topdown information passing callback function. +\item \code{with_topdown_callback}: Set the topdown information passing callback +function. }} \seealso{ diff --git a/man/warning_flags.Rd b/man/warning_flags.Rd index 93c9f99..552caf0 100644 --- a/man/warning_flags.Rd +++ b/man/warning_flags.Rd @@ -18,6 +18,9 @@ set_warn_on_local_function(flags) unset_warn_on_local_function(flags) } +\arguments{ +\item{flags}{Used when setting or unsetting flags.} +} \description{ Collection of warning flags used when traversing expressions. }