.yaml error message

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

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".

2 Likes

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

Glad to hear it! Happy coding. :slightly_smiling_face:

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.