Skip to content

Commit 75d8fd3

Browse files
committed
elaborate on a breaking change
1 parent f259d03 commit 75d8fd3

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

NEWS.md

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,15 @@
77
### BREAKING CHANGE
88

99
1. Rolling functions `frollmean` and `frollsum` used to treat `Inf` and `-Inf` as `NA` when using default `algo="fast"`. It has been changed now and infinite values are not treated as `NA` anymore. If your input into those functions has `Inf` or `-Inf` then you will be affected by this change.
10+
```r
11+
## before
12+
frollsum(c(1,2,3,Inf,5,6), 2)
13+
#[1] NA 3 5 NA NA 11
14+
15+
## 1.18.0
16+
frollsum(c(1,2,3,Inf,5,6), 2)
17+
#[1] NA 3 5 Inf Inf 11
18+
```
1019

1120
### NEW FEATURES
1221

0 commit comments

Comments
 (0)