plan_release | R Documentation |
plan_release()
is run
when a milestone in the development of a package is reached
and it is ready to be sent to CRAN.
By default, this function will initiate a pre-release, indicated by 9900
in the fourth component of the version number.
Pass which = "patch"
, which = "minor"
, or which = "major"
to
initiate a release with the corresponding version number.
release()
sends to CRAN after performing several checks,
and offers help with accepting the submission.
post_release()
should be called after the submission has been accepted.
plan_release(
which = c("pre-patch", "pre-minor", "pre-major", "next", "patch", "minor", "major"),
force = FALSE
)
release()
post_release()
which |
Component of the version number to update. Supported values are
|
force |
Create branches and tags even if they exist. Useful to recover from a previously failed attempt. |
plan_release()
:
Ensures that no modified files are in the Git index.
Creates a pre-release or release branch and bumps the version accordingly.
Writes/updates cran-comments.md
with useful information about the current
release process.
Runs urlchecker::url_update()
, devtools::check_win_devel()
,
and rhub::rhub_check(platforms = rhub::rhub_platforms()$name)
in the background of the RStudio IDE, or prompts the user to do so.
Opens a pull request for the release branch for final checks.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.