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.
15 lines
488 B
15 lines
488 B
#' Use base-ified equivalents of 'map'-pers
|
|
#'
|
|
#' * Creates `R/utils-mappers.R` with base R pseudo-equivalents for `purrr` `map`-pers.
|
|
#'
|
|
#' @md
|
|
#' @param save_as Where to save/what to name the file. 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")
|
|
|
|
}
|