.create.project.existing
creates a project directory structure inside
an existing directory with the default files from a given template.
.create.project.new
first creates a new directory and then passes
further control to .create.project.existing
. In case the project
creation fails, the newly created directory is cleaned up.
.create.project.existing(
project.name,
merge.strategy,
template,
rstudio.project
).create.project.new(project.name, template, rstudio.project)
No value is returned; this function is called for its side effects.
Character vector with the name of the project directory
Character vector determining whether the directory should be empty or is allowed to contain non-conflicting files
Name of the template from which the project should be created
Logical indicating whether an .Rproj
file
should be created
create.project
, create.template