Skip to content

Conversation

@mcol
Copy link

@mcol mcol commented Jan 9, 2026

Would such wording do? Does this deserve a NEWS item?

Fixes #2624.

cli::cli_inform(c(
i = "Installed roxygen2 version ({installed}) doesn't match required ({required})",
x = "{.fun check} will not re-document this package"
x = "{.fun check} will not re-document this package, use {.fun document} to update the {.file DESCRIPTION} file"
Copy link
Member

Choose a reason for hiding this comment

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

I'm worried this is a case of being overly specific with the recommendation.

For example, for me, this is much more often a case of me running dev roxygen2. In which case, I usually want to downgrade the installed roxygen2 version to the released version.

I'm not totally convinced that more words are going to help. It's possible that seeing this a couple times, feeling puzzled, then figuring out how you want to proceed is sort of a package development rite of passage?

But we can discuss a different wording.

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.

Installed roxygen2 version (7.3.2) doesn't match required (7.3.1)

2 participants