proj_create | R Documentation |
To create a new project, this function calls usethis::create_project()
,
then proj_use_description()
to create a DESCRIPTION
file.
The function acts in the same way as usethis::create_project()
; provide
an absolute path
, or a relative path
from your current working-directory.
proj_create( path, rstudio = rstudioapi::isAvailable(), open = rlang::is_interactive(), fields = list() )
path |
A path. If it exists, it is used. If it does not exist, it is created, provided that the parent path exists. |
rstudio |
If |
open |
If
|
fields |
A named list of fields to add to |
Invisible NULL
, called for side effects.
# not run because it produces side effects if (FALSE) { proj_create("../new-project-name") }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.