From d22e6ae8e4969aaed9cf66de2f0bffac413181b7 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Tue, 26 Mar 2024 13:36:09 -0700 Subject: [PATCH] remove reference to specific functions in help (#2534) --- R/undesirable_function_linter.R | 3 +-- man/undesirable_function_linter.Rd | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/R/undesirable_function_linter.R b/R/undesirable_function_linter.R index 762ecda5d..9118e9a01 100644 --- a/R/undesirable_function_linter.R +++ b/R/undesirable_function_linter.R @@ -1,7 +1,6 @@ #' Undesirable function linter #' -#' Report the use of undesirable functions (e.g. [base::return()], [base::options()], or -#' [base::sapply()]) and suggest an alternative. +#' Report the use of undesirable functions and suggest an alternative. #' #' @param fun Named character vector. `names(fun)` correspond to undesirable functions, #' while the values give a description of why the function is undesirable. diff --git a/man/undesirable_function_linter.Rd b/man/undesirable_function_linter.Rd index 210042457..1a73f29ce 100644 --- a/man/undesirable_function_linter.Rd +++ b/man/undesirable_function_linter.Rd @@ -20,8 +20,7 @@ use \code{\link[=modify_defaults]{modify_defaults()}}.} name as a symbol undesirable or not.} } \description{ -Report the use of undesirable functions (e.g. \code{\link[base:function]{base::return()}}, \code{\link[base:options]{base::options()}}, or -\code{\link[base:lapply]{base::sapply()}}) and suggest an alternative. +Report the use of undesirable functions and suggest an alternative. } \examples{ # defaults for which functions are considered undesirable