Skip to content

Setting up drat for new releases

Josh Errickson edited this page Apr 25, 2022 · 8 revisions

Once a build is created, run drat::insertPackage("/path/to/build", ".").

Local building:

  • devtools::build() (or make build) to create source build
  • devtools::build(binary = TRUE) to create binary

Windows building:

  • make check-win to run windows builder on current R version; email will include link to .zip.
  • make check-win-old to run windows builder on previous R version; email will include link to .zip.

Mac bulding:

  • make check_mac to run mac builder on current R version; email will include link to .tgz.

Updating pkgdown

Currently, everytime pkgdown updates, it clears out the entire gh-pages branch, and the package binaries/sources. To fix:

  1. Checkout the gh-pages branch and git pull as necessary.
  2. Run git checkout main -- src/contrib bin to pull all necessary files into gh-pages.
  3. Commit and push.
Clone this wiki locally