View source: R/check_package.R
check_package | R Documentation |
A convenience function that runs all packages related tests in sequence.
The details section lists the relevant functions.
After fixing a problem, you can quickly check if it is solved by running only
the related check.
But we still recommend to run check_package()
before you push to GitHub.
And only push when the functions indicate that there are no problems.
This catches most problems before sending the code to GitHub.
check_package(
x = ".",
fail = !interactive(),
pkgdown = interactive(),
quiet = FALSE
)
x |
Either a |
fail |
Should the function return an error in case of a problem?
Defaults to |
pkgdown |
Test pkgdown website.
Defaults to |
quiet |
Whether to print check output during checking. |
List of checks in order:
check_cran()
check_lintr()
check_filename()
check_description()
check_documentation()
check_codemeta()
Other package:
check_codemeta()
,
check_cran()
,
check_description()
,
check_documentation()
,
check_environment()
,
check_license()
,
tidy_desc()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.