diff --git a/R/geom-errorbar.R b/R/geom-errorbar.R index dd0d57ca8f..1c17828e71 100644 --- a/R/geom-errorbar.R +++ b/R/geom-errorbar.R @@ -78,7 +78,7 @@ GeomErrorbarh <- ggproto( "GeomErrorbarh", GeomErrorbar, setup_params = function(data, params) { deprecate_soft0( - "4.0.0", "geom_errobarh()", "geom_errorbar(orientation = \"y\")", + "4.0.0", "geom_errorbarh()", "geom_errorbar(orientation = \"y\")", id = "no-more-errorbarh" ) GeomLinerange$setup_params(data, params) @@ -96,7 +96,7 @@ geom_errorbar <- make_constructor(GeomErrorbar, orientation = NA) #' `geom_errorbar(orientation = "y")` instead. geom_errorbarh <- function(..., orientation = "y") { deprecate_soft0( - "4.0.0", "geom_errobarh()", "geom_errorbar(orientation = \"y\")", + "4.0.0", "geom_errorbarh()", "geom_errorbar(orientation = \"y\")", id = "no-more-errorbarh" ) geom_errorbar(..., orientation = orientation)