Skip to content

Commit

Permalink
Remove empty function and bump plyr dependency to 1.0
Browse files Browse the repository at this point in the history
  • Loading branch information
hadley committed May 6, 2010
1 parent 8a96310 commit 32fca39
Show file tree
Hide file tree
Showing 3 changed files with 1 addition and 27 deletions.
2 changes: 1 addition & 1 deletion DESCRIPTION
Expand Up @@ -6,7 +6,7 @@ Author: Hadley Wickham <h.wickham@gmail.com>
Maintainer: Hadley Wickham <h.wickham@gmail.com>
Description: An implementation of the grammar of graphics in R. It combines the advantages of both base and lattice graphics: conditioning and shared axes are handled automatically, and you can still build up a plot step by step from multiple data sources. It also implements a sophisticated multidimensional conditioning system and a consistent interface to map data to aesthetic attributes. See the ggplot2 website for more information, documentation and examples.
Depends: R (>= 2.7)
Imports: reshape (>= 0.8.0), plyr (>= 0.1.8), splines, MASS, RColorBrewer, grid, proto, digest
Imports: reshape (>= 0.8.0), plyr (>= 1.0), splines, MASS, RColorBrewer, grid, proto, digest
Suggests: quantreg, Hmisc, mapproj, maps, colorspace, hexbin, gpclib, maptools
Extends: sp
License: GPL
Expand Down
9 changes: 0 additions & 9 deletions R/utilities.r
Expand Up @@ -166,12 +166,3 @@ invert <- function(L) {
"%inside%" <- function(x, interval) {
x >= interval[1] & x <= interval[2]
}

# Check if a data frame is empty
# Empty if it's null or it has 0 rows or columns
#
# @arguments data frame to check
# @keyword internal
empty <- function(df) {
(is.null(df) || nrow(df) == 0 || ncol(df) == 0)
}
17 changes: 0 additions & 17 deletions man/empty-cs.rd

This file was deleted.

0 comments on commit 32fca39

Please sign in to comment.