Release fgeo.plot 1.0.0
Closed this issue · 0 comments
maurolepore commented
Copied from forestgeo/fgeo#138 (adapted from r-lib/usethis#338).
In summary, run devtools::release()
from a terminal and follow the promts from the console. The detailed steps I'm currently doing are these:
Prepare for release:
- Create gh-pre-release branch
-
devtools::install()
- Update packages:
update.packages()
remove.packages(fgeo:::fgeo_packages())
fgeo.install::install_fgeo()
- Remove packages ahead of CRAN and replace them with last CRAN version
remove.packages(<AHEAD-OF-CRAN>)
install.packages(<AHEAD-OF-CRAN>)
- Check fgeo packages locally (assuming they are not on CRAN)
pkgs <- paste0("fgeo", c(".tool", ".analyze", ".plot", ".krig", ".misc", ""))
vet::vet(pkgs, devtools::check)
-
devtools::check_win_devel()
-
devtools::check_rhub()
-
rhub::check_for_cran(email = "maurolepore@gmail.com")
- Review DESCRIPTION
-
usethis::use_tidy_description()
- Review title and description on README.Rmd based on DESCRIPTION/Title and DESCRIPTION/Description
-
spelling::spell_check_package()
- Polish NEWS
-
pkgdown::clean_site()
-
pkgdown::build_site()
-
usethis::use_cran_comments()
-
devtools::release()
- Tidy commits
- In
.travis.yml
ensurewarnings_are_errors: true
- Merge into master branch and keep branch
Repeat devtools::release()
from a terminal and do what it says from the console.
- Merge into master branch and keep branch
Perform release:
- Create gh-release branch
- Bump version (in DESCRIPTION and NEWS)
-
devtools::check_rhub()
-
rhub::check_for_cran(email = "maurolepore@gmail.com")
-
devtools::check_win_devel()
(again!) - Merge into master
- Tag release on GitHub and copy-paste NEWS.md
- Bump dev version
- If relevant provide new installation instructions:
Install the latest GitHub release of **fgeo.FIXME-PACKAGE-NAME** with:
```r
# install.packages("devtools")
devtools::install_github("forestgeo/fgeo.FIXME-PACKAGE-NAME@*release")
```
-
pkgdown::build_site()
- Merge back into master
- In DESCRIPTION of all upstream dependencies add/ensure
forestgeo/fgeo.pkg/@*release
- Write blog post
- Tweet
- Add link to blog post in pkgdown news menu