Skip to content

Commit

Permalink
fix wrongly specified arguments to setdiff()
Browse files Browse the repository at this point in the history
  • Loading branch information
atusy committed Oct 15, 2019
1 parent da4b101 commit c3eb1b5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/plot-autoplot-qnt.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
autoplot.qm_qnt <- function(object, x = 1, y = 2, ..., .filter = TRUE) {
nm <- setdiff(names(object), "x", "y")
nm <- setdiff(names(object), c("x", "y"))
x <- tidyselect::vars_select(nm, !!enquo(x))
y <- tidyselect::vars_select(nm, !!enquo(y))
dplyr::bind_cols(
Expand Down

0 comments on commit c3eb1b5

Please sign in to comment.