[R-pkg-devel] Help with checking package.

Roy Mendelssohn - NOAA Federal roy@mende|@@ohn @end|ng |rom no@@@gov
Tue Feb 22 19:21:18 CET 2022


I don't know if there is an option to R CMD check tha will catch this, but you should always test your packages on some combination of win builder and RHub.  That would have flagged the error, and gives you the best chance of catching all possible errors across various OSs before you submit to CRAN.

HTH,

-Roy

> On Feb 22, 2022, at 10:08 AM, Charles-Édouard Giguère <ce.giguere using gmail.com> wrote:
> 
> Hi Sebastian, 
> Thank you very much, I found a way to look at the file 00install.out and I understand the problem with the local path now. My question now is : what option should I add to R CMD check so that it catches this error because when I used --as-cran it didn't catch this error. 
> Thank you,
> Charles-Édouard
> 
> -----Message d'origine-----
> De : Sebastian Meyer <seb.meyer using fau.de> 
> Envoyé : 22 février 2022 12:09
> À : Charles-Édouard Giguère <ce.giguere using gmail.com>; r-package-devel using r-project.org
> Objet : Re: [R-pkg-devel] TR: Help with checking package.
> 
> Am 22.02.22 um 17:43 schrieb Charles-Édouard Giguère:
>> Thank you for your reply,
>> In attachment, I have put my own log where everything checks out and below is the log I received from CRAN. The problem is that I don't have the 00install.out file from CRAN. I suspect it might have to do with the dependencies not installed on CRAN but the dependencies are declared in my Description file in the import section. I don’t know how to go forward.
>> Charles-Édouard
> 
> The e-mail from the CRAN teams' auto-check service should contain a link to the relevant check results. Look for the sentence "More details are given in the directory:" at the end of that e-mail.
> 
> Best regards,
> 
> 	Sebastian Meyer
> 
>> 
>> * using log directory 'd:/RCompile/CRANincoming/R-devel/CUFF.Rcheck'
>> * using R Under development (unstable) (2022-02-15 r81747 ucrt)
>> * using platform: x86_64-w64-mingw32 (64-bit)
>> * using session charset: UTF-8
>> * checking for file 'CUFF/DESCRIPTION' ... OK
>> * checking extension type ... Package
>> * this is package 'CUFF' version '1.8'
>> * package encoding: UTF-8
>> * checking CRAN incoming feasibility ... Note_to_CRAN_maintainers
>> Maintainer: 'Charles-Édouard Giguère <ce.giguere using gmail.com>'
>> * checking package namespace information ... OK
>> * checking package dependencies ... OK
>> * checking if this is a source package ... OK
>> * checking if there is a namespace ... OK
>> * checking for hidden files and directories ... OK
>> * checking for portable file names ... OK
>> * checking serialization versions ... OK
>> * checking whether package 'CUFF' can be installed ... ERROR Installation failed.
>> See 'd:/RCompile/CRANincoming/R-devel/CUFF.Rcheck/00install.out' for details.
>> * DONE
>> Status: 1 ERROR
>> 
>> 
>> -----Message d'origine-----
>> De : Ivan Krylov <krylov.r00t using gmail.com> Envoyé : 22 février 2022 11:32 À : Charles-Édouard Giguère <ce.giguere using gmail.com> Cc : r-package-devel using r-project.org Objet : Re: [R-pkg-devel] TR: Help with checking package.
>> 
>> On Mon, 21 Feb 2022 15:07:03 -0500
>> Charles-Édouard Giguère <ce.giguere using gmail.com> wrote:
>> 
>>> When I submit it to CRAN there are some error messages and my 
>>> submission is denied but I don't know what to change since the only 
>>> error message is that the package cannot be installed. Can someone 
>>> give me some tips on how I can figure that out?
>> 
>> It would be much easier to help if we could see the messages themselves.
>> 
>> --
>> Best regards,
>> Ivan
>> 
>> ______________________________________________
>> R-package-devel using r-project.org mailing list 
>> https://stat.ethz.ch/mailman/listinfo/r-package-devel
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel

**********************
"The contents of this message do not reflect any position of the U.S. Government or NOAA."
**********************
Roy Mendelssohn
Supervisory Operations Research Analyst
NOAA/NMFS
Environmental Research Division
Southwest Fisheries Science Center
***Note new street address***
110 McAllister Way
Santa Cruz, CA 95060
Phone: (831)-420-3666
Fax: (831) 420-3980
e-mail: Roy.Mendelssohn using noaa.gov www: https://www.pfeg.noaa.gov/

"Old age and treachery will overcome youth and skill."
"From those who have been given much, much will be expected" 
"the arc of the moral universe is long, but it bends toward justice" -MLK Jr.



More information about the R-package-devel mailing list