I can no longer knit any of my Rmd files to PDF or Html. It's the same error message every time:
Line 9 Error in evaluate_call(expr, parsed$src[[i]], envir = envir, enclos=enclos, : unused argument (include_timing = include_timing) Calls: ... call_block -> block_exec -> in_dir -> evalute -> evalute_call Execution halted
Line 9 is an auto-generated line when opening a new R markdown file:
{r setup, include=FALSE}
knitr::opts_chunk$set(echo = TRUE)
I've tried deleting it, changing TRUE
to FALSE
, and deleting part of it. It gives me the same error message stopped on the same line.
If you are still receiving the same error Yihui, from the same linked answer above says to update the evaluate
package. When I updated, the error stopped. I am currently running 3.3.1.
Yihui offered guidance in the knitr FAQ1 here: https://github.com/yihui/knitr/blob/master/FAQ.md
I had this exact problem when I tried to update knitr
to version 1.13 or 1.14. I get the same error if I try to knit with an R
version 3.2.x or 3.3.x. I suggest reverting to knitr
version 1.12 using the below. I don't get the above error with 1.12.
packageurl <- "http://cran.r-project.org/src/contrib/Archive/knitr/knitr_1.12.tar.gz"
install.packages(packageurl, repos=NULL, type="source")
Taken from this answer: getting a parser_all error in R when using knitr for converting a basic Rmd file into HTML. Still unsure what the issue is.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With