reconhub / learn

RECON learn: a free, open platform for training material on epidemics analysis

Home Page:https://reconlearn.org

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Installing all necessary packages to compile learn resources in one sweep

mhoehle opened this issue · comments

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...

This is being discussed as a project for tomorrow's hackathon:
RECON-gathering-March-2018/projects#6

The recommended approach (now in the README) is:

if (!require("checkpoint")) {
    install.packages("checkpoint")
}

install.packages(
    checkpoint::scanForPackages(use.knitr = TRUE)$pkgs
)