stopaste {W4MRUtils} | R Documentation |
stopaste - to paste string to a message and stop
Description
stopaste calls paste of its parameters to build the error message and stops with the given message
Usage
stopaste(...)
Arguments
... |
Arguments passed on to
|
Author(s)
L.Pavot
Examples
tryCatch({
file <- "/tmp/test"
stopaste("Error in file: ", file)
}, error = function(error) {
print(error)
})
[Package W4MRUtils version 1.0.0 Index]