Skip to content

Commit

Permalink
remove unused arrange()
Browse files Browse the repository at this point in the history
  • Loading branch information
IndrajeetPatil committed May 23, 2024
1 parent cb6f544 commit 9e9d8ec
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions R/compat-dplyr.R
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ lead <- function(x, n = 1L, default = NA) {
c(x[-seq_len(n)], rep(default, n))
}


arrange <- function(.data, ...) {
ord <- eval(substitute(order(...)), .data, parent.frame())
vec_slice(.data, ord)
}

arrange_pos_id <- function(data) {
pos_id <- data$pos_id
if (is.unsorted(pos_id)) {
Expand Down

0 comments on commit 9e9d8ec

Please sign in to comment.