Skip to content

Commit

Permalink
replace str2lang(), which depends on R 3.6
Browse files Browse the repository at this point in the history
  • Loading branch information
etiennebacher authored and nathaneastwood committed Jul 31, 2022
1 parent 8d4e76a commit fa963fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/arrange.R
Original file line number Diff line number Diff line change
Expand Up @@ -44,7 +44,7 @@ arrange_rows <- function(.data, dots) {
tmp <- gsub("^desc\\(", "-", tmp)
tmp <- gsub("\\)$", "", tmp)
}
dots[[i]] <- str2lang(tmp)
dots[[i]] <- parse(text = tmp, keep.source = FALSE)[[1]]
}

# convert character colums used to arrange to factor columns, so that we can
Expand Down

0 comments on commit fa963fe

Please sign in to comment.