Skip to content

Commit 44cf2dc

Browse files
committed
purge unused parameters in stat_bin()
1 parent c11c5ed commit 44cf2dc

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

R/stat-bin.R

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -139,10 +139,7 @@ StatBin <- ggproto("StatBin", Stat,
139139
compute_group = function(data, scales, binwidth = NULL, bins = NULL,
140140
center = NULL, boundary = NULL,
141141
closed = c("right", "left"), pad = FALSE,
142-
breaks = NULL, flipped_aes = FALSE,
143-
# The following arguments are not used, but must
144-
# be listed so parameters are computed correctly
145-
origin = NULL, right = NULL, drop = NULL) {
142+
breaks = NULL, flipped_aes = FALSE) {
146143
x <- flipped_names(flipped_aes)$x
147144
if (!is.null(breaks)) {
148145
if (is.function(breaks)) {

0 commit comments

Comments
 (0)