Description Usage Arguments Value Author(s)
View source: R/00.Miscellaneous.R
Behaves like try
to return try-error
object on an error. If a warning is encountered it is checked against the specified regular expression regexp
. If the warning message matches the regular expression, it is handled as an error and return try-error
object.
1 |
expr |
expression to be evaluated that may give an warning or error. |
regexp |
regular expression to specify warning to be handled as an error. |
silent |
whether to silence error/warning messages. |
try-error
object if an error or a specified warning is encountered. Otherwise, the result of evaluation returns.
Kazuki Yoshida
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.