mirror of https://git.sr.ht/~hrbrmstr/freebase
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
17 lines
498 B
17 lines
498 B
#' Use base R versions of `purrr` `map` functions
|
|
#'
|
|
#' * Creates base R versions of `purrr` `map` functions.
|
|
#'
|
|
#' These support formula functions (i.e. `~{}`).
|
|
#'
|
|
#' @md
|
|
#' @param save_as File path and name. Defaults to "`R/utils-mappers.R`"
|
|
#' @param open if `TRUE`, open the resultant file
|
|
#' @export
|
|
use_mappers <- function(save_as = "R/utils-mappers.R", open = TRUE) {
|
|
|
|
check_is_package("use_mappers()")
|
|
|
|
use_template("mappers.R", save_as = save_as, open = open, package = "freebase")
|
|
|
|
}
|
|
|