From ligges at statistik.tu-dortmund.de  Thu Apr 26 17:47:22 2012
From: ligges at statistik.tu-dortmund.de (Uwe Ligges)
Date: Thu, 26 Apr 2012 17:47:22 +0200
Subject: [Rd] Strange bug in my package
In-Reply-To: <AA818EAD2576BC488B4F623941DA742757366F54@inbomail.inbo.be>
References: <AA818EAD2576BC488B4F623941DA742757366F54@inbomail.inbo.be>
Message-ID: <4F996E0A.1000601@statistik.tu-dortmund.de>



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



[Rd] Strange bug in my package
Uwe Ligges