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