Check package
Usage
check(
path = getwd(),
lints = TRUE,
urls = TRUE,
styler = FALSE,
cran = FALSE,
biocCheck = TRUE,
coverage = FALSE
)
Arguments
- path
character(1)
. File path (e.g. to package).- lints
logical(1)
. Performlintr::lint_package()
checks.- urls
logical(1)
. Performurlchecker::url_check()
checks.- styler
logical(1)
. Performstyler::style_pkg()
checks. Currently using air by default for automatic reformatting, but this can be enabled to use styler formatting rules instead.- cran
logical(1)
. Perform additional CRAN submission checks.- biocCheck
logical(1)
. Perform additional Bioconductor checks.BiocCheck
is only called when we detect"biocViews"
metadata inDESCRIPTION
file, and when the directory name is identical to the package name.BiocCheck
currently errors on directory names that differ from package name.- coverage
logical(1)
. Check that unit tests provide sufficient coverage.