File tree Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Expand file tree Collapse file tree 2 files changed +4
-1
lines changed Original file line number Diff line number Diff line change @@ -139,6 +139,7 @@ importFrom(dplyr,slice)
139
139
importFrom(dplyr,tibble)
140
140
importFrom(dplyr,ungroup)
141
141
importFrom(ggplot2,autoplot)
142
+ importFrom(lifecycle,deprecated)
142
143
importFrom(lubridate,as.period)
143
144
importFrom(lubridate,days)
144
145
importFrom(lubridate,weeks)
Original file line number Diff line number Diff line change @@ -526,6 +526,8 @@ list2var <- function(x) {
526
526
# ' bad_wrapper1 <- function(x) fn(x)
527
527
# ' bad_wrapper1() # TRUE, bad
528
528
# '
529
+ # ' @importFrom lifecycle deprecated
530
+ # '
529
531
# ' @noRd
530
532
deprecated_quo_is_present <- function (quo ) {
531
533
if (! rlang :: is_quosure(quo )) {
@@ -536,7 +538,7 @@ deprecated_quo_is_present <- function(quo) {
536
538
FALSE
537
539
} else {
538
540
quo_expr <- rlang :: get_expr(quo )
539
- if (identical(quo_expr , rlang :: expr(lifecycle :: deprecated())) || identical(quo_expr , rlang :: expr(lifecycle :: deprecated()))) { # nolint: object_usage_linter
541
+ if (identical(quo_expr , rlang :: expr(deprecated())) || identical(quo_expr , rlang :: expr(lifecycle :: deprecated()))) { # nolint: object_usage_linter
540
542
FALSE
541
543
} else {
542
544
TRUE
You can’t perform that action at this time.
0 commit comments