R CMD checkprocess in the background
cp <- rcmdcheck_process$new(path = ".", args = character(), build_args = character(), check_dir = NULL, libpath = .libPaths(), repos = getOption("repos")) cp$parse_results()
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.
env: A named character vector, extra environment variables to
set in the check 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.