create_rtemp: Create a new directory with the specified R template

View source: R/create_temp.R

create_rtempR Documentation

Create a new directory with the specified R template

Description

This function creates a new directory under the current directory, which will contain the given files of the specified template, ready to be rendered.

Usage

create_rtemp(dirname = "new-dir", template = "united_html")

Arguments

dirname

name of the directory to create. If not specified, a directory new-dir will be created.

template

which template to use?

Details

The available templates are: united_html (default), bookdown_lite. The name of the main .Rmd file will be index.Rmd.

Examples

## Not run: 
create_rtemp(dirname = "tmp_dir", template = "united_html")

## End(Not run)


bblodfon/rtemps documentation built on Aug. 11, 2022, 11:53 a.m.