Create a structured project from a given template. You can find example of
projects built with {structured}
here.
structure_project( path, level = c("Basic", "Intermediate"), type = c("Script", "R Markdown (Simplified)", "R Markdown", "Targets", "Shiny", "None"), open = FALSE )
path | Path to the new project. |
---|---|
level | Project level. One of "Basic" or "Intermediate". Default to "Basic". |
type | Project type. One of "Script", "R Markdown (Simplified)", "R Markdown", "Targets", "Shiny" or "None". Default to "Script". |
open | Open option. If |
Return the project path invisibly.
if (FALSE) { structure_project("cool-project", level = "Basic", type = "Script") }