Skip to content

Commit

Permalink
Change from aes_string to aes_
Browse files Browse the repository at this point in the history
  • Loading branch information
lepennec committed Jul 26, 2017
1 parent 3d328a7 commit 1d9b06b
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions R/ggpairs.R
Expand Up @@ -518,7 +518,7 @@ ggduo <- function(

sectionAes <- add_and_overwrite_aes(
add_and_overwrite_aes(
aes_string(x = xColName, y = yColName),
aes_(x = as.name(xColName), y = as.name(yColName)),
mapping
),
types$mapping
Expand Down Expand Up @@ -819,7 +819,7 @@ ggpairs <- function(

sectionAes <- add_and_overwrite_aes(
add_and_overwrite_aes(
aes_string(x = xColName, y = yColName),
aes_(x = as.name(xColName), y = as.name(yColName)),
mapping
),
types$mapping
Expand Down Expand Up @@ -867,7 +867,7 @@ ggpairs <- function(
#'
#' @keywords internal
#' @author Barret Schloerke \email{schloerke@@gmail.com}
#' @return aes_string output
#' @return aes_ output
#' @import ggplot2
#' @rdname add_and_overwrite_aes
#' @examples
Expand Down

0 comments on commit 1d9b06b

Please sign in to comment.