Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Add exports for deprecated theme_xx functions

  • Loading branch information...
commit f769691568e16255446ab147c8361ffd31912aa5 1 parent f578534
@wch wch authored
Showing with 11 additions and 1 deletion.
  1. +11 −1 R/theme-elements.r
View
12 R/theme-elements.r
@@ -80,27 +80,37 @@ element_text <- function(family = NULL, face = NULL, colour = NULL,
}
-# Deprecated theme_xxx functions
+#' Deprecated theme_xxx functions
+#'
+#' The \code{theme_xx} functions have been deprecated. They are replaced
+#' with the \code{element_xx} functions.
+#'
+#' @aliases theme_blank theme_rect theme_line theme_segment theme_text
+#' @export
theme_blank <- function(...) {
.Deprecated()
element_blank(...)
}
+#' @export
theme_rect <- function(...) {
.Deprecated()
element_rect(...)
}
+#' @export
theme_line <- function(...) {
.Deprecated()
element_line(...)
}
+#' @export
theme_segment <- function(...) {
.Deprecated()
element_segment(...)
}
+#' @export
theme_text <- function(...) {
.Deprecated()
element_text(...)
Please sign in to comment.
Something went wrong with that request. Please try again.