My drat repository for hosting non-CRAN/BioConductor packages that my own packages rely on. The GitHub repo for this R package repository is here.
library(drat)
options(dratBranch="docs") # to default to using docs/ as we set up
insertPackage(file=c("quacking/quacking_1.2.3.tar.gz", "quacking/quacking_1.2.3.zip"),
repodir="drat/")
To add a package, use drat::insertPackage("pathTo.tar.gz", repodir = "~/Github/drat/")
.
drat:insertPackage
should update src/conrib/PACKAGES
, src/contrib/PACKAGES.gz
, src/contrib/PACKAGES.rds
and add the source package file to src/contrib
. After adding the new package, update this README and commit/push the changes.
Install packages as follows from your R console:
install.packages("chromConverterExtraTests", repos="ethanbass.github.io/drat")