Learn R Programming

usethis (version 1.1.0)

use_template: Use a usethis template

Description

Use a usethis template

Usage

use_template(template, save_as = template, data = list(), ignore = FALSE,
  open = FALSE)

Arguments

template

Template name

save_as

Name of file to create. Defaults to save_as

data

A list of data passed to the template.

ignore

Should the newly created file be added to .Rbuildignore?

open

Should the new created file be opened in RStudio?

Value

A logical vector indicating if file was modified.