rcmdcheck_process is an R6 class, that extends the callr::rcmd_process class (which in turn extends processx::process.
1 2 3 4 5
Other methods are inherited from callr::rcmd_process and processx::process.
Note that you calling the
get_error_connection method on this is not a good idea, because
then the stdout and/or stderr of the process will not be collected
You can still use the
methods to read the standard output and error,
not affected by that.
cp: A new rcmdcheck_process object.
path: Path to a package tree or a package archive file. This is the
package to check.
args: Command line arguments to
R CMD check.
build_args: Command line arguments to
R CMD build.
check_dir: Directory for the results.
libpath: The library path to set for the check.
repos option to set for the check.
This is needed for cyclic dependency checks if you use the
--as-cran argument. The default uses the current value.
Most methods are inherited from callr::rcmd_process and processx::process.
cp$parse_results() parses the results, and returns an S3 object with
notes, just like
is an error to call it before the process has finished. Use the
wait() method to wait for the check to finish, or the
method to check if it is still running.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.