Skip to content

Commit eb97214

Browse files
committed
Fix interaction between tidyverse#5912 and tidyverse#6072
1 parent 012bfaf commit eb97214

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/geom-violin.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -118,7 +118,7 @@ geom_violin <- function(mapping = NULL, data = NULL,
118118
check_numeric(draw_quantiles)
119119

120120
# Pass on to stat when stat accepts 'quantiles'
121-
stat <- check_subclass(stat, "Stat", current_call(), caller_env())
121+
stat <- validate_subclass(stat, "Stat", current_call(), caller_env())
122122
if ("quantiles" %in% stat$parameters()) {
123123
extra$quantiles <- draw_quantiles
124124
}

0 commit comments

Comments
 (0)