File tree Expand file tree Collapse file tree 2 files changed +2
-4
lines changed
Expand file tree Collapse file tree 2 files changed +2
-4
lines changed Original file line number Diff line number Diff line change @@ -32,7 +32,7 @@ void mergeIndexAttrib(SEXP to, SEXP from) {
3232}
3333
3434SEXP cbindlist (SEXP x , SEXP copyArg ) {
35- if (!isNewList (x ) || isFrame (x ))
35+ if (!isNewList (x ) || isDataFrame (x ))
3636 error (_ ("'%s' must be a list" ), "x" );
3737 bool copy = (bool )LOGICAL (copyArg )[0 ];
3838 const bool verbose = GetVerbose ();
Original file line number Diff line number Diff line change @@ -533,10 +533,8 @@ bool isRectangularList(SEXP x) {
533533 return isRectangular (x );
534534}
535535
536- // TODO: use isDataFrame (when included in any R release).
537- // isDataTable(x) || isFrame(x) || isRectangularList(x)
538536bool perhapsDataTable (SEXP x ) {
539- return isDataTable (x ) || isFrame (x ) || isRectangularList (x );
537+ return isDataTable (x ) || isDataFrame (x ) || isRectangularList (x );
540538}
541539SEXP perhapsDataTableR (SEXP x ) {
542540 return ScalarLogical (perhapsDataTable (x ));
You can’t perform that action at this time.
0 commit comments