Skip to content

Commit

Permalink
Make examples optional when requiring Suggests (#295)
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Jan 16, 2024
1 parent cf314fc commit af752b4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/mark_hull.R
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
#' @name geom_mark_hull
#' @rdname geom_mark_hull
#'
#' @examples
#' @examplesIf requireNamespace("concaveman", quietly = TRUE)
#' ## requires the concaveman packages
#' ggplot(iris, aes(Petal.Length, Petal.Width)) +
#' geom_mark_hull(aes(fill = Species, filter = Species != 'versicolor')) +
Expand Down
2 changes: 1 addition & 1 deletion R/voronoi.R
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@ NULL
#' @aliases geom_delaunay
#' @rdname geom_delvor
#'
#' @examples
#' @examplesIf requireNamespace("deldir", quietly = TRUE)
#' # Voronoi
#' # You usually wants all points to take part in the same tesselation so set
#' # the group aesthetic to a constant (-1L is just a convention)
Expand Down

0 comments on commit af752b4

Please sign in to comment.