Both functions change the active project so that subsequent use_ calls
will affect the project that you've just created. See proj_set() to
manually reset it.
create_package(path = ".", fields = getOption("devtools.desc"),
rstudio = rstudioapi::isAvailable(), open = interactive())create_project(path = ".", rstudio = rstudioapi::isAvailable(),
open = interactive())
A path. If it exists, it will be used. If it does not exist, it will be created (providing that the parent path exists).
A named list of fields to add to DESCRIPTION,
potentially overriding the defaults. If NULL, retrieved from
getOption("usethis.description"), and (for backward compatibility)
from getOption("devtools.desc").
Arguments that take a list
If TRUE, run use_rstudio().
If TRUE, will automatically open