Skip to content
Michel Lang edited this page Oct 27, 2019 · 8 revisions

FAQ

Caching of knitr/rmarkdown chunks does not work with mlr3.

knitr per default uses R's lazy-load database to store the results of individual chunks. The lazy-load database is an internal feature of R, and has issues handling active bindings. Fortunately, it is possible to disable lazy-loading by setting the chunk option cache.lazy to FALSE:

knitr::opts_chunk$set(cache = TRUE, cache.lazy = FALSE)
Clone this wiki locally