Displaying 6 results from an estimated 6 matches for "s4inherit".
Did you mean:
s4inherits
2016 Jun 25
2
strange behavior in 'inherits' check for loaded S4 object
...r an S4 object
inherits from a parent class defined from another package with
'inherits' fails if that object is materialized through a call to
'load'. That's a mouthful, so I've put together a relatively small
reproducible example online here:
https://github.com/kevinushey/s4inherits
This package, 's4inherits', defines an S4 class, 'SubMatrix', that
inherits from the 'dsyMatrix' class defined in the Matrix package.
After installing the package, I run some simple tests:
$ R -f test-save.R
> library(s4inherits)
> data <- SubMatrix(1)
>
>...
2016 Jul 29
2
strange behavior in 'inherits' check for loaded S4 object
...;.__C__<class>' object is not made part of the package environment.
> For example, I see:
>
> > getAnywhere(".__C__SubMatrix")
> A single object matching '.__C__SubMatrix' was found
> It was found in the following places
> namespace:s4inherits
> with value
> < ... >
>
> Note that the symbol is only discovered in the package namespace. When
> the class is exported (e.g. with 'exportClasses(SubMatrix)' in the
> NAMESPACE file), it's found both in 'package:s4inherits' and
> 'namesp...
2016 Jul 29
0
strange behavior in 'inherits' check for loaded S4 object
...exported, the associated
'.__C__<class>' object is not made part of the package environment.
For example, I see:
> getAnywhere(".__C__SubMatrix")
A single object matching '.__C__SubMatrix' was found
It was found in the following places
namespace:s4inherits
with value
< ... >
Note that the symbol is only discovered in the package namespace. When
the class is exported (e.g. with 'exportClasses(SubMatrix)' in the
NAMESPACE file), it's found both in 'package:s4inherits' and
'namespace:s4inherits'.
Secondly, wh...
2016 Jul 31
2
strange behavior in 'inherits' check for loaded S4 object
...t;' object is not made part of the package
>>> environment. For example, I see:
>>>
>>>> getAnywhere(".__C__SubMatrix") A single object matching
>>> '.__C__SubMatrix' was found It was found in the following
>>> places namespace:s4inherits with value < ... >
>>>
>>> Note that the symbol is only discovered in the package
>>> namespace. When the class is exported (e.g. with
>>> 'exportClasses(SubMatrix)' in the NAMESPACE file), it's
>>> found both in 'package:s4inheri...
2016 Jul 30
0
strange behavior in 'inherits' check for loaded S4 object
...;' object is not made part of the package
>> environment. For example, I see:
>>
>> > getAnywhere(".__C__SubMatrix") A single object matching
>> '.__C__SubMatrix' was found It was found in the following
>> places namespace:s4inherits with value < ... >
>>
>> Note that the symbol is only discovered in the package
>> namespace. When the class is exported (e.g. with
>> 'exportClasses(SubMatrix)' in the NAMESPACE file), it's
>> found both in 'package:s4inheri...
2016 Aug 02
0
strange behavior in 'inherits' check for loaded S4 object
...ot made part of the package
>>>> environment. For example, I see:
>>>>
>>>>> getAnywhere(".__C__SubMatrix") A single object matching
>>>> '.__C__SubMatrix' was found It was found in the following
>>>> places namespace:s4inherits with value < ... >
>>>>
>>>> Note that the symbol is only discovered in the package
>>>> namespace. When the class is exported (e.g. with
>>>> 'exportClasses(SubMatrix)' in the NAMESPACE file), it's
>>>> found both in ...