Skip to content
New issue

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

Regression in window_order variable argument parsing for 2.5.0 #1486

Open
wkmor1 opened this issue Mar 26, 2024 · 0 comments
Open

Regression in window_order variable argument parsing for 2.5.0 #1486

wkmor1 opened this issue Mar 26, 2024 · 0 comments

Comments

@wkmor1
Copy link

wkmor1 commented Mar 26, 2024

Have noticed a mild regression in version 2.5.0 of dbplyr

In 2.4.0 the following works as expected with or without explicit reference to the dplyr namespace when using desc

library(dplyr)
library(dbplyr)

db <- memdb_frame(y = runif(10), z = 1:10)

mutate(window_order(db, dplyr::desc(y)), z = cumsum(y))

But in 2.5.0 only bare desc works. Using dplyr::desc gives the following error

Error in `get_env()`:
! Can't extract an environment from a call.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant