Skip to content

Deprecate release() in favour of usethis::use_release_issue() - #2646

Merged
hadley merged 6 commits into
mainfrom
deprecate-release
Jan 30, 2026
Merged

hadley merged 6 commits into
mainfrom
deprecate-release

Conversation

@hadley

@hadley hadley commented Jan 21, 2026

Copy link
Copy Markdown
Member

Fixes #2500

@hadley
hadley requested a review from jennybc January 21, 2026 23:44
Comment thread R/release.R
}

yesno <- function(msg, .envir = parent.frame()) {
if (!rlang::is_interactive()) {

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Minimal fix to make this testable interactively. Already an error in real non-interactive contexts because menu() will error.

@jennybc jennybc left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It feels like submit_cran() should be mentioned in this messaging, in addition to use_release_issue().

@hadley
hadley merged commit 1c70e59 into main Jan 30, 2026
14 checks passed
@hadley
hadley deleted the deprecate-release branch January 30, 2026 14:02
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Steer people away from release()

2 participants