We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9a51230 commit 1b363adCopy full SHA for 1b363ad
src/utils.c
@@ -507,9 +507,10 @@ bool isDataList(SEXP x) {
507
return isNewList(x) && (!LENGTH(x) || (equalLens(x) && !isNull(getAttrib(x, R_NamesSymbol))));
508
}
509
510
-// isDataTable(x) || isDataFrame(x) || isDataList(x)
+// TODO: use isDataFrame (when included in any R release).
511
+// isDataTable(x) || isFrame(x) || isDataList(x)
512
bool perhapsDataTable(SEXP x) {
- return isDataTable(x) || isDataFrame(x) || isDataList(x);
513
+ return isDataTable(x) || isFrame(x) || isDataList(x);
514
515
SEXP perhapsDataTableR(SEXP x) {
516
SEXP ans = PROTECT(allocVector(LGLSXP, 1));
0 commit comments