From patrick.giraudoux at univ-fcomte.fr  Mon May  5 14:32:05 2008
From: patrick.giraudoux at univ-fcomte.fr (Patrick Giraudoux)
Date: Mon, 05 May 2008 14:32:05 +0200
Subject: [Rd] troubles with R CMD check and examples under Ubuntu gutsy
In-Reply-To: <20080505151659.43cdab11@berwin-nus1>
References: <481E94DF.9000004@univ-fcomte.fr>	<20080505135549.5a3503d8@berwi
	n-nus1>	<481EA601.2000803@univ-fcomte.fr>	<20080505143209.2d1dfc86@berwin-nus1>	<481EAE1C.5020204@univ-fcomte.fr>
	<20080505151659.43cdab11@berwin-nus1>
Message-ID: <481EFE45.7010503@univ-fcomte.fr>


> I would suggest the following:
>
> 1) remove the directore pgirmess.Rcheck
> 2) run `R CMD check pgirmess' and see if the error occurs again
> 3) look at pgirmess.Rcheck/pgirmess/R.  Does it contain the three files
>    that I mentioned or the original source files.  If the latter,
> check whether PermTest.R is in that directory and whether it really
> contains the commands that define that function.  If the former, start
> an R session and issue the following commands:
>
> R> env <- new.env()
> R> lazyLoad("/path/to/pgirmess.Rcheck/pgirmess/R/pgirmess", envir=env)
> R> ls(envir=env)
>
> Make sure to replace the /path/to part above with the correct path.  Do
> you see the PermTest function listed?
>
> This should establish whether the file that contains the PermTest
> function is part of the sources that you believe make up your package
> source.  At the moment, I am leaning towards agreeing with Brian that
> the most likely reason for your problem is that the PermTest function
> got lost from your sources and is not installed.
>
>   
So I did actually removing everything (on Prof. Ripley's advise) and
restarting from the version downloaded from CRAN (the one I sent
yesterday to Kurt Hornik !!!)... And he does work !!!! Arrrrgh.... and
all those sort of things...

A least now I know the trouble does not come from Ubuntu but likely from
the way I copied files created under Windows to Linux. Maybe more than a
clue...

Sorry to have taken time from you both for so few (I was really messing
on the wrong tracks) and heartly thanks,

Patrick
> Best wishes,
>
> 	Berwin 
>
>
>



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