ghclass icon indicating copy to clipboard operation
ghclass copied to clipboard

Missing `description` in `template.yaml`

Open renkun-ken opened this issue 2 years ago • 1 comments

Looks like the templates provided in the package does not work with rmarkdown::draft():

> rmarkdown::draft(file = "test-ghclass.Rmd", template = "review", package = "ghclass")                                          
Error in rmarkdown::draft(file = "test-ghclass.Rmd", template = "review",  : 
  template.yaml must contain name and description fields

Related https://github.com/REditorSupport/vscode-R/issues/1044.

renkun-ken avatar Mar 13 '22 16:03 renkun-ken

description is a required field but https://github.com/rstudio/rmarkdown/issues/2329 indicates that it is not documented.

renkun-ken avatar Mar 13 '22 16:03 renkun-ken