We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 108870d commit cd54c31Copy full SHA for cd54c31
R/cyclocomp_linter.R
@@ -25,7 +25,10 @@ cyclocomp_linter <- function(complexity_limit = 15L) {
25
Linter(linter_level = "expression", function(source_expression) {
26
# nocov start
27
if (!requireNamespace("cyclocomp", quietly = TRUE)) {
28
- cli::cli_abort("'cyclocomp' package needs to be installed for this linter.")
+ cli::cli_abort(c(
29
+ "Cyclocomp complexity is computed using {.fn cyclocomp::cyclocomp}.",
30
+ i = "Please install the needed {.pkg cyclocomp} package."
31
+ ))
32
}
33
# nocov end
34
0 commit comments