-
Notifications
You must be signed in to change notification settings - Fork 4
/
NOTES
30 lines (28 loc) · 1.09 KB
/
NOTES
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
# Release steps
1. make changes
2. check r-cmd-check passes on github/website
3. check reverse dependencies (revdepcheck::revdep_check(num_workers=4))
- edit (create if needed) ~/.R/MAKEVARS to get FRESA.CAD to install.
- FC = usr/local/opt/gcc/bin/gfortran
F77 = /usr/local/opt/gcc/bin/gfortran
FLIBS = -L/usr/local/opt/gcc/lib
4. update news
5. bump version number
6. rebuild docs (re-knit README.Rmd, devtools::document())
7. build site. (pkgdown::build_site())
8. devtools::spell_check()
10. update cran-comments.md
11. Submit (devtools::release())
- will prompt devtools::check_rhub() and devtools::check_win_devel(), ignore it they're unreliable. github actions check is all we need now.
12. approve email confirming request
13. on message that being uploaded to cran: usethis::use_github_release() [may require a token]
14. pkgdown::build_news()
15. delete ~/.R/MAKEVARS
# Packages used for release/updates
- devtools
- revdepcheck (install: devtools::install_github('r-lib/revdepcheck'))
- usethis
- pkgdown
- spellcheck
# Reference
https://r-pkgs.org/release.html