This is usethis::create_package() with some additional messages to simplify the transition into the new project setting
use_compendium(
path = getwd(),
fields = getOption("usethis.description"),
rstudio = rstudioapi::isAvailable(),
open = TRUE,
quiet = FALSE,
simple = TRUE,
welcome_message = TRUE
)location to create new package. The last component of the path will be used as the package name
list of description values to override default values or add additional values
create an RStudio project file? (with usethis::use_rstudio)
if TRUE and in RStudio, the new project is opened in a new instance. If TRUE and not in RStudio, the working directory is set to the new project
if FALSE, the default, prints informative messages
if TRUE, the default, the R/ directory is not created, because it's not necessary for many if not most research repositories
if TRUE, rstudio, open and not quiet, then the .Rprofile file in the newly created package is prepopulated with a welcome message.