Installing all necessary packages to compile learn resources in one sweep
mhoehle opened this issue · comments
Michael Höhle 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...
Thibaut Jombart commented
This is being discussed as a project for tomorrow's hackathon:
RECON-gathering-March-2018/projects#6
Thibaut Jombart commented
The recommended approach (now in the README
) is:
if (!require("checkpoint")) {
install.packages("checkpoint")
}
install.packages(
checkpoint::scanForPackages(use.knitr = TRUE)$pkgs
)