Skip to contents

Initialize a template repository from GitHub Templates

Usage

init_template(template_name, path = getwd(), confirm = TRUE)

Arguments

template_name

Name of template. "shiny", "cgds"

path

Path where project template will be created.

Value

Return project structure from selected github template at path specified.

Examples

init_template("shiny",getwd())
#> You current working directory will be:
#> /home/runner/work/peacock/peacock/docs/referenceDo you wish to create a project template here? (y/yes to confirm): 
#> Project initialization canceled.