lintPkgDirs: Lint select subdirectories in a package directory.

View source: R/linter.R

lintPkgDirsR Documentation

Lint select subdirectories in a package directory.

Description

Lint select subdirectories in a package directory.

Usage

lintPkgDirs(pkg_dir = ".", shiny = FALSE)

Arguments

pkg_dir

String of path to package directory.

shiny

Boolean of whether or not a shiny directory should also be lint. Defaults to the current directory.

Details

Will look for files in the following directories: "R", "tests", and conditionally "inst/shiny" if shiny is TRUE.

Value

NULL invisibly.

Examples

lintPkgDirs(
    pkg_dir= system.file(package = "gDRstyle", "tst_pkgs", "dummy_pkg"))


gdrplatform/gDRstyle documentation built on Sept. 6, 2024, 10:01 a.m.