purrr:safely wrappers for various functions
Usage
safely_run_single_sim(...)
Arguments
- ...
args to be passed
Value
A list with two elements:
result
: The result of run_single_sim
, or NULL
if an error occurred.
error
: The error that occurred, or NULL
if no error occurred.