.yaml error message

rmarkdown

#1

Hi,
Does anyone know what's going wrong? I created a package to store my .rmd template. But every time I launch Rstudio and run some function. The error message pops up. I saw no problem in my .yaml file. It does not affect any functionality so far, but I just want to figure out what's wrong.
R version 3.4.3 (2017-11-30)
Thanks,
Lobshi


#2

This is the same Error you've asked about in the posts below

The issue is that the YAML file should end with a new line. To ensure that this happens, you can choose a setting in RStudio >> Preferences >> Code >> Saving tab and tick the radio button "Ensure that source files end with newline".

Your interface might look slightly different depending on what version of RStudio you have, but there should be something to the effect for "Ensure files end with newline".


#3

Get it. It works!! thank you so much!!


#4

Glad to hear it! Happy coding. :slightly_smiling_face:


closed #5

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.