withWE | R Documentation |
Not exported. Strictly internal
withWE(expr)
expr |
The expression to be evaluated. |
In cas of Warning(s)Returns the value along with the warning message(s).
In cas of ErrorReturns NA as the value along with the error message.
foo <- function(){
warning("oops")
1}
foo <- function(){
warning("oops")
warning("again oops")
1}
foo <- function(){
warning("oops")
log("a")}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.