R/prep_tidyverse.R

Defines functions tidyverse

#' @include lists.R prep_utils.R
#' @importFrom lintr lint_package

PREPS$tidyverse <- function(state, path = state$path, quiet) {
  path <- normalizePath(path)
  excl <- as.list(state$exclude_path %||% character())
  run_prep_step(state, "tidyverse_lintr", function(path) {
    suppressMessages(lint_package(path, exclusions = excl))
  }, path = path, silent = quiet)
}

Try the goodpractice package in your browser

Any scripts or data that you put into this service are public.

goodpractice documentation built on June 5, 2026, 5:06 p.m.