Description Usage Arguments Details Value
View source: R/check_command.R
Check if command exists
1 2 3 4 5 6 7 8 9 10 11 | check_command(x)
assert_command(x, .var.name = checkmate::vname(x), add = NULL)
test_command(x)
checkCommand(x)
assertCommand(x, .var.name = checkmate::vname(x), add = NULL)
testCommand(x)
|
x |
[ |
.var.name |
[ |
add |
[ |
See checkmate
for details.
If the check is successful, i.e. the system command is found, returns TRUE
. If the check is not successful, returns a string with the error message.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.