Displaying 4 results from an estimated 4 matches for "issealedclass".
2018 Oct 26
2
Bug report for sealClass() in Core-maintained package "methods"
...-maintained package "methods"
Hello,
I have found that I cannot use sealClass() without specifying the 'where' argument.
I have found this issue in R 3.2.3 and R 3.4.0.
For example:
> setClass("foo", slots=c(name="character", age="integer"))
> isSealedClass("foo")
[1] FALSE
> sealClass("foo")
Error in list2env(list(<environment>), NULL, <environment>) :
names(x) must be a character vector of the same length as x
> isSealedClass("foo")
[1] FALSE
> sealClass("foo", where=.GlobalEnv)
> isS...
2018 Oct 27
0
Bug report for sealClass() in Core-maintained package "methods"
...;
>
> Hello,
>
> I have found that I cannot use sealClass() without specifying the 'where' argument.
> I have found this issue in R 3.2.3 and R 3.4.0.
> For example:
>> setClass("foo", slots=c(name="character", age="integer"))
>> isSealedClass("foo")
> [1] FALSE
>> sealClass("foo")
> Error in list2env(list(<environment>), NULL, <environment>) :
> names(x) must be a character vector of the same length as x
>> isSealedClass("foo")
> [1] FALSE
>> sealClass("foo&...
2003 Apr 16
2
R-1.7.0 is released
...o determine the nearest top level
environment (usually .GlobalEnv or a name space environment).
- Added name space support for packages that do not use methods.
o Formal classes and methods can be `sealed', by using the
corresponding argument to setClass or setMethod. New
functions isSealedClass() and isSealedMethod() test sealing.
o packages can now be loaded with version numbers. This allows
for multiple versions of files to be installed (and potentially
loaded). Some serious testing will be going on, but it should
have no effect unless specifically asked for.
INSTALLATION CHAN...
2003 Apr 16
2
R-1.7.0 is released
...o determine the nearest top level
environment (usually .GlobalEnv or a name space environment).
- Added name space support for packages that do not use methods.
o Formal classes and methods can be `sealed', by using the
corresponding argument to setClass or setMethod. New
functions isSealedClass() and isSealedMethod() test sealing.
o packages can now be loaded with version numbers. This allows
for multiple versions of files to be installed (and potentially
loaded). Some serious testing will be going on, but it should
have no effect unless specifically asked for.
INSTALLATION CHAN...