Skip to content

Commit

Permalink
Move rel() function to theme-aaa.r
Browse files Browse the repository at this point in the history
  • Loading branch information
wch committed Jun 27, 2012
1 parent 84b4f72 commit f578534
Showing 1 changed file with 0 additions and 13 deletions.
13 changes: 0 additions & 13 deletions R/theme.r
Expand Up @@ -365,19 +365,6 @@ update_element <- function(name, ...) {
}


#' Relative sizing for theme elements
#' @export
rel <- function(x) {
structure(x, class = "rel")
}

#' @S3method print rel
print.rel <- function(x, ...) print(noquote(paste(x, " *", sep = "")))

#' Reports whether x is a rel object
is.rel <- function(x) inherits(x, "rel")


# Calculate the element properties, by inheriting properties from its parents
#
# @param element The name of the theme element to calculate
Expand Down

0 comments on commit f578534

Please sign in to comment.