I receive the same yaml.load error when I try to knit the rMarkdown and rNotebook stubs (i.e., no mods made to the files by me):
Error in yaml::yaml.load(..., eval.expr = TRUE) :
unused argument (eval.expr = TRUE)
Calls: ... parse_yaml_front_matter -> yaml_load ->
I have tried reinstalling yaml, as per the directions in Error in RMarkdown knit yaml. After I reinstalled yaml, answering "y" to the question, "Do you want to install from sources the package which needs compilation?", the following error appeared:
xcrun: error: invalid active developer path (/Library/Developer/CommandLineTools), missing xcrun at: /Library/Developer/CommandLineTools/usr/bin/xcrun
ERROR: compilation failed for package ‘yaml’
- removing ‘/Users/lewgutman/Library/R/3.3/library/yaml’
If I click "n" to the reinstall question, I receive the same yaml.load error.
Other solutions offered by the community topic above also yielded the same yaml.load error.
I have the latest version of rStudio loaded on my Mac (OS X 10.12.6) and am just learning how to use rStudio. Thanks in advance for any solutions.