Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion R/check.R
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ can_document <- function(pkg) {
cli::cat_rule("Documenting", col = "red", line = 2)
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.

))
FALSE
} else {
Expand Down