From c11d0f4301387125cf61e71276662595d582d882 Mon Sep 17 00:00:00 2001 From: Bob Rudis Date: Sun, 20 Mar 2016 20:14:42 -0400 Subject: [PATCH] forgot that stateface can't possibly run on Travis --- R/stateface.r | 3 ++- man/geom_stateface.Rd | 2 ++ 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/R/stateface.r b/R/stateface.r index ad55cc3..6713703 100644 --- a/R/stateface.r +++ b/R/stateface.r @@ -71,7 +71,7 @@ load_stateface <- function() { #' @inheritParams ggplot2::geom_text #' @family StateFace operations #' @export -#' @examples +#' @examples \dontrun{ #' library(ggplot2) #' library(ggalt) #' @@ -90,6 +90,7 @@ load_stateface <- function() { #' gg <- gg + scale_color_identity() #' gg <- gg + scale_size_identity() #' gg +#' } geom_stateface <- function(mapping = NULL, data = NULL, stat = "identity", position = "identity", ..., parse = FALSE, nudge_x = 0, nudge_y = 0, check_overlap = FALSE, diff --git a/man/geom_stateface.Rd b/man/geom_stateface.Rd index 68de4db..842012f 100644 --- a/man/geom_stateface.Rd +++ b/man/geom_stateface.Rd @@ -77,6 +77,7 @@ run \code{show_stateface()} to get the filesystem location and then load the font manually from there. } \examples{ +\dontrun{ library(ggplot2) library(ggalt) @@ -96,6 +97,7 @@ gg <- gg + scale_color_identity() gg <- gg + scale_size_identity() gg } +} \seealso{ Other StateFace operations: \code{\link{load_stateface}}, \code{\link{show_stateface}}