search for: matrixdispatchtest

Displaying 8 results from an estimated 8 matches for "matrixdispatchtest".

2016 Apr 18
3
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
Scenario: An S3 method is declared for an S4 base class but called for an instance of a derived class. Steps to reproduce: > Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix <- function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())" Error in UseMethod("test", x) : no applicable method for 'test' applied to an object of class "lsyMatrix" Calls: <Anonymous> 1: MatrixDispatchTest::test(Matrix::Matrix()) > Rscript -e "extends <- 42; test <- function...
2016 Apr 19
3
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...Scenario: An S3 method is declared for an S4 base class but called for an >> instance of a derived class. >> >> Steps to reproduce: >> >>> Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix <- >>> function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())" >> Error in UseMethod("test", x) : >> no applicable method for 'test' applied to an object of class "lsyMatrix" >> Calls: <Anonymous> >> 1: MatrixDispatchTest::test(Matrix::Matrix()) >> >>> Rsc...
2016 Apr 19
2
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...t called for > an > >>> instance of a derived class. > >>> > >>> Steps to reproduce: > >>> > >>>> Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix <- > >>>> function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())" > >>> > >>> Error in UseMethod("test", x) : > >>> no applicable method for 'test' applied to an object of class > >>> "lsyMatrix" > >>> Calls: <Anonymous> > >>>...
2016 Apr 19
4
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...a derived class. > >> >>> > >> >>> Steps to reproduce: > >> >>> > >> >>>> Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix > <- > >> >>>> function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())" > >> >>> > >> >>> Error in UseMethod("test", x) : > >> >>> no applicable method for 'test' applied to an object of class > >> >>> "lsyMatrix" > >> >>&g...
2016 Apr 19
0
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
....ethz.ch> wrote: > Scenario: An S3 method is declared for an S4 base class but called for an > instance of a derived class. > > Steps to reproduce: > >> Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix <- >> function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())" > Error in UseMethod("test", x) : > no applicable method for 'test' applied to an object of class "lsyMatrix" > Calls: <Anonymous> > 1: MatrixDispatchTest::test(Matrix::Matrix()) > >> Rscript -e "extends &lt...
2016 Apr 19
0
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...is declared for an S4 base class but called for an >>> instance of a derived class. >>> >>> Steps to reproduce: >>> >>>> Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix <- >>>> function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())" >>> >>> Error in UseMethod("test", x) : >>> no applicable method for 'test' applied to an object of class >>> "lsyMatrix" >>> Calls: <Anonymous> >>> 1: MatrixDispatchTest::test(M...
2016 Apr 19
0
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...;> >>> instance of a derived class. >> >>> >> >>> Steps to reproduce: >> >>> >> >>>> Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix <- >> >>>> function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())" >> >>> >> >>> Error in UseMethod("test", x) : >> >>> no applicable method for 'test' applied to an object of class >> >>> "lsyMatrix" >> >>> Calls: <Anonymous&g...
2016 Apr 19
0
S3 dispatch for S4 subclasses only works if variable "extends" is accessible from global environment
...t; >> >>> >> >> >>> Steps to reproduce: >> >> >>> >> >> >>>> Rscript -e "test <- function(x) UseMethod('test', x); test.Matrix >> <- >> >> >>>> function(x) 'Hi'; MatrixDispatchTest::test(Matrix::Matrix())" >> >> >>> >> >> >>> Error in UseMethod("test", x) : >> >> >>> no applicable method for 'test' applied to an object of class >> >> >>> "lsyMatrix" >>...