checks | R Documentation |
Check whether an object is an error or a warning.
is.e(obj)
## Default S3 method:
is.e(obj)
## S3 method for class 'err'
is.e(obj)
is.w(obj)
## Default S3 method:
is.w(obj)
## S3 method for class 'err'
is.w(obj)
is.problem(obj)
obj |
Object to check. |
A boolean value.
is.e
: Whether the object is an error.
is.w
: Whether the object is a warning.
is.problem
: Whether the object is an error or a warning.
err <- e("Whoops!")
is.e(err)
is.w(err)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.