>>>>> "Robin" == Robin Hankin <[EMAIL PROTECTED]> >>>>> on Wed, 31 Aug 2005 08:09:15 +0100 writes:
................ Robin> I am writing a rep() method for objects with class "octonion", and Robin> my function rep.octonion() has argument list (x, times, length.out, Robin> each, ...) Robin> just like rep.default(), but R CMD check complains about it, pointing Robin> out that rep() and rep.octonion() have different arguments. Hmm, not exactly, ``like rep.default'', I'm pretty sure. Why not peek into R's <source>/src/library/base/man/rep.Rd which has \usage{ rep(x, times, \dots) \method{rep}{default}(x, times, length.out, each, \dots) } and definitely passes R CMD check without a warning. Robin> What do I have to do to my rep.octonion() function to make my package Robin> pass R CMD check without warning? ______________________________________________ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel