Skip to content

Commit

Permalink
style: fix excess line length
Browse files Browse the repository at this point in the history
  • Loading branch information
elipousson committed Jan 4, 2024
1 parent e30b55c commit 0923f25
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions R/utils.R
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,10 @@ cli_quiet <- function(quiet = FALSE,
return(rlang::push_options("cli.default_handler" = suppressMessages))
}

rlang::local_options("cli.default_handler" = suppressMessages, .frame = .frame)
rlang::local_options(
"cli.default_handler" = suppressMessages,
.frame = .frame
)
}


Expand Down Expand Up @@ -69,7 +72,8 @@ check_has_name <- function(x,
has_nm <- all(nm_check)

msg <- c("{.arg {arg}} must have names {.val {nm}}",
"i" = "{.arg {arg}} is missing {length(nm[!nm_check])} name{?s}: {.val {nm[!nm_check]}}"
"i" = "{.arg {arg}} is missing {length(nm[!nm_check])} name{?s}:
{.val {nm[!nm_check]}}"
)

if (allow_any) {
Expand Down

0 comments on commit 0923f25

Please sign in to comment.