We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
slice()
I'm not entirely sure what's going on here but slice() appears to shuffle the order of class and tzone attributes of datetime columns:
class
tzone
library(dplyr) df <- data.frame(datetime = lubridate::now(tzone = "UTC")) attributes(df$datetime) #> $class #> [1] "POSIXct" "POSIXt" #> #> $tzone #> [1] "UTC" attributes(slice(df, n())$datetime) #> $tzone #> [1] "UTC" #> #> $class #> [1] "POSIXct" "POSIXt"
This seems specific to dplyr functions that touch rows: so select() and mutate() doesn't do this but filter() and arrange() does.
select()
mutate()
filter()
arrange()
The text was updated successfully, but these errors were encountered:
No branches or pull requests
I'm not entirely sure what's going on here but
slice()
appears to shuffle the order ofclass
andtzone
attributes of datetime columns:This seems specific to dplyr functions that touch rows: so
select()
andmutate()
doesn't do this butfilter()
andarrange()
does.The text was updated successfully, but these errors were encountered: