Skip to content

Commit

Permalink
make GeomCol parent of geom_col() again for error message purposes
Browse files Browse the repository at this point in the history
  • Loading branch information
teunbrand committed Nov 28, 2024
1 parent 6f452f4 commit 6c95f24
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions R/geom-col.R
Original file line number Diff line number Diff line change
@@ -1,11 +1,11 @@
#' @export
#' @rdname geom_bar
geom_col <- make_constructor(GeomBar, position = "stack", just = 0.5)

#' @rdname ggplot2-ggproto
#' @format NULL
#' @usage NULL
#' @export
#' @include geom-rect.R
# TODO: deprecate this
GeomCol <- ggproto("GeomCol", GeomBar)

#' @export
#' @rdname geom_bar
geom_col <- make_constructor(GeomCol, position = "stack", just = 0.5)

0 comments on commit 6c95f24

Please sign in to comment.