R/str-give-ext.R

Defines functions str_give_ext

Documented in str_give_ext

#' Ensure a file name has the intended extension.
#'
#' Copy of [strex::str_give_ext()].
#'
#' @inheritParams match_arg
#' @export
str_give_ext <- function(...) {
  strex::str_give_ext(...)
}

#' @rdname str_give_ext
#' @export
give_ext <- str_give_ext

Try the filesstrings package in your browser

Any scripts or data that you put into this service are public.

filesstrings documentation built on May 29, 2024, 3:32 a.m.