stopError | R Documentation |
Convenience function for stop(simpleError())
stopError(...)
... |
Strings to be concatenated into error message |
Generates stopping error before returning tryCatch(stopError('Error: we had ',sum(1:10),' problems'),error=function(e)print(e))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.