Skip to content

Commit

Permalink
Remove call to glue::glue() in standalone-lifecycle.R (#1751)
Browse files Browse the repository at this point in the history
  • Loading branch information
wurli authored Oct 1, 2024
1 parent 69659c4 commit 4476cd8
Showing 1 changed file with 8 additions and 6 deletions.
14 changes: 8 additions & 6 deletions R/standalone-lifecycle.R
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,10 @@
#
# - Soft-namespaced private objects.
#
# 2024-09-27
#
# - Removed call to `glue::glue()` in `.rlang_lifecycle_verbosity()`
#
# nocov start


Expand Down Expand Up @@ -235,12 +239,10 @@ with_lifecycle_errors <- function(expr) {

if (!rlang::is_string(opt, c("quiet", "default", "warning", "error"))) {
options(lifecycle_verbosity = "default")
rlang::warn(glue::glue(
"
The `lifecycle_verbosity` option must be set to one of:
\"quiet\", \"default\", \"warning\", or \"error\".
Resetting to \"default\".
"
rlang::warn(paste(
"The `lifecycle_verbosity` option must be set to one of:",
'"quiet", "default", "warning", or "error".',
'Resetting to "default".'
))
}

Expand Down

0 comments on commit 4476cd8

Please sign in to comment.