R/create.R

Defines functions create

Documented in create

#' Create a package
#'
#' @param path A path. If it exists, it is used. If it does not exist, it is
#'   created, provided that the parent path exists.
#' @param ... Additional arguments passed to [usethis::create_package()]
#' @inheritParams usethis::create_package
#' @return The path to the created package, invisibly.
#' @export
create <- function(path, ..., open = FALSE) {
  usethis::create_package(path, ..., open = open)
}
r-lib/devtools documentation built on Feb. 17, 2024, 5:32 p.m.