R/prep_namespace.R

Defines functions namespace

#' @include lists.R prep_utils.R

PREPS$namespace <- function(state, path = state$path, quiet) {
  path <- normalizePath(path)
  run_prep_step(state, "namespace", function(path) {
    parseNamespaceFile(basename(path), file.path(path, ".."))
  }, 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.