Skip to content

Commit

Permalink
Fix #632
Browse files Browse the repository at this point in the history
  • Loading branch information
davidhodge931 committed Jan 16, 2024
1 parent 103d1a1 commit c9737ad
Show file tree
Hide file tree
Showing 27 changed files with 52 additions and 27 deletions.
3 changes: 2 additions & 1 deletion R/gg_bar.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' gg_bar(
#' y = species,
Expand Down
3 changes: 2 additions & 1 deletion R/gg_blanket.R
Original file line number Diff line number Diff line change
Expand Up @@ -97,8 +97,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' tidyr::drop_na(sex) |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' gg_blanket(
Expand Down
3 changes: 2 additions & 1 deletion R/gg_boxplot.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' tidyr::drop_na(sex) |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' gg_boxplot(
Expand Down
3 changes: 2 additions & 1 deletion R/gg_col.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' tidyr::drop_na(sex) |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' group_by(sex, species) |>
Expand Down
3 changes: 2 additions & 1 deletion R/gg_density.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' tidyr::drop_na(sex) |>
#' gg_density(
Expand Down
3 changes: 2 additions & 1 deletion R/gg_freqpoly.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' gg_freqpoly(
#' x = flipper_length_mm,
Expand Down
3 changes: 2 additions & 1 deletion R/gg_histogram.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' gg_histogram(
#' x = flipper_length_mm,
Expand Down
3 changes: 2 additions & 1 deletion R/gg_jitter.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,10 +11,11 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' set.seed(123)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' gg_jitter(
#' x = species,
#' y = body_mass_g,
Expand Down
3 changes: 2 additions & 1 deletion R/gg_qq.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' gg_qq(
#' sample = body_mass_g,
#' facet = species,
Expand Down
3 changes: 2 additions & 1 deletion R/gg_rug.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' gg_rug(
#' x = flipper_length_mm,
Expand Down
3 changes: 2 additions & 1 deletion R/gg_smooth.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' tidyr::drop_na(sex) |>
#' gg_smooth(
Expand Down
3 changes: 2 additions & 1 deletion R/gg_tile.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' group_by(species, sex) |>
#' summarise(across(flipper_length_mm, \(x) mean(x, na.rm = TRUE))) |>
Expand Down
3 changes: 2 additions & 1 deletion R/gg_violin.R
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,9 @@
#'
#' library(ggplot2)
#' library(dplyr)
#' library(palmerpenguins)
#'
#' palmerpenguins::penguins |>
#' penguins |>
#' tidyr::drop_na(sex) |>
#' mutate(across(sex, \(x) stringr::str_to_sentence(x))) |>
#' gg_violin(
Expand Down
1 change: 0 additions & 1 deletion README.Rmd
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,6 @@ penguins |>
)
```


## Get started

Click [here](https://davidhodge931.github.io/ggblanket/articles/ggblanket.html) to start learning how ggblanket works.
Expand Down
3 changes: 2 additions & 1 deletion man/gg_bar.Rd

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

3 changes: 2 additions & 1 deletion man/gg_blanket.Rd

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

3 changes: 2 additions & 1 deletion man/gg_boxplot.Rd

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

3 changes: 2 additions & 1 deletion man/gg_col.Rd

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

3 changes: 2 additions & 1 deletion man/gg_density.Rd

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

3 changes: 2 additions & 1 deletion man/gg_freqpoly.Rd

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

3 changes: 2 additions & 1 deletion man/gg_histogram.Rd

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

3 changes: 2 additions & 1 deletion man/gg_jitter.Rd

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

3 changes: 2 additions & 1 deletion man/gg_qq.Rd

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

3 changes: 2 additions & 1 deletion man/gg_rug.Rd

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

3 changes: 2 additions & 1 deletion man/gg_smooth.Rd

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

3 changes: 2 additions & 1 deletion man/gg_tile.Rd

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

3 changes: 2 additions & 1 deletion man/gg_violin.Rd

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

0 comments on commit c9737ad

Please sign in to comment.