possibly2
possibly2.Rd
traditional purrr::possibly()
with dynamic otherwise
method
Arguments
- .f
A function, formula, or vector (not necessarily atomic).
- otherwise
Default function to use when an error occurs., Default: NULL
Examples
if (FALSE) {
if (interactive()) {
# EXAMPLE1
}
}