.yaml error message

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