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)
}
hadley/devtools documentation built on Feb. 22, 2024, 4:44 a.m.