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 bbb1886 commit 5cb85bbCopy full SHA for 5cb85bb
R/entity_class.R
@@ -36,7 +36,7 @@ entity<-setClass(
36
description='no description provided',
37
value='',
38
type='character',
39
- max_length=1
+ max_length=Inf
40
),
41
validity = function(object) {
42
check_length=length(value(object)) <= max_length(object)
@@ -83,9 +83,6 @@ setMethod(f="initialize",
83
.Object@value=new(.Object@type)
84
}
85
86
- if ((.Object@type %in% c('data.frame','formula','matrix')) && !('max_length' %in% names(L))) {
87
- .Object@max_length=Inf
88
- }
89
90
validObject(.Object)
91
return(.Object)
0 commit comments