Usage
archivePackages(repopath = getOption("dratRepo", "~/git/drat"),
type = c("source", "binary", "mac.binary", "mac.binary.big-sur-x86_64",
"mac.binary.big-sur-arm64", "mac.binary.el-capitan", "mac.binary.mavericks",
"win.binary", "both"), pkg, version = getRversion())archivePackagesForAllRversions(repopath = getOption("dratRepo", "~/git/drat"),
type = c("source", "binary", "mac.binary", "mac.binary.big-sur-x86_64",
"mac.binary.big-sur-arm64", "mac.binary.el-capitan", "mac.binary.mavericks",
"win.binary", "both"), pkg)