Skip to content

Commit

Permalink
Remove empty y check overkill
Browse files Browse the repository at this point in the history
  • Loading branch information
pchelle committed Aug 19, 2022
1 parent 9dbe231 commit e604c66
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot-qq.R
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ plotQQ <- function(data = NULL,
validateIsNumeric(y)
data <- data.frame(y = y)
dataMapping <- dataMapping %||% QQDataMapping$new(
y = ifNotNull(y, "y"),
y = "y",
data = data
)
}
Expand Down

0 comments on commit e604c66

Please sign in to comment.