Skip to contents

traditional purrr::possibly() with dynamic otherwise method

Usage

possibly2(.f, otherwise = NULL)

Arguments

.f

A function, formula, or vector (not necessarily atomic).

otherwise

Default function to use when an error occurs., Default: NULL

Value

OUTPUT_DESCRIPTION

Details

DETAILS

Examples

if (FALSE) {
if (interactive()) {
  # EXAMPLE1
}
}