search for: fitmatchopt

Displaying 1 result from an estimated 1 matches for "fitmatchopt".

2009 Aug 28
2
R CMD check does not recognize S4 functions inside other functions?
...se matrix routines in the package 'Matrix'. When these are loaded in R, they create no problems. However, when running R CMD check, I run into the following error in executing the examples in a .rd file: > DD = Matrix(diag(1,200),sparse=TRUE) > tDD = t(DD) > > fres = FitMatchOpt(coefs=coefs,which=2,pars=pars,proc) Error in t.default(DD) : argument is not a matrix Calls: FitMatchOpt -> t -> t.default Execution halted The first two lines of the function FitMatchOpt are DD = Matrix(diag(1,200),sparse=TRUE) tDD = t(DD) These were fine when given in the examples...