Better exists()
better_exists( x, where = -1, mode = "any", inherits = TRUE, verbose = FALSE, ... )
| x | character vector length 1 or more, indicating the object names, with or without package prefix. |
|---|---|
| where, mode, inherits | arguments passed to |
| ... | additional arguments are passed to #' @examples exists("exists", where="package:base") better_exists("base::exists") |
logical vector with length equal to length(x). Note that
when a package prefix is supplied, when the package is not on
the search path this function returns FALSE, and does not
throw an error.