diff --git a/R/lcols.R b/R/lcols.R index fa077ef..85e2038 100644 --- a/R/lcols.R +++ b/R/lcols.R @@ -50,7 +50,7 @@ lcols <- function(..., .default = zap()) { #' @export #' @return A tibblify field collector. #' @examples -#' \dontrun{lcol_lgl("a")} +#' lcol_lgl("a") lcol_lgl <- function(path, .default = zap(), .parser = NULL) { lifecycle::deprecate_warn("0.2.0", "lcol_lgl()", "tib_lgl()") tib_lgl(path, required = is_zap(.default), fill = if (!is_zap(.default)) .default, transform = .parser) diff --git a/man/lcol_lgl.Rd b/man/lcol_lgl.Rd index f53de15..79c7e20 100644 --- a/man/lcol_lgl.Rd +++ b/man/lcol_lgl.Rd @@ -62,6 +62,6 @@ A tibblify field collector. \code{lcols()} includes all fields in the input data, skipping the column types as the default. } \examples{ -\dontrun{lcol_lgl("a")} +lcol_lgl("a") } \keyword{internal}