Skip to content

Commit

Permalink
Mark example in man page as "dontrun"
Browse files Browse the repository at this point in the history
  • Loading branch information
const-ae committed Apr 4, 2017
1 parent d9bb57b commit 7cd9667
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 2 deletions.
7 changes: 6 additions & 1 deletion R/significance_annotation.R
Original file line number Diff line number Diff line change
Expand Up @@ -102,10 +102,15 @@ StatSignif <- ggplot2::ggproto("StatSignif", ggplot2::Stat,
#' to the paired geom/stat.
#' @inheritParams ggplot2::layer
#' @examples
#' \dontrun{
#' library(ggplot2)
#' library(ggsignif)
#' ggplot(mpg, aes(class, hwy)) +
#' geom_boxplot() +
#' geom_signif(comparisons = list(c("compact", "pickup"), c("subcompact", "suv")))
#' geom_signif(comparisons = list(c("compact", "pickup"),
#' c("subcompact", "suv")))
#' }
#'
#' @export
stat_signif <- function(mapping = NULL, data = NULL,
position = "identity", na.rm = FALSE, show.legend = NA,
Expand Down
7 changes: 6 additions & 1 deletion man/stat_signif.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Binary file modified tests/testthat/Rplots.pdf
Binary file not shown.

0 comments on commit 7cd9667

Please sign in to comment.