[R] "R CMD check" does not find a mistake

Martin Maechler maechler at stat.math.ethz.ch
Wed Jun 10 14:27:48 CEST 2009


>>>>> "MM" == Martin Maechler <maechler at stat.math.ethz.ch>
>>>>>     on Wed, 10 Jun 2009 08:50:46 +0200 writes:

>>>>> "CG" == Christophe Genolini <cgenolin at u-paris10.fr>
>>>>>     on Tue, 09 Jun 2009 16:17:15 +0200 writes:

    CG> Hi the list, I build a package. They was a mistake in
    CG> it, but R CMD check did not find it. Is that normal ?

    CG> Here is what Kurt gets (which is right, I did this
    CG> mistake):

    CG> --- 8< ----------------
    CG> * checking for code/documentation mismatches ... WARNING
    CG> S4 class codoc mismatches from documentation object 'LongData-class':
    CG> Slots for class 'LongData'
    CG> Code: id other time traj varName
    CG> Docs: id time traj varName
    CG> --- 8< ----------------

    MM> Others have already hinted at the solution:

    MM> The problem only shows in  "R-devel" (2.10.x).

    MM> Note that I had sent an explicit message to this list

"this list" (above) was not quite correct, excuse me. 

I meant the R-devel list,  and I indeed would suggest that active R
package authors *do* subscribe to R-devel  (or read it very
regularly through one of its mirrors/ list-interfaces).

Martin

    MM> *exactly* in order to advise all package authors :

    MM> Subject: [Rd] R-devel:codocClasses() now finds more --> R CMD check warnings
    MM> Date: Wed, 3 Jun 2009 11:45:45 +0200

    MM> i.e. only 6 days before you saw the problem....
    MM> ....
    MM> yes, I am sometimes too optimistic, assuming that people
    MM> actually read what I write ....

    MM> Regards anyway!
    MM> Martin

    MM> --
    MM> Martin Maechler, ETH Zurich

    MM> ______________________________________________
    MM> R-help at r-project.org mailing list
    MM> https://stat.ethz.ch/mailman/listinfo/r-help
    MM> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
    MM> and provide commented, minimal, self-contained, reproducible code.




More information about the R-help mailing list