Skip to content

Commit

Permalink
remove unnecessary dontrun
Browse files Browse the repository at this point in the history
  • Loading branch information
ErdaradunGaztea committed Aug 14, 2022
1 parent 5d4a0ba commit 28e8715
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 8 deletions.
2 changes: 0 additions & 2 deletions R/palettes.R
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,12 @@
#' @examples
#' palette_lgbtq("bisexual")
#'
#' \dontrun{
#' library(ggplot2)
#' ggplot(data.frame(x = 1:10, y = 15:6,
#' group = rep(c("a", "b"), each = 5)),
#' aes(x = x, y = y, color = group)) +
#' geom_point(size = 4) +
#' scale_color_manual(values = palette_lgbtq("intersex"))
#' }
#'
#' @export
palette_lgbtq <- function(name) {
Expand Down
2 changes: 0 additions & 2 deletions R/themes.R
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
#' @return A ggplot2 `theme` object.
#'
#' @examples
#' \dontrun{
#' library(ggplot2)
#' ggplot(data.frame(x = 1:10, y = 15:6,
#' group = rep(c("a", "b"), each = 5)),
Expand All @@ -23,7 +22,6 @@
#' scale_color_manual(values = palette_lgbtq("intersex")) +
#' # Use the same name as for values, preferably
#' theme_lgbtq("intersex")
#' }
#'
#' @importFrom ggplot2 theme element_rect element_line rel
#' @export
Expand Down
2 changes: 0 additions & 2 deletions man/palette_lgbtq.Rd

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

2 changes: 0 additions & 2 deletions man/theme_lgbtq.Rd

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

0 comments on commit 28e8715

Please sign in to comment.