To install EpiForecast packages, you should use the {drat} package:
install.packages("drat")
Now you can use {drat} to register the EpiForecast repository as a valid repository:
drat:::add("epiforecasts")
Now you can install any of the EpiForecast development packages:
install.packages("EpiNow2")
install.packages("RtD3")
install.packages("EpiSoon")
install.packages("covidregionaldata")
install.packages("scoringutils")
This repository was adapted from here. We would like to thank @zkamvar for their work implementing this approach along with the authors of {drat}
and {drat.builder}
.
The packages included in this drat repository are maintained in the packages.txt, which contains the github accounts and names of the packages.
The data and metadata associated with this page are built with the {drat.builder} package.
This page is maintained under a GitHub Action that will check if the packages updated and build them to this repo. If you want to update a package (e.g. change its version number), edit the packages.txt file and the [GitHub Action] will update the packages automagically.
Assuming the above works just fine, you shouldn't have to use this, but it is here for posterity.
Install {drat.builder} via {remotes}:
remotes::install_github("richfitz/drat.builder")
Steps for updating this page:
drat.builder::build()