Skip to content

Commit a089da4

Browse files
committed
bug fix for arrange_safe()
1 parent b095320 commit a089da4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

R/utils.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -70,7 +70,7 @@ as_df <- function(x) {
7070
# arrange data if the vars exist, don't throw error if they don't
7171
arrange_safe <- function(data, vars) {
7272
vars <- vars[vars %in% names(data)]
73-
if (length(vars)) dplyr::arrange_(data, vars) else data
73+
if (length(vars)) dplyr::arrange_(data, .dots = vars) else data
7474
}
7575

7676
# make sure plot attributes adhere to the plotly.js schema

0 commit comments

Comments
 (0)