Closed grzanka closed 3 years ago
devtools::release()
works by asking the user a number of yes/no questions. By default those are
spell_check()
)?R CMD check
locally?check_rhub()
)?check_win_devel()
)?NEWS.md
file?DESCRIPTION
?cran-comments.md?
More questions can be added by adding a non-public release_questions
function to the package.
While automating most of those steps is possible, the release function itself gives 3 random choices for answers with only one affirmative, making it impossible to automate running it.
After the user gives a positive answer to all questions, it then calls devtools::submit_cran()
, but that call failed for me, so I don't know what it exactly does.
https://devtools.r-lib.org//reference/release.html https://r-pkgs.org/release.html#release-submission