A wrapper around silently and attempt
silent_attempt(...)
the expression to evaluate
an error if any, a warning if any.
# NOT RUN { silent_attempt(warn("nop!")) # }
Run the code above in your browser using DataLab