From 5520b6a550416617b14af6b8d427f02345fbf8d6 Mon Sep 17 00:00:00 2001 From: Michael Chirico Date: Fri, 17 Jan 2025 08:58:56 -0800 Subject: [PATCH] Just say "invalid" instead of "missing" --- src/assign.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/assign.c b/src/assign.c index 571d30abd..e5cc9b84a 100644 --- a/src/assign.c +++ b/src/assign.c @@ -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