Install packages from this repository like so (example for the reschola
package):
options(repos = c(getOption("repos"), "scholaempirica" = "https://scholaempirica.github.io/drat"))
install.packages("reschola")
Or, to gain more direct access to this package repository, put this in your .Rprofile:
local({r <- getOption("repos")
# add drat repo
r["scholaempirica"] <- "https://scholaempirica.github.io/drat"
options(repos=r)})
…then you will be able to do just
install.packages("reschola")
without any prior commands, even though the reschola
package is not on CRAN.
This may be preferable to using e.g. remotes::install_github("scholaempirica/reschola")
since you
Currently the repository contains the following packages:
You can run available.packages(repos = 'https://scholaempirica.github.io/drat')
to see what is included.
Source code for all the packages is hosted on Github.
The repository has been created using the drat
package by @eddelbuettel; see more at http://dirk.eddelbuettel.com/code/drat.html