You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This means that the default hook is tied to whatever version of evaluate was available at the time knitr was installed. If the version of evaluate changes, the knitr hook is not changed to reflect the new definition of evaluate::evaluate.
We have also seen this problem when trying to use knitr inside a packrat cache. In the packrat scenario, we may be using the same version of knitr with multiple versions of evaluate (depending on a particular piece of content).
You probably can avoid this issue with something like:
This old thread has been automatically locked. If you think you have found something related to this, please open a new issue by following the issue guide (https://yihui.org/issue/), and link to this old issue if necessary.
The default
evaluate
hook is defined as:knitr/R/hooks.R
Lines 9 to 14 in 0d648a6
This means that the default hook is tied to whatever version of
evaluate
was available at the timeknitr
was installed. If the version ofevaluate
changes, the knitr hook is not changed to reflect the new definition ofevaluate::evaluate
.This explains errors like:
Reported here:
https://stackoverflow.com/questions/40198189/r-markdown-error-in-evaluate-call-when-knitting-any-rmd-file
We have also seen this problem when trying to use knitr inside a packrat cache. In the packrat scenario, we may be using the same version of knitr with multiple versions of evaluate (depending on a particular piece of content).
You probably can avoid this issue with something like:
The text was updated successfully, but these errors were encountered: