Skip to content

Commit 4476cd8

Browse files
authored
Remove call to glue::glue() in standalone-lifecycle.R (#1751)
1 parent 69659c4 commit 4476cd8

File tree

1 file changed

+8
-6
lines changed

1 file changed

+8
-6
lines changed

R/standalone-lifecycle.R

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,10 @@
3434
#
3535
# - Soft-namespaced private objects.
3636
#
37+
# 2024-09-27
38+
#
39+
# - Removed call to `glue::glue()` in `.rlang_lifecycle_verbosity()`
40+
#
3741
# nocov start
3842

3943

@@ -235,12 +239,10 @@ with_lifecycle_errors <- function(expr) {
235239

236240
if (!rlang::is_string(opt, c("quiet", "default", "warning", "error"))) {
237241
options(lifecycle_verbosity = "default")
238-
rlang::warn(glue::glue(
239-
"
240-
The `lifecycle_verbosity` option must be set to one of:
241-
\"quiet\", \"default\", \"warning\", or \"error\".
242-
Resetting to \"default\".
243-
"
242+
rlang::warn(paste(
243+
"The `lifecycle_verbosity` option must be set to one of:",
244+
'"quiet", "default", "warning", or "error".',
245+
'Resetting to "default".'
244246
))
245247
}
246248

0 commit comments

Comments
 (0)