You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: .ci/README.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,7 +12,7 @@ Test jobs:
12
12
-`test-lin-rel-cran` - `--as-cran` on Linux, strict test for final status of `R CMD check`.
13
13
-`test-lin-dev-gcc-strict-cran` - `--as-cran` on Linux, `r-devel` built with `-enable-strict-barrier --disable-long-double`, test for compilation warnings, test for new NOTEs/WARNINGs from `R CMD check`.
14
14
-`test-lin-dev-clang-cran` - same as `gcc-strict` job but R built with `clang` and no `--enable-strict-barrier --disable-long-double` flags.
15
-
-`test-lin-ancient-cran` - Stated R dependency version (currently 3.4.0) on Linux.
15
+
-`test-lin-ancient-cran` - Stated R dependency version (currently 3.5.0) on Linux.
16
16
-`test-lin-dev-clang-san` - `r-devel` on Linux built with `clang -fsanitize=address,undefined` (including LeakSanitizer), test for sanitizer output in tests and examples.
17
17
-`test-lin-dev-gcc-san` - `r-devel` on Linux built with `gcc -fsanitize=address,undefined` (including LeakSanitizer), test for sanitizer output in tests and examples.
Rdevel CMD check data.table_1.17.0.tar.gz --as-cran # use latest Rdevel as it may have extra checks
571
+
Rdevel CMD check data.table_1.18.0.tar.gz --as-cran # use latest Rdevel as it may have extra checks
572
572
bunzip2 inst/tests/*.Rraw.bz2 # decompress *.Rraw again so as not to commit compressed *.Rraw to git
573
573
574
574
#
@@ -596,12 +596,12 @@ bunzip2 inst/tests/*.Rraw.bz2 # decompress *.Rraw again so as not to commit com
596
596
# 0. Start a new branch `cran-x.y.0` with the code as submitted to CRAN
597
597
# - Check that 'git status' shows 4 files in modified and uncommitted state: DESCRIPTION, NEWS.md, init.c and this .dev/CRAN_Release.cmd
598
598
# - The branch should have one commit with precisely these 4 files being edited
599
-
# 1. Follow up with a commit with this consistent commit message like: "1.17.0 on CRAN. Bump to 1.17.99" to this branch bumping to the next dev version
599
+
# 1. Follow up with a commit with this consistent commit message like: "1.18.0 on CRAN. Bump to 1.18.99" to this branch bumping to the next dev version
600
600
# - Bump minor version in DESCRIPTION to next odd number. Note that DESCRIPTION was in edited and uncommitted state so even number never appears in git.
601
601
# - Add new heading in NEWS for the next dev version. Add "(submitted to CRAN on <today>)" on the released heading.
602
602
# - Bump minor version in dllVersion() in init.c
603
603
# - Bump 3 minor version numbers in Makefile
604
-
# - Search and replace this .dev/CRAN_Release.cmd to update 1.16.99 to 1.16.99 inc below, 1.16.0 to 1.17.0 above, 1.15.0 to 1.16.0 below
604
+
# - Search and replace this .dev/CRAN_Release.cmd to update 1.17.99 to 1.18.99 inc below, 1.17.0 to 1.18.0
605
605
# - Another final gd to view all diffs using meld. (I have `alias gd='git difftool &> /dev/null'` and difftool meld: http://meldmerge.org/)
606
606
# 2. Ideally, no PRs are reviewed while a CRAN submission is pending. Any reviews that do happen MUST target this branch, NOT master!
607
607
# 3. Once the submission lands on CRAN, merge this branch WITHOUT SQUASHING!
Description: Fast aggregation of large data (e.g. 100GB in RAM), fast ordered joins, fast add/modify/delete of columns by group using no copies at all, list columns, friendly and fast character-separated-value read/write. Offers a natural and flexible syntax, for faster development.
Copy file name to clipboardExpand all lines: NEWS.md
+17-2Lines changed: 17 additions & 2 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -2,7 +2,17 @@
2
2
3
3
**If you are viewing this file on CRAN, please check [latest news on GitHub](https://github.com/Rdatatable/data.table/blob/master/NEWS.md) where the formatting is also better.**
4
4
5
-
## data.table [v1.17.99](https://github.com/Rdatatable/data.table/milestone/35) (in development)
5
+
## data.table [v1.18.99](https://github.com/Rdatatable/data.table/milestone/37?closed=1) (in development)
6
+
7
+
### Notes
8
+
9
+
1. {data.table} now depends on R 3.5.0 (2018).
10
+
11
+
### BUG FIXES
12
+
13
+
1.`fread()` with `skip=0` and `(header=TRUE|FALSE)` no longer skips the first row when it has fewer fields than subsequent rows, [#7463](https://github.com/Rdatatable/data.table/issues/7463). Thanks @emayerhofer for the report and @ben-schwen for the fix.
14
+
15
+
## data.table [v1.18.0](https://github.com/Rdatatable/data.table/milestone/37?closed=1) 23 December 2025
6
16
7
17
### BREAKING CHANGE
8
18
@@ -11,6 +21,7 @@
11
21
2.`melt()` returns an integer column for `variable` when `measure.vars` is a list of length=1, consistent with the documented behavior, [#5209](https://github.com/Rdatatable/data.table/issues/5209). Thanks to @tdhock for reporting. Any users who were relying on this behavior can change `measure.vars=list("col_name")` (output `variable` was column name, now is column index/integer) to `measure.vars="col_name"` (`variable` still is column name). This change has been planned since 1.16.0 (25 Aug 2024).
12
22
13
23
3. Rolling functions `frollmean` and `frollsum` distinguish `Inf`/`-Inf` from `NA` to match the same rules as base R when `algo="fast"` (previously they were considered the same). If your input into those functions has `Inf` or `-Inf` then you will be affected by this change. As a result, the argument that controls the handling of `NA`s has been renamed from `hasNA` to `has.nf` (_has non-finite_). `hasNA` continues to work with a warning, for now.
24
+
14
25
```r
15
26
## before
16
27
frollsum(c(1,2,3,Inf,5,6), 2)
@@ -19,8 +30,10 @@
19
30
## now
20
31
frollsum(c(1,2,3,Inf,5,6), 2)
21
32
#[1] NA 3 5 Inf Inf 11
33
+
```
22
34
23
35
4.`frollapply`resultisnotcoercedtonumericanymore.Users' code could possibly break if it depends on forced coercion of input/output to numeric type.
36
+
24
37
```r
25
38
## before
26
39
frollapply(c(F,T,F,F,F,T), 2, any)
@@ -30,6 +43,7 @@
30
43
frollapply(c(F,T,F,F,F,T), 2, any)
31
44
#[1] NA TRUE TRUE FALSE FALSE TRUE
32
45
```
46
+
33
47
Additionally argument names in `frollapply` has been renamed from `x` to `X` and `n` to `N` to avoid conflicts with common argument names that may be passed to `...`, aligning to base R API of `lapply`. `x` and `n` continue to work with a warning, for now.
34
48
35
49
5. Negative and missing values of `n` argument of adaptive rolling functions trigger an error.
@@ -218,6 +232,7 @@ See [#2611](https://github.com/Rdatatable/data.table/issues/2611) for details. T
218
232
```
219
233
220
234
18.Newhelper`frolladapt`tofacilitateapplyingrollingfunctionsoverwindowsoffixedcalendar-timewidthinirregularly-spaceddatasets, therebybypassingtheneedto"augment"suchdatawithplaceholderrows, [#3241](https://github.com/Rdatatable/data.table/issues/3241). Thanks to @jangorecki for implementation.
@@ -354,7 +369,7 @@ See [#2611](https://github.com/Rdatatable/data.table/issues/2611) for details. T
354
369
355
370
27.`dogroups()`nolongerreadsbeyondtheresizedendofover-allocateddata.tablelistcolumns, [#7486](https://github.com/Rdatatable/data.table/issues/7486). While this didn't crash in practice, it is now explicitly checked for in recent R versions (r89198+). Thanks @TimTaylor and @aitap for the report and @aitap for the fix.
356
371
357
-
28.`fread()`with`skip=0`and`(header=TRUE|FALSE)`nolongerskipsthefirstrowwhenithasfewerfieldsthansubsequentrows, [#7463](https://github.com/Rdatatable/data.table/issues/7463). Thanks @emayerhofer for the report and @ben-schwen for the fix.
372
+
28.`rbindlist()`nowavoidsthecrashwhenworkingwithmanynon-UTF-8columnnames, [#7452](https://github.com/Rdatatable/data.table/issues/7452). Thanks @aitap for the report and the fix.
# IDate deliberately doesn't support fractional days so revert to base Date
126
126
return(base::`-.Date`(as.Date(e1), e2))
127
-
# can't call base::.Date directly (last line of base::`-.Date`) as tried in PR#3168 because
128
-
# i) ?.Date states "Internal objects in the base package most of which are only user-visible because of the special nature of the base namespace."
129
-
# ii) .Date was newly exposed in R some time after 3.4.4
127
+
# can't call base::.Date directly (last line of base::`-.Date`) as tried in PR#3168 because ?.Date states "Internal objects in the base package most of which are only user-visible because of the special nature of the base namespace."
0 commit comments