A ‘usethis’-esque Package for Base R Versions of ‘tidyverse’ Code
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
499 B

#' Use base R versions of `purrr` `walk` functions
#'
#' * Creates base R versions of `purrr` `walk` functions
#'
#' These support formula functions (i.e. `~{}`).
#'
#' @md
#' @param save_as File path and name. Defaults to "`R/utils-walkers.R`"
#' @param open if `TRUE`, open the resultant file
#' @export
use_walkers <- function(save_as = "R/utils-walkers.R", open = TRUE) {
check_is_package("use_walkers()")
use_template("walkers.R", save_as = save_as, open = open, package = "freebase")
}