Skip to content

Commit

Permalink
Just say "invalid" instead of "missing"
Browse files Browse the repository at this point in the history
  • Loading branch information
MichaelChirico authored Jan 17, 2025
1 parent 3e12c02 commit 5520b6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/assign.c
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@ static int _selfrefok(SEXP x, Rboolean checkNames, Rboolean verbose) {
}
p = R_ExternalPtrAddr(v);
if (p==NULL) {
if (verbose) Rprintf(_("This table is missing data.table internal attributes. This is expected and normal for a data.table loaded from disk. Please remember to always setDT() immediately after loading to prevent unexpected behavior. If this table was not loaded from disk or you've already run setDT(), please report to the data.table issue tracker.\n"));
if (verbose) Rprintf(_("The data.table internal attributes of this table are invalid. This is expected and normal for a data.table loaded from disk. Please remember to always setDT() immediately after loading to prevent unexpected behavior. If this table was not loaded from disk or you've already run setDT(), please report to the data.table issue tracker.\n"));
return -1;
}
if (!isNull(p)) internal_error(__func__, ".internal.selfref ptr is neither NULL nor R_NilValue"); // # nocov
Expand Down

0 comments on commit 5520b6a

Please sign in to comment.