Skip to content

Commit

Permalink
Remove unneeded uses of ...
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed Dec 27, 2011
1 parent 5f2a64d commit f88faa4
Show file tree
Hide file tree
Showing 9 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion R/geom-bar.r
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
#' geom_plot(geom_bar(width = 0.05), df)
#' geom_plot(geom_bar(list(colour = "black")), df)
#' geom_plot(geom_bar(list(fill = "red")), df)
geom_bar <- function(aesthetics = list(), width = NULL, na.rm = FALSE, ...) {
geom_bar <- function(aesthetics = list(), width = NULL, na.rm = FALSE) {
geom_from_call("bar")
}

Expand Down
2 changes: 1 addition & 1 deletion R/geom-line.r
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
#' geom_plot(geom_line(), df)
#' geom_plot(geom_line(list(colour = "red")), df)
#' geom_plot(geom_line(list(size = 3)), df)
geom_line <- function(aesthetics = list(), arrow = NULL, lineend = "butt", linejoin = "round", linemitre = 1, na.rm = FALSE, ...) {
geom_line <- function(aesthetics = list(), arrow = NULL, lineend = "butt", linejoin = "round", linemitre = 1, na.rm = FALSE) {
geom_from_call(c("line", "path"))
}

Expand Down
2 changes: 1 addition & 1 deletion R/geom-path.r
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
#' geom_plot(geom_path(list(size = 3)), df)
#'
#' geom_plot(geom_path(list(x = 1:10, y = 10:1)))
geom_path <- function(aesthetics = list(), arrow = NULL, lineend = "butt", linejoin = "round", linemitre = 1, na.rm = FALSE, ...) {
geom_path <- function(aesthetics = list(), arrow = NULL, lineend = "butt", linejoin = "round", linemitre = 1, na.rm = FALSE) {
geom_from_call("path")
}

Expand Down
2 changes: 1 addition & 1 deletion R/geom-point.r
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@
#' geom_plot(geom_point(list(size = 3, shape = 15)), df)
#'
#' geom_plot(geom_point(list(x = 1:10, y = 10:1)))
geom_point <- function(aesthetics = list(), na.rm = FALSE, ...) {
geom_point <- function(aesthetics = list(), na.rm = FALSE) {
geom_from_call("point")
}

Expand Down
2 changes: 1 addition & 1 deletion R/geom-raster.r
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@
#' pp20$fill <- cscale(pp20$z, seq_gradient_pal())
#' }
#' geom_plot(geom_raster(), pp20)
geom_raster <- function(aesthetics = list(), na.rm = FALSE, ...) {
geom_raster <- function(aesthetics = list(), na.rm = FALSE) {
geom_from_call("raster")
}

Expand Down
2 changes: 1 addition & 1 deletion R/geom-rect.r
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
#'
#' @family rectangular geoms
#' @export
geom_rect <- function(aesthetics = list(), na.rm = FALSE, ...) {
geom_rect <- function(aesthetics = list(), na.rm = FALSE) {
geom_from_call("rect")
}

Expand Down
2 changes: 1 addition & 1 deletion R/geom-ribbon.r
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
#' geom_plot(geom_ribbon(), df)
#' geom_plot(geom_ribbon(list(colour = "red")), df)
#' geom_plot(geom_ribbon(list(colour = "red", fill = NA)), df)
geom_ribbon <- function(aesthetics = list(), ...) {
geom_ribbon <- function(aesthetics = list()) {
geom_from_call(c("ribbon", "line"))
}

Expand Down
2 changes: 1 addition & 1 deletion R/geom-step.r
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@ aes_icon.step <- function(geom) {
# Data and munching ----------------------------------------------------------

#' @S3method geom_data step
geom_data.step <- function(geom, data, ...) {
geom_data.step <- function(geom, data) {
stairstep(data, geom$direction)
}

Expand Down
2 changes: 1 addition & 1 deletion R/geom-tile.r
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
#' }
#' geom_plot(geom_tile(), pp20)
#' geom_plot(geom_tile(list(width = 0.95, height = 0.95)), pp20)
geom_tile <- function(aesthetics = list(), na.rm = FALSE, ...) {
geom_tile <- function(aesthetics = list(), na.rm = FALSE) {
geom_from_call("tile")
}

Expand Down

0 comments on commit f88faa4

Please sign in to comment.