git
GitHub
NULL
[[]]
$
@
slot()
dplyr::case_when
try()
suppressWarnings()
suppressMessages()
purrr
map_*()
map2_*()
walk()
imap()
pmap()
reduce()
map_df*()
pluck()
flatten()
NextMethod()
$print()
lubridate::period()
lobstr::ast():
recurse_call()
list2()
do.call
possibly() always succeeds. It is simpler than safely(), because you can give it a default value to return when there is an error.
possibly()
safely()
A <- list(1,10,"a") map_dbl(.x = A, .f = possibly(log, otherwise = NA_real_) ) #> [1] 0.000000 2.302585 NA