use_tidytemplate: Call and open the tidytemplate

View source: R/use_tidytemplate.R

use_tidytemplateR Documentation

Call and open the tidytemplate

Description

Use the tidytemplate Rmd for starting your analysis with a leg up for processing

Usage

use_tidytemplate(name = NULL, open = interactive(), ..., refdate = today())

Arguments

name

name of your TidyTuesday analysis file

open

should the file be opened after being created

...

arguments to be passed to usethis::use_template()

refdate

date to use as reference to determine which TidyTuesday to use for the template. Either date object or character string in YYYY-MM-DD format.

Value

A logical vector indicating whether the file was created or modified, invisibly.

Examples



  use_tidytemplate(name = "My_Awesome_TidyTuesday.Rmd")


tidytuesdayR documentation built on Sept. 14, 2024, 9:08 a.m.