This function calls quarto create project <type> <name>
. It will create a
new directory with the project name and add some skeletons files for the
project type chosen.
Usage
quarto_create_project(
name,
type = "default",
dir = ".",
no_prompt = FALSE,
quiet = FALSE,
quarto_args = NULL
)
Arguments
- name
The name of the project and the directory that will be created.
- type
The type of project to create. As of 1.4, it can be one of
default
,website
,blog
,book
,manuscript
,confluence
.- dir
The directory where to create the new Quarto project.
- no_prompt
Do not prompt to confirm approval to download external extension.
- quiet
Suppress warning and other messages.
- quarto_args
Character vector of other
quarto
CLI arguments to append to the Quarto command executed by this function. This is mainly intended for advanced usage and useful for CLI arguments which are not yet mirrored in a dedicated parameter of this R function. Seequarto render --help
for options.
Quarto version required
This function require Quarto 1.4 or higher. Use quarto_version()
to check
the version of Quarto detected.
See also
Quarto documentation on Quarto projects