powered by
Check whether an object is an error or a warning.
is.e(obj)# S3 method for default is.e(obj)# S3 method for err is.e(obj)is.w(obj)# S3 method for default is.w(obj)# S3 method for err is.w(obj)is.problem(obj)
# S3 method for default is.e(obj)
# S3 method for err is.e(obj)
is.w(obj)
# S3 method for default is.w(obj)
# S3 method for err is.w(obj)
is.problem(obj)
Object to check.
A boolean value.
is.e: Whether the object is an error.
is.e
is.w: Whether the object is a warning.
is.w
is.problem: Whether the object is an error or a warning.
is.problem
# NOT RUN { err <- e("Whoops!") is.e(err) is.w(err) # }
Run the code above in your browser using DataLab