search for: s4generic

Displaying 2 results from an estimated 2 matches for "s4generic".

Did you mean: generic
2011 Jun 29
0
Error in testInstalledBasic
...ls(.ArgsEnv, all.names=TRUE), + lang_elements) > stopifnot(ff %in% known, known %in% ff) > > > ## check which are not considered as possibles for S4 generic > ff4 <- names(methods:::.BasicFunsList) > # as.double and as.real are the same as as.numeric > S4generic <- ff %in% c(ff4, "as.double", "as.real") > notS4 <- ff[!S4generic] > if(length(notS4)) + cat("primitives not covered in methods:::.BasicFunsList:", + paste(sQuote(notS4), collapse=", "), "\n") > stopifnot(S4generic) >...
2011 Jun 30
0
help with interpreting what nnet() output gives:
...ls(.ArgsEnv, all.names=TRUE), + lang_elements) > stopifnot(ff %in% known, known %in% ff) > > > ## check which are not considered as possibles for S4 generic > ff4 <- names(methods:::.BasicFunsList) > # as.double and as.real are the same as as.numeric > S4generic <- ff %in% c(ff4, "as.double", "as.real") > notS4 <- ff[!S4generic] > if(length(notS4)) + cat("primitives not covered in methods:::.BasicFunsList:", + paste(sQuote(notS4), collapse=", "), "\n") > stopifnot(S4generic) >...