R/NAMESPACE.R

Defines functions extract2 extract flatmap

#' @importFrom magrittr %>%
#' @importFrom stats update as.formula
NULL

# resolves dependency to dat
flatmap <- function(...) unlist(lapply(...))
extract <- function(x, ...) x[...]
extract2 <- function(x, ...) extract(x, ...)[[1]]
wahani/templates documentation built on March 16, 2024, 11:30 a.m.