Skip to content

Commit bbb1886

Browse files
committed
add default values for max_length in certain cases
1 parent 58d9f51 commit bbb1886

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

R/entity_class.R

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -84,8 +84,10 @@ setMethod(f="initialize",
8484
}
8585
}
8686
if ((.Object@type %in% c('data.frame','formula','matrix')) && !('max_length' %in% names(L))) {
87-
validObject(.Object)
87+
.Object@max_length=Inf
8888
}
89+
90+
validObject(.Object)
8991
return(.Object)
9092
}
9193
)

0 commit comments

Comments
 (0)