Skip to content
Michel Lang edited this page Sep 14, 2020 · 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)

How to keep all mlr3 packages up-to-date?

Either run R's update.packages() to update all installed packages, or run

devtools::update_packages("mlr3verse", dependencies = TRUE)

to update only packages from the mlr3verse. Note that this also updates recursive dependencies not listed as direct import.

Clone this wiki locally