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
undesirable_operator_linter=Inf, # For ':::', possibly we could be more careful to only exclude ':::'.
100
-
# TODO(michaelchirico): Enforce these and re-activate them one-by-one.
101
-
comparison_negation_linter=Inf,
102
-
condition_call_linter=Inf,
103
-
duplicate_argument_linter=Inf,
104
-
equals_na_linter=Inf,
105
-
missing_argument_linter=Inf,
106
-
paste_linter=Inf,
107
-
rep_len_linter=Inf,
108
-
sample_int_linter=Inf,
109
-
seq_linter=Inf,
110
-
unnecessary_lambda_linter=Inf
111
-
))
74
+
exclusions=list(
75
+
`../tests`=list(
76
+
quotes_linter=Inf,
77
+
# TODO(michaelchirico): Enforce these and re-activate them one-by-one.
78
+
implicit_integer_linter=Inf,
79
+
infix_spaces_linter=Inf,
80
+
undesirable_function_linter=Inf
81
+
),
82
+
`../vignettes*`=list(
83
+
# assignment_linter = Inf,
84
+
implicit_integer_linter=Inf,
85
+
quotes_linter=Inf,
86
+
sample_int_linter=Inf
87
+
# strings_as_factors_linter = Inf
88
+
# system_time_linter = Inf
89
+
),
90
+
`../inst/tests`=list(
91
+
library_call_linter=Inf,
92
+
numeric_leading_zero_linter=Inf,
93
+
undesirable_operator_linter=Inf, # For ':::', possibly we could be more careful to only exclude ':::'.
94
+
# TODO(michaelchirico): Enforce these and re-activate them one-by-one.
95
+
comparison_negation_linter=Inf,
96
+
condition_call_linter=Inf,
97
+
duplicate_argument_linter=Inf,
98
+
equals_na_linter=Inf,
99
+
missing_argument_linter=Inf,
100
+
paste_linter=Inf,
101
+
rep_len_linter=Inf,
102
+
sample_int_linter=Inf,
103
+
seq_linter=Inf,
104
+
unnecessary_lambda_linter=Inf
105
+
),
106
+
`../inst/tests/froll.Rraw`=list(
107
+
dt_test_literal_linter=Inf# TODO(michaelchirico): Fix these once #5898, #5692, #5682, #5576, #5575, #5441 are merged.
112
108
)
113
-
}),
114
-
list(`../inst/tests/froll.Rraw`=list(dt_test_literal_linter=Inf)) # TODO(michaelchirico): Fix these once #5898, #5692, #5682, #5576, #5575, #5441 are merged.
Copy file name to clipboardExpand all lines: NEWS.md
+15Lines changed: 15 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -10,6 +10,21 @@
10
10
11
11
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.
12
12
13
+
2.`fwrite(compress="gzip")` once again produces a gzip header when the column names are missing or disabled, [@6852](https://github.com/Rdatatable/data.table/issues/6852). Thanks @maxscheiber for the report and @aitap for the fix.
14
+
15
+
3.`fread(keepLeadingZeros=TRUE)` now correctly parses dates with components with leading zeros as dates instead of strings, [#6851](https://github.com/Rdatatable/data.table/issues/6851). Thanks @TurnaevEvgeny for the report and @ben-schwen for the fix.
16
+
17
+
## NOTES
18
+
19
+
1. Continued work to remove non-API C functions, [#6180](https://github.com/Rdatatable/data.table/issues/6180). Thanks Ivan Krylov for the PRs and for writing a clear and concise guide about the R API: https://aitap.codeberg.page/R-api/.
20
+
21
+
2. The following in-progress deprecations have proceeded:
22
+
23
+
+ Argument `logicalAsInt` to `fwrite()` has been removed.
24
+
+ Argument `autostart` to `fread()` has been removed.
25
+
+ Argument `in.place` to `droplevels` has been removed.
26
+
+ It's now an error to set `datatable.nomatch`, which has been warning since 1.15.0.
27
+
13
28
# data.table [v1.17.0](https://github.com/Rdatatable/data.table/milestone/34) (20 Feb 2025)
(setattr(as.integer(as.numeric(x) %/%86400L), "class", c("IDate", "Date"))) # %/% returns new object so can use setattr() on it; wrap with () to return visibly
stopf("with=FALSE together with := was deprecated in v1.9.4 released Oct 2014; this has been warning since v1.15.0. Please wrap the LHS of := with parentheses; e.g., DT[,(myVar):=sum(b),by=a] to assign to column name(s) held in variable myVar. See ?':=' for other examples.")
692
-
}
689
+
if (jsub %iscall% ":=") stopf("`:=` is only supported under with=TRUE, see ?`:=`.")
693
690
# missingby was already checked above before dealing with i
694
691
if (jsub %iscall% c("!", "-") && length(jsub)==2L) { # length 2 to only match unary, #2109
if (!is.data.table(y) ||!is.data.table(x)) stopf("y and x must both be data.tables. Use `setDT()` to convert list/data.frames to data.tables by reference or as.data.table() to convert to data.tables by copying.")
warningf("POSIXct interval cols have mixed timezones. Overlaps are performed on the internal numerical representation of POSIXct objects (always in UTC epoch time), therefore printed values may give the impression that values don't overlap but their internal representations do Please ensure that POSIXct type interval cols have identical 'tzone' attributes to avoid confusion.")
if (!is.null(autostart)) stopf("'autostart' is deprecated. Consider skip='string' or skip=n. This argument will be removed in the next release.");
128
127
if (is.logical(colClasses)) {
129
128
if (!allNA(colClasses)) stopf("colClasses is type 'logical' which is ok if all NA but it has some TRUE or FALSE values in it which is not allowed. Please consider the drop= or select= argument instead. See ?fread.")
0 commit comments