Skip to content

Commit

Permalink
Namespace setNames
Browse files Browse the repository at this point in the history
  • Loading branch information
schloerke committed Nov 22, 2023
1 parent 7c2493b commit a02f09a
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion R/gg-plots.R
Original file line number Diff line number Diff line change
Expand Up @@ -1321,7 +1321,7 @@ ggally_facetbar <- function(data, mapping, ...) {
#' ) + ggplot2::theme(aspect.ratio = 4 / 2))
ggally_ratio <- function(
data,
mapping = ggplot2::aes(!!!setNames(lapply(colnames(data)[1:2], as.name), c("x", "y"))),
mapping = ggplot2::aes(!!!stats::setNames(lapply(colnames(data)[1:2], as.name), c("x", "y"))),
...,
floor = 0,
ceiling = NULL) {
Expand Down
3 changes: 2 additions & 1 deletion man/ggally_ratio.Rd

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

0 comments on commit a02f09a

Please sign in to comment.