check_rhub {devtools} | R Documentation |
Run CRAN checks for package on R-hub
Description
It runs build()
on the package, with the arguments specified
in args
, and then submits it to the R-hub builder at
https://builder.r-hub.io. The interactive
option controls
whether the function waits for the check output. Regardless, after the
check is complete, R-hub sends an email with the results to the package
maintainer.
Usage
check_rhub(
pkg = ".",
platforms = NULL,
email = NULL,
interactive = TRUE,
build_args = NULL,
...
)
Arguments
pkg |
The package to use, can be a file path to the package or a
package object. See |
platforms |
R-hub platforms to run the check on. If |
email |
email address to notify, defaults to the maintainer address in the package. |
interactive |
whether to show the status of the build interactively. R-hub will send an email to the package maintainer's email address, regardless of whether the check is interactive or not. |
build_args |
Arguments passed to |
... |
extra arguments, passed to |
Value
a rhub_check
object.
About email validation on r-hub
To build and check R packages on R-hub, you need to validate your
email address. This is because R-hub sends out emails about build
results. See more at rhub::validate_email()
.
See Also
Other build functions:
check_mac_release()
,
check_win()