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")
#> --- #> author: Yihui Xie #> date: '`r format(Sys.Date())`' #> --- #>
last_yml()
#> --- #> author: Yihui Xie #> date: '`r format(Sys.Date())`' #> --- #>