Skip to content

Commit

Permalink
fix(apply_compactify): arrange(!!!<name of chr vec>) is no-op
Browse files Browse the repository at this point in the history
  • Loading branch information
brookslogan committed Jan 30, 2025
1 parent d3f0a7a commit d78ea5b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion R/archive.R
Original file line number Diff line number Diff line change
Expand Up @@ -420,7 +420,7 @@ apply_compactify <- function(updates_df, ukey_names, abs_tol = 0) {
assert_numeric(abs_tol, len = 1, lower = 0)

if (!is.data.table(updates_df) || !identical(key(updates_df), ukey_names)) {
updates_df <- updates_df %>% arrange(!!!ukey_names)
updates_df <- updates_df %>% arrange(pick(all_of(ukey_names)))
}
updates_df %>%
filter(!update_is_locf(ukey_names, abs_tol))
Expand Down

0 comments on commit d78ea5b

Please sign in to comment.