create_rtemp {rtemps}R 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)


[Package rtemps version 0.8.0 Index]