From faaa646e446471424d31dbe0db7a5251af5412e0 Mon Sep 17 00:00:00 2001 From: Marco Colombo Date: Fri, 9 Jan 2026 18:22:05 +0100 Subject: [PATCH] Suggest a fix if a mismatch in roxygen2 versions is found during check. --- R/check.R | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/R/check.R b/R/check.R index 11489ffb1..fb43b7c20 100644 --- a/R/check.R +++ b/R/check.R @@ -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" )) FALSE } else {