Skip to content

Conversation

@jangorecki
Copy link
Owner

@jangorecki jangorecki commented May 12, 2025

This PR introduces adaptive=TRUE, so as well partial=TRUE to frollapply. Fails on R < "3.4.0", fixed in next PR.

frollapply(1:3, c(1,3,3), sum, adaptive=TRUE)
#[1] 1 NA  6
frollapply(1:3, 3, sum, partial=TRUE)
#[1] 1 3 6

Yet, changes submitted in this PR has been rewritten completely in further PR.

I would therefore not try to focus here too much but rather look at the future version of frollapply: frollapply rewritten, supports by.column=F #5575
diff: https://github.com/Rdatatable/data.table/compare/frollmax..frollapply

Copy link
Collaborator

@MichaelChirico MichaelChirico left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@jangorecki jangorecki merged commit 477e6ea into froll2025 May 12, 2025
8 of 9 checks passed
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

Successfully merging this pull request may close these issues.

2 participants