-
Notifications
You must be signed in to change notification settings - Fork 1k
left aligned, adaptive, rolling max #7264
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
Conversation
* frollmax exact, buggy fast, no fast adaptive * frollmax fast fixing bugs * frollmax man to fix CRAN check * frollmax fast adaptive non NA, dev * froll docs, adaptive left * no frollmax fast adaptive * frollmax adaptive exact NAs handling * PR summary in news * align happens in one place, less duplicated code * push up even more to frollR to reduce code duplication * frollapply push up align arg and early stopping up * typo fix in NEWS.md Co-authored-by: Marco Colombo <[email protected]> * keep R agnostic C code in froll.c, yet deduplicated * new functionality unit tests * doc further improving * tests and NEWS * remove unnecessary new line to reduce diff * Many wording corrections by Ben Co-authored-by: Benjamin Schwendinger <[email protected]> * function args, suggested by Ivan * Add wording improvements by Ivan Co-authored-by: aitap <[email protected]> * follow up improvements added to TODO file --------- Co-authored-by: Marco Colombo <[email protected]> Co-authored-by: Benjamin Schwendinger <[email protected]> Co-authored-by: aitap <[email protected]>
* catf rather than cat * malloc and free as per feedback * remove R < 3.4.0 related code * rm TODO file
tdhock
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
lgtm
Co-authored-by: Marco Colombo <[email protected]>
|
For now I have reverted atime test script and merged fresh master, to have this PR in a ready-to-merge state. |
|
that is fine, no need to add atime tests, lgtm. |
ben-schwen
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Some small things but overall LGTM
Co-authored-by: Michael Chirico <[email protected]>
Co-authored-by: Marco Colombo <[email protected]>
This PR is fresh attempt of #5441 which has been split in multiple smaller PRs.
10 smaller PRs have been already individually reviewed and merged to this dev branch, which now here is proposed to master.
This PR will supersede the following PRs: #5441, #5890, #5891, #5892, #5893, #5894, #5895, #5896, #5897, #5898
Scope
adaptive && align="left"Adaptive, left-aligned rolling max #5438frollmaxadaptive (exact) Adaptive, left-aligned rolling max #5438frollmax(fast, exact) rolling functions, rolling aggregates, sliding window, moving average #2778give.namesargument rolling functions, rolling aggregates, sliding window, moving average #2778frollapplyadaptive Adaptive, left-aligned rolling max #5438partial2adaptive,coerceK,ansSetMsg, or redirectingfrollapplytofroll) ofalignalgo="fast"support forInfand-Inf(breaking change).hasNAtohas.nf(has non-finite)Closes #5438, #4968 and #5306.
Benchmarks
algo="exact"only); benchmark code in NEWS.md filerolllibraryThis work was supported by the Medical Research Council, UK [grant number 1573].