rmarkdown icon indicating copy to clipboard operation
rmarkdown copied to clipboard

`rmarkdown::draft()` has incorrect documentation for `template.yaml`

Open AshesITR opened this issue 3 years ago • 1 comments

Code and documentation mismatch regarding the template YAML: description is a required field (as per code) but is never mentioned in the documentation.

https://github.com/rstudio/rmarkdown/blob/6fc53d89826491100c77f7790169f8afd629907c/R/draft.R#L34-L39

https://github.com/rstudio/rmarkdown/blob/6fc53d89826491100c77f7790169f8afd629907c/R/draft.R#L83-L85

AshesITR avatar Mar 09 '22 11:03 AshesITR

Thanks for the report. We'll amend the doc.

cderv avatar Mar 09 '22 15:03 cderv