R markdown error in evaluate_call(...) when knitting any Rmd file

knitr, r, r-markdown

Solution

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

Problem

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.

Original source

Related problems