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: src/assign.c
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -215,7 +215,7 @@ SEXP setdt_nrows(SEXP x)
215
215
* many operations still work in the presence of NULL columns and it might be convenient
216
216
* e.g. in package eplusr which calls setDT on a list when parsing JSON. Operations which
217
217
* fail for NULL columns will give helpful error at that point, #3480 and #3471 */
218
-
if (Rf_isNull(xi)) continue;
218
+
if (isNull(xi)) continue;
219
219
if (Rf_inherits(xi, "POSIXlt")) {
220
220
error(_("Column %d has class 'POSIXlt'. Please convert it to POSIXct (using as.POSIXct) and run setDT() again. We do not recommend the use of POSIXlt at all because it uses 40 bytes to store one date."), i+1);
0 commit comments