[Rd] troubles with R CMD check and examples under Ubuntu gutsy

From: Patrick Giraudoux <patrick.giraudoux_at_univ-fcomte.fr>
Date: Mon, 05 May 2008 07:02:23 +0200


Dear listers,

I was used to package pgirmess under Windows with everything OK, but, for the first time, I had a trial this afternoon on Ubuntu 7.10 gutsy (I have a double boot computer and work more and more under unix) and R 2.7.0. Everything went OK except this:

sudo R CMD check pgirmess
.....

> ### * PermTest
>
> flush(stderr()); flush(stdout())
>
> ### Name: PermTest
> ### Title: Permutation test for lm, lme and glm (binomial and Poisson)
> ### objects
> ### Aliases: PermTest PermTest.lm PermTest.lme PermTest.glm
print.PermTest
> ### Keywords: htest
>
> ### ** Examples
>
> library(MASS)
> mylm<-lm(Postwt~Prewt,data=anorexia)
> PermTest(mylm,B=250)

Error: could not find function "PermTest" Execution halted

If I run R CMD check --no-examples pgirmess, everything comes OK. Seems again that this check makes problem. I googled a bit on R-devel but did not find any understandable post on that...

Any idea about what happens ? (please consider if I can write some lines and build a package, I am *not* an advanced fellow in matter of packaging... and just know something about running the commands 'R CMD check' and R CMD build...)

Thanks in advance,

Patrick



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Mon 05 May 2008 - 05:10:43 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 05 May 2008 - 07:31:24 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive