quarto_create_project | R Documentation |
This function calls quarto create project <type> <name>
. It creates a new
directory with the project name, inside the requested parent directory, and
adds some starter files that are appropriate to the project type.
quarto_create_project(
name,
type = "default",
dir = ".",
no_prompt = FALSE,
quiet = FALSE,
quarto_args = NULL
)
name |
The name of the project and the directory that will be created. |
type |
The type of project to create. As of Quarto 1.4, it can be one of
|
dir |
The directory in which to create the new Quarto project, i.e. the parent directory. |
no_prompt |
Do not prompt to approve the creation of the new project folder. |
quiet |
Suppress warning and other messages, from R and also Quarto CLI
(i.e
On Github Actions, it will always be |
quarto_args |
Character vector of other |
This function requires Quarto 1.4 or higher. Use quarto_version()
to see
your current Quarto version.
Quarto documentation on Quarto projects
## Not run:
quarto_create_project("my-first-quarto-project", dir = "~/tmp")
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.