Check if an object is a try-error or is a vector containing at least one try-error member.

Check if an object is a try-error or is a vector containing at least one try-error member.

hasError(object, FLAGrecursive = TRUE)

Arguments

object

an R object.

FLAGrecursive

logical (default TRUE) relevant only if object is a vector. If TRUE and object is a vector, the first-level members of object are checked.

Value

Logical.