Skip to content

Commit c3950b2

Browse files
indent code block to keep the right HTML structure
1 parent 9c7e6c5 commit c3950b2

File tree

1 file changed

+7
-8
lines changed

1 file changed

+7
-8
lines changed

NEWS.md

Lines changed: 7 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -7,15 +7,14 @@
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. As a result, argument that controls behavior of `NA`s has been renamed from `hasNA` to `has.nf` (_has non-finite_), as of 1.18.0 both will work, former with a warning.
10-
```r
11-
## before
12-
frollsum(c(1,2,3,Inf,5,6), 2)
13-
#[1] NA 3 5 NA NA 11
10+
```r
11+
## before
12+
frollsum(c(1,2,3,Inf,5,6), 2)
13+
#[1] NA 3 5 NA NA 11
1414

15-
## 1.18.0
16-
frollsum(c(1,2,3,Inf,5,6), 2)
17-
#[1] NA 3 5 Inf Inf 11
18-
```
15+
## 1.18.0
16+
frollsum(c(1,2,3,Inf,5,6), 2)
17+
#[1] NA 3 5 Inf Inf 11
1918

2019
### NOTICE OF INTENDED FUTURE POTENTIAL BREAKING CHANGES
2120

0 commit comments

Comments
 (0)