ymlthis stores the most recently printed yml object; you can use last_yml() to retrieve it to modify, pass to use_*() functions, and so on.

last_yml()

Examples

yml() %>%
  yml_author("Yihui Xie")
#> ---
#> date: '`r format(Sys.Date())`'
#> author: Yihui Xie
#> ---
#> 

last_yml()
#> ---
#> date: '`r format(Sys.Date())`'
#> author: Yihui Xie
#> ---
#>