system_check {devtools} | R Documentation |
Run a system command and check if it succeeds.
system_check(cmd, args = character(), env = character(), quiet = FALSE, ...)
cmd |
the command to run. |
args |
a vector of command arguments. |
env |
a named character vector of environment variables. Will be quoted |
quiet |
if |
... |
additional arguments passed to |
TRUE
if the command succeeds, an error will be thrown if the
command fails.