yaml_today: yaml_today

Description Usage Examples

View source: R/rmarkdown.R

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 and nicethings

Usage

1

Examples

1
2
3
4
5
## Not run: 
 # An example yaml header would go
 date: '`r nicethings::yaml_today()`'

## End(Not run)

mcguinlu/mal documentation built on Sept. 22, 2020, 11:44 p.m.