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
499 B
17 lines
499 B
#' Use base R versions of `purrr` `keep` functions
|
|
#'
|
|
#' * Creates base R versions of `purrr` `keep` fuctions.
|
|
#'
|
|
#' These support formula functions (i.e. `~{}`).
|
|
#'
|
|
#' @md
|
|
#' @param save_as File path and name. Defaults to "`R/utils-keepers.R`"
|
|
#' @param open if `TRUE`, open the resultant file
|
|
#' @export
|
|
use_keepers <- function(save_as = "R/utils-keepers.R", open = TRUE) {
|
|
|
|
check_is_package("use_keepers()")
|
|
|
|
use_template("keepers.R", save_as = save_as, open = open, package = "freebase")
|
|
|
|
}
|
|
|