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: NEWS.md
+4Lines changed: 4 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -8,6 +8,10 @@
8
8
9
9
2.`melt()` now supports using `patterns()` with `id.vars`, [#6867](https://github.com/Rdatatable/data.table/issues/6867). Thanks to Toby Dylan Hocking for the suggestion and PR.
10
10
11
+
3.`print.data.table()` now shows column classes at the bottom of large tables when `class=TRUE` and `col.names="auto"` (default) for tables with more than 20 rows, [#6902](https://github.com/Rdatatable/data.table/issues/6902). This follows the same behavior as column names at the bottom, making it easier to see column types for large tables without scrolling back to the top. Thanks to @TimTaylor for the suggestion and @Mukulyadav2004 for the PR.
12
+
13
+
4.`as.Date()` method for `IDate` no longer coerces to `double`[#6922](https://github.com/Rdatatable/data.table/issues/6922). Thanks @MichaelChirico for the report and PR. The only effect should be on overly-strict tests that assert `Date` objects have `double` storage, which is not in general true, especially from R 4.5.0.
14
+
11
15
## BUG FIXES
12
16
13
17
1. Custom binary operators from the `lubridate` package now work with objects of class `IDate` as with a `Date` subclass, [#6839](https://github.com/Rdatatable/data.table/issues/6839). Thanks @emallickhossain for the report and @aitap for the fix.
for (msginignore.warning) observed=grep(msg, observed, value=TRUE, invert=TRUE) # allow multiple for translated messages rather than relying on '|' to always work
461
+
for (msginignore.warning) observed=grepv(msg, observed, invert=TRUE) # allow multiple for translated messages rather than relying on '|' to always work
462
462
}
463
463
if (length(expected) != length(observed) && (!foreign|| is.null(ignore.warning))) {
464
464
# nocov start
@@ -515,6 +515,8 @@ test = function(num,x,y=TRUE,error=NULL,warning=NULL,message=NULL,output=NULL,no
515
515
}
516
516
if (!fail&&!length(error) && (!length(output) ||!missing(y))) { # TODO test y when output=, too
517
517
capture.output(y<- try(y, silent=TRUE)) # y might produce verbose output, just toss it
518
+
if (inherits(x, c("Date", "POSIXct"))) storage.mode(x) <-"numeric"
519
+
if (inherits(y, c("Date", "POSIXct"))) storage.mode(y) <-"numeric"
0 commit comments