Re: [R] probleme with R CMD check

From: Martin Maechler <maechler_at_stat.math.ethz.ch>
Date: Tue, 03 Jun 2008 11:22:47 +0200

>>>>> "c" == cgenolin <cgenolin_at_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 - 09:42:24 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 Tue 03 Jun 2008 - 23:30:42 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