<<<<<<< Updated upstream Initialize a Package Using a Standard Template — initialize_package • blaseRtemplatesInitialize a Package Using a Standard Template — initialize_package • blaseRtemplates Skip to contents

This wraps usethis::create_package() and adds a few additional templates.

Usage

initialize_package(
  path,
  fields = list(),
<<<<<<< Updated upstream
  roxygen = TRUE,
  check_name = TRUE,
  rstudio = rstudioapi::isAvailable(),
  open = rlang::is_interactive(),
  fresh_install = FALSE,
  path_to_cache_root = Sys.getenv("BLASERTEMPLATES_CACHE_ROOT")
=======
  rstudio = rstudioapi::isAvailable(),
  roxygen = TRUE,
  check_name = TRUE,
  open = rlang::is_interactive()
>>>>>>> Stashed changes
)

Arguments

path

path/name for the new package. It should include letters and "." only to be CRAN-compliant.

fields

named list of fields in addition to/overriding defaults for the DESCRIPTION file, Default: list()

<<<<<<< Updated upstream =======
rstudio

makes an Rstudio project, default is true

>>>>>>> Stashed changes
roxygen

do you plan to use roxygen2 to document package?, Default: TRUE

check_name

check if name is CRAN-compliant, Default: TRUE

<<<<<<< Updated upstream
rstudio

makes an Rstudio project, default is true

======= >>>>>>> Stashed changes
open

to open or not, Default: rlang::is_interactive()