Re: [R] probleme with R CMD check

From: <cgenolin_at_u-paris10.fr>
Date: Wed, 04 Jun 2008 00:30:08 +0200

I find the problem: the name of my base directory (the one that contain R, man and test) was not the same than the name of the package...

I thaught this was allowed, I guess I was wrong.

Christophe

>>>>>> "c" == cgenolin <cgenolin@u-paris10.fr>
>>>>>> on Tue, 03 Jun 2008 09:55:15 +0200 writes:
>
> >> provide commented, minimal, self-contained, reproducible code.
> >> Please do -- both --
>
> c> Sorry... Usualy, I do...
>
> c> --- 8< ------------
> c> userA <- function(x)x+1
> c> privateA <- function(x)x+2
> c> .userB <- function(x)x+10
> c> .privateB <- function(x)x+20
> c> userC <- function(x)userA(privateA(x))
> c> privateC <- function(x).userB(.privateB(x))
> c> userD <- function(x)userA(.userB(x))
> c> privateD <- function(x)privateA(.privateB(x))
> c> --- 8< ------------
>
> If I execute these in an empty R session, and
> do
> package.skeleton("EXpkg")
> system("R CMD check EXpkg")
>
> I can NOT see the problem you describe below.
> Probably you'd rather should upload the
> <pkg>.tar.gz
> to a public place, to make your problem reproducible.
>
> Martin
>
> >>>>>>> "c" == cgenolin <cgenolin_at_u-paris10.fr>
> >>>>>>> on Tue, 03 Jun 2008 00:32:13 +0200 writes:
> >>
> c> Hi the list.
> c> I got a probleme with R CMD check. I run a package.skeleton on a very
> c> simple code (four toy function, no probleme with the R CMD build). But
> c> on the R CMD check packClassique, I get :
> >>
> c> * checking for unstated dependencies in R code ... WARNING
> c> Erreur dans .find.package(package, lib.loc) : aucun package nommé
> c> 'packClassique' n'est trouvé
> c> Calls: <Anonymous> -> .find.package
> c> Excecution hated [French=Exécution arrêtée]
> >>
> c> See the information on DESCRIPTION files in the chapter 'Creating R
> c> packages' of the 'Writing R Extensions' manual.
> c> * checking S3 generic/method consistency ... WARNING
> c> Erreur dans .find.package(package, lib.loc) : aucun package nommé
> c> 'packClassique' n'est trouvé
> c> Calls: <Anonymous> -> .find.package
> c> Exécution arrêtée
> >>
> c> And so on.
> >>
> c> Any idea on what is wrong ?
> >>
> >> No.
> >>
> c> Christophe
> >>
> c> ______________________________________________
> c> R-help_at_r-project.org mailing list
> c> https://stat.ethz.ch/mailman/listinfo/r-help
> >>
> c> PLEASE do read the posting guide
> >> http://www.R-project.org/posting-guide.html
> c> and provide commented, minimal, self-contained, reproducible code.
> >>
> >> Please do -- both --
> >>
> >> Martin
> >>
>
>
>
> c> ----------------------------------------------------------------
> c> Ce message a ete envoye par IMP, grace a l'Universite Paris 10 Nanterre
>
>
>



R-help_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code. Received on Tue 03 Jun 2008 - 22:33:13 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 Wed 04 Jun 2008 - 00:30:32 GMT.

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

list of date sections of archive