Skip to content

Commit 365e4a9

Browse files
authored
transition from deprecated ggplot2 function (#550)
1 parent 288542b commit 365e4a9

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

DESCRIPTION

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Imports:
3939
cli,
4040
dplyr (>= 0.7.0),
4141
generics,
42-
ggplot2,
42+
ggplot2 (>= 3.5.2),
4343
glue (>= 1.3.0),
4444
grDevices,
4545
lifecycle,

R/visualize.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -328,7 +328,7 @@ check_visualize_args <- function(data, bins, method, dens_color, call = caller_e
328328
# to visualize()d objects to make sure they weren't mistakenly piped
329329
check_for_piped_visualize <- function(..., call = caller_env()) {
330330

331-
is_ggplot_output <- vapply(list(...), ggplot2::is.ggplot, logical(1))
331+
is_ggplot_output <- vapply(list(...), ggplot2::is_ggplot, logical(1))
332332

333333
if (any(is_ggplot_output)) {
334334

0 commit comments

Comments
 (0)