Displaying 3 results from an estimated 3 matches for "testvirtualclass".
2015 May 04
2
Problem with adding slots to S4 object
...to create a virtual S4 class with some subclasses. I noticed
that adding slots to this class increases the memory use and slows the
functions down. Note that I'm adding very small slots (integer or character
both of length 1).
I've made a reproducible example at
https://github.com/ThierryO/testvirtualclass. The R CMD check --as-cran
fails on the tests.
Some of the output of R CMD check
* using R version 3.2.0 (2015-04-16)
* using platform: i386-w64-mingw32 (32-bit)
* using session charset: ISO8859-1
* using option '--as-cran'
* checking tests ...
Running 'testthat.R' [125s]
ERROR...
2015 May 05
1
Problem with adding slots to S4 object
...; > that adding slots to this class increases the memory use and slows the
> > functions down. Note that I'm adding very small slots (integer or
> character
> > both of length 1).
> >
> > I've made a reproducible example at
> > https://github.com/ThierryO/testvirtualclass. The R CMD check --as-cran
> > fails on the tests.
> >
> > Some of the output of R CMD check
> >
> > * using R version 3.2.0 (2015-04-16)
> > * using platform: i386-w64-mingw32 (32-bit)
> > * using session charset: ISO8859-1
> > * using option '--...
2015 May 05
0
Problem with adding slots to S4 object
...with some subclasses. I noticed
> that adding slots to this class increases the memory use and slows the
> functions down. Note that I'm adding very small slots (integer or character
> both of length 1).
>
> I've made a reproducible example at
> https://github.com/ThierryO/testvirtualclass. The R CMD check --as-cran
> fails on the tests.
>
> Some of the output of R CMD check
>
> * using R version 3.2.0 (2015-04-16)
> * using platform: i386-w64-mingw32 (32-bit)
> * using session charset: ISO8859-1
> * using option '--as-cran'
> * checking tests ...
&...