R/dir_create_with_file_path.R

Defines functions dir_create_with_file_path

Documented in dir_create_with_file_path

#' Create directory and output its path
#'
#' @param ... Arguments of `file.path()`.
#'
#' @export

dir_create_with_file_path <- function(...) {

  d <- file.path(...)
  dir.create(d, showWarnings = FALSE, recursive = TRUE)
  return(d)

}
YT100100/TodaFunc documentation built on Nov. 16, 2023, 1:12 a.m.