yaml_today: yaml_today

View source: R/nice_things.R

yaml_todayR Documentation

yaml_today

Description

A truly lazy way to insert today's date into an Rmarkdown document. To use, write date: nicethings::yaml_today() in the YAML header of an Rmarkdown document. Pinched from https://stackoverflow.com/a/25389694

Usage

yaml_today()

Examples

## Not run: 
 # An example yaml header would go
 date: '`r nicethings::yaml_today()`'

## End(Not run)

simonthelwall/nicethings documentation built on Feb. 27, 2023, 3:15 p.m.