From dc3ab8103c4114a39feea83724c474c9db3e3827 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Fri, 23 Feb 2024 16:44:50 -0800 Subject: [PATCH] use wide line --- R/assignment_linter.R | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/R/assignment_linter.R b/R/assignment_linter.R index 8d81ac014e..845aa3681f 100644 --- a/R/assignment_linter.R +++ b/R/assignment_linter.R @@ -112,9 +112,7 @@ assignment_linter <- function(allow_cascading_assign = TRUE, operator <- xml_text(bad_expr) lint_message_fmt <- rep( - paste0("Use ", - if (allow_equal_assign) "=" else "<-", - ", not %s, for assignment."), + paste0("Use ", if (allow_equal_assign) "=" else "<-", ", not %s, for assignment."), length(operator) ) lint_message_fmt[operator %in% c("<<-", "->>")] <-