-
Notifications
You must be signed in to change notification settings - Fork 1
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", ".")
.
-
devtools::build()
(ormake build
) to create source build -
devtools::build(binary = TRUE)
to create binary
-
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.
-
make check_mac
to run mac builder on current R version; email will include link to .tgz.
Currently, everytime pkgdown updates, it clears out the entire gh-pages branch, and the package binaries/sources. To fix:
- Checkout the gh-pages branch and
git pull
as necessary. - Run
git checkout main -- src/contrib bin
to pull all necessary files into gh-pages. - Commit and push.