Skip to content

Commit

Permalink
add back dontrun for glyph and add cran comments for this
Browse files Browse the repository at this point in the history
  • Loading branch information
huizezhang-sherry committed Apr 21, 2022
1 parent 7c0497d commit a7541ca
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions R/map-glyph.R
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@
#' @rdname glyph
#' @return a ggplot object
#' @examples
#' \dontrun{
#' library(ggplot2)
#' # basic glyph map with reference line and box---------------
#' ggplot(data = GGally::nasa,
Expand Down Expand Up @@ -50,6 +51,7 @@
#' y_major = lat, y_minor = surftemp),
#' width = rel(0.8), height = 1) +
#' theme_bw()
#' }
#'
geom_glyph <- function(mapping = NULL, data = NULL, stat = "identity",
position = "identity", ..., x_major = NULL,
Expand Down
1 change: 1 addition & 0 deletions cran-comments.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,4 @@ Duration: 2m 3.1s
R CMD check succeeded

* This is a new release.
* The glyph examples take ~8s to run, which is beyond the 5s limit of CRAN check, hence it is wrapped in \dontrun.
2 changes: 2 additions & 0 deletions man/glyph.Rd

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

0 comments on commit a7541ca

Please sign in to comment.