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
Only required if the argument is not evaluated before the new function is created:
power1 <- function(exp) { stopifnot(is.numeric(exp)) function(x) x ^ exp } x <- 2 square <- power1(x) x <- 3 square(4) #> [1] 16