libamtrack / ReGenerator

R packagE Generator
MIT License
1 stars 0 forks source link

Check automation of making packages for CRAN #6

Closed grzanka closed 3 years ago

grzanka commented 3 years ago

https://devtools.r-lib.org//reference/release.html https://r-pkgs.org/release.html#release-submission

ptyszko commented 3 years ago

devtools::release() works by asking the user a number of yes/no questions. By default those are

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.