What cute people say when they are pissed off
“Oh Drat, i lost my wallet”
Support for multiple repositories is built deeply into R; mostly via the (default) package
update.packages function (along with several others from the
utils package) can be used with ease for these three default repositories as well as many others. But it seemed that support for simple creation and use of local repositories was missing.
Drat tries to help here and supports two principal modes:
See the vignettes
for the FAQ, two principal uses cases, basic motivation and an overview / introduction. The package documentation provides more details. The drat package page has a longer tutorial, and the blog section on drat has even more.
You can install the package from CRAN via the standard
or alternatively, you can also do
to install directly from the drat repository.
A few drat repositories are starting to appear (besides this one). An incomplete list (looking at the direct forks as well as GitHub search):
Dirk Eddelbuettel, with contributions by Felix Ernst, Neal Fultz, Colin Gillespie, Christoph Stepper, Thomas Leeper, Mark van der Loo, Jan Gorecki, and others.
GPL (>= 2)