Installing all necessary packages to compile learn resources in one sweep
mhoehle opened this issue · 2 comments
mhoehle commented
Is there a clever way to install all necessary packages to have blogdown compile the learn ressources in one sweep? Spent 30 minutes continously installing additional packages before the thing compiled...
thibautjombart commented
This is being discussed as a project for tomorrow's hackathon:
RECON-gathering-March-2018/projects#6
thibautjombart commented
The recommended approach (now in the README
) is:
if (!require("checkpoint")) {
install.packages("checkpoint")
}
install.packages(
checkpoint::scanForPackages(use.knitr = TRUE)$pkgs
)