R Markdown cannot Knit HTML; YAML Error

This is an issue with version of yaml and version of knitr. You need 2 version compatible with each other. Either upgrade everything or choose your version.

See this answer for details