You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
It appears that using arrange with an integer64 column and another column does not re-order the second column as expected. I think I can work around this with group_by + arrange, but seemed worth a report.
library(dplyr)
#> #> Attaching package: 'dplyr'#> The following objects are masked from 'package:stats':#> #> filter, lag#> The following objects are masked from 'package:base':#> #> intersect, setdiff, setequal, union
tibble(
id=bit64::as.integer64(1),
year= c(1, 3, 2)
) %>%
arrange(id, year)
#> # A tibble: 3 x 2#> id year#> <int64> <dbl>#> 1 1 1#> 2 1 3#> 3 1 2
It appears that using
arrange
with an integer64 column and another column does not re-order the second column as expected. I think I can work around this with group_by + arrange, but seemed worth a report.Created on 2022-05-12 by the reprex package (v2.0.1)
Session info
The text was updated successfully, but these errors were encountered: