R 3.3.2
is an old version. You may have an old version of yaml
eval.expr
appeared in 2.1.19
See https://cran.r-project.org/web/packages/yaml/ChangeLog
You must have a version of yaml
that correspond to the one that knitr needs. knitr 1.21
needs yaml
>= 2.1.19 (see cran page)
Can you check the version of your ?
Can you upgrade all your components ?
You'll need to get the correct version otherwise. The CRAN time machine for MRAN could help get the at the date of 3.3.2