Skip to content

Commit f2f30cc

Browse files
committed
make import explicit
1 parent 02ed38e commit f2f30cc

File tree

1 file changed

+8
-2
lines changed

1 file changed

+8
-2
lines changed

R/import-standalone-lifecycle.R

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
# Standalone file: do not edit by hand
2+
# Source: <https://github.com/r-lib/rlang/blob/main/R/standalone-lifecycle.R>
3+
# ----------------------------------------------------------------------
4+
#
15
# ---
26
# repo: r-lib/rlang
37
# file: standalone-lifecycle.R
@@ -94,7 +98,8 @@ deprecate_soft <- function(msg,
9498
id <- paste(id, collapse = "\n")
9599
verbosity <- .rlang_lifecycle_verbosity()
96100

97-
invisible(switch(verbosity,
101+
invisible(switch(
102+
verbosity,
98103
quiet = NULL,
99104
warning = ,
100105
default =
@@ -121,7 +126,8 @@ deprecate_warn <- function(msg,
121126
id <- paste(id, collapse = "\n")
122127
verbosity <- .rlang_lifecycle_verbosity()
123128

124-
invisible(switch(verbosity,
129+
invisible(switch(
130+
verbosity,
125131
quiet = NULL,
126132
warning = ,
127133
default = {

0 commit comments

Comments
 (0)