Open nicolehillsmall opened 4 years ago
I don't see anything obvious, but it is helpful to include the actual code instead of a screen shot for inspection.
Note that things like using tabs instead of spaces, absences of spaces after colons, and other small things can break the YAML headers (I can't check these from the image you sent).
This page is helpful and suggests a validator that you can try:
https://help.github.jp/enterprise/2.11/user/articles/page-build-failed-config-file-error/
UPDATE:
I had a teeny tiny extra space before Table
Got it!
It places the error at the start of the table (line 18) even though it was at 23.
Did you find this with the YAML de-linter?
I did use the YAML delinter and it gave me this error for that code chunk :
Error : You cannot define a mapping item when in a sequence Line : undefined undefined
OK, I was curious how well it would work.
Sounds like it was not perfect!
But it at least confirmed there was an anomaly.
Now you can see why I like that R completely ignores spaces :-)
I had this same error. I reformatted all of the resources because I couldn't find what was tripping me up. Worked out tho!
YAML stresses me out. It is very sensitive to spaces and things like quotes around values.
I take extra caution when editing YAML fields to make sure extra spaces don't find their way into the code and everything has consistent styling.
Some of the data formats that are older than CSV would use positions in the file to designate columns instead of a delimiter. These had similar issues.
CSV is a second-gen storage format. The new formats like JSON use brackets around content so there is no ambiguity.
But YAML essentially reverts back to first-generation standards that were abandoned everywhere else. Super simple to create, but also simple to break.
¯\_(ツ)_/¯
When trying to commit new changes, I keep getting the following error:
You have an error on line 18 of your _config.yml file.
I don't see anything out of the ordinary with line 18 though...
@lecy