Lint select subdirectories in a package directory.
Details
Will look for files in the following directories:
"R", "tests", and conditionally "inst/shiny"
if shiny is TRUE.
Examples
lintPkgDirs(
pkg_dir= system.file(package = "gDRstyle", "tst_pkgs", "dummy_pkg"))
#> Linting file: /tmp/RtmpWNk6yX/temp_libpath1a031727199f/gDRstyle/tst_pkgs/dummy_pkg/R/test.R
#> Linting file: /tmp/RtmpWNk6yX/temp_libpath1a031727199f/gDRstyle/tst_pkgs/dummy_pkg/tests/testthat.R
#> Linting file: /tmp/RtmpWNk6yX/temp_libpath1a031727199f/gDRstyle/tst_pkgs/dummy_pkg/tests/testthat/test-pkg.R
#> All files OK!