[Rd] Strange bug in my package

Uwe Ligges ligges at statistik.tu-dortmund.de
Thu Apr 26 17:47:22 CEST 2012



On 25.04.2012 10:58, ONKELINX, Thierry wrote:
> Dear all,
>
> I get a bug in the examples of my AFLP package on R-forge (https://r-forge.r-project.org/R/?group_id=1027) but only on the Linux version. The windows version compiles. The Mac version skips the examples and compiles. The strange thing is that the packages compiles on my Ubuntu 10.10 machine with R 2.15.0. Therefore I can't reproduce the error.

I don't see any error on the R-forge check results.

Uwe Ligges

>
> I have traced the problem at
> residuals(outliers(data))
>
> outliers(data) gives an AFLP.outlier object (S4) and I have defined
>
> setMethod("residuals", signature(object = "AFLP.outlier"),
>          function(object, ...){
>                  object at Residual
>          }
> )
>
> setMethod("resid", signature(object = "AFLP.outlier"),
>          function(object, ...){
>                  object at Residual
>          }
>
> And the NAMESPACE is
>
> importFrom(stats, hclust, princomp, residuals, resid)
> exportPattern(".")
>
> Any suggestions are welcome.
>
> Best regards,
>
> Thierry
>
> ir. Thierry Onkelinx
> Instituut voor natuur- en bosonderzoek / Research Institute for Nature and Forest
> team Biometrie&  Kwaliteitszorg / team Biometrics&  Quality Assurance
> Kliniekstraat 25
> 1070 Anderlecht
> Belgium
> + 32 2 525 02 51
> + 32 54 43 61 85
> Thierry.Onkelinx at inbo.be
> www.inbo.be
>
> To call in the statistician after the experiment is done may be no more than asking him to perform a post-mortem examination: he may be able to say what the experiment died of.
> ~ Sir Ronald Aylmer Fisher
>
> The plural of anecdote is not data.
> ~ Roger Brinner
>
> The combination of some data and an aching desire for an answer does not ensure that a reasonable answer can be extracted from a given body of data.
> ~ John Tukey
>
>
> * * * * * * * * * * * * * D I S C L A I M E R * * * * * * * * * * * * *
> Dit bericht en eventuele bijlagen geven enkel de visie van de schrijver weer en binden het INBO onder geen enkel beding, zolang dit bericht niet bevestigd is door een geldig ondertekend document.
> The views expressed in this message and any annex are purely those of the writer and may not be regarded as stating an official position of INBO, as long as the message is not confirmed by a duly signed document.
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel



More information about the R-devel mailing list