Hello, In my description file, I have an example data package in Suggests: that I've deleted from my library to test what the user who doesn't have it will experience. However, R CMD check won't even pass my package : * checking package dependencies ... ERROR Package required but not available: RepitoolsExamples Why would it have to be installed, if it's only a data package, that isn't needed in any of my code ? The manual also says "In particular, large packages providing ?only? data for examples or vignettes should be listed in ?Suggests? rather than ?Depends? in order to make lean installations possible." -------------------------------------- Dario Strbenac Research Assistant Cancer Epigenetics Garvan Institute of Medical Research Darlinghurst NSW 2010 Australia
On Fri, 29 Apr 2011, Dario Strbenac wrote:> Hello, > > In my description file, I have an example data package in Suggests: > that I've deleted from my library to test what the user who doesn't > have it will experience. > > However, R CMD check won't even pass my package : > > * checking package dependencies ... ERROR > Package required but not available: RepitoolsExamples > > Why would it have to be installed, if it's only a data package, that > isn't needed in any of my code ? The manual also says "In > particular, large packages providing ?only? data for examples or > vignettes should be listed in ?Suggests? rather than ?Depends? in > order to make lean installations possible."Why suggest a package that 'isn't needed in any of my code'? I suspect that is a lie, and some of your code does use it: if some it is needed to fully check the package. There is a option to 'R CMD check' to enable the check to go ahead without all the dependencies, so please do re-read the manuals to find it.> -------------------------------------- > Dario Strbenac > Research Assistant > Cancer Epigenetics > Garvan Institute of Medical Research > Darlinghurst NSW 2010 > Australia > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel >-- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
The intention was more to have another place to make the user aware of a real-sized data package I made, since the package only comes with trivially sized data. The help examples and vignette only use the small sized data, and never the realistic dataset. I suppose it is better just to put a reference to it in the vignette and describe its availability in there.
Hi, On 11-04-28 07:00 PM, Dario Strbenac wrote:> Hello, > > In my description file, I have an example data package in Suggests: that I've deleted from my library to test what the user who doesn't have it will experience. > > However, R CMD check won't even pass my package : > > * checking package dependencies ... ERROR > Package required but not available: RepitoolsExamples^^^^^^^^ confusing! Wouldn't a message like Package required for full checking but not available: RepitoolsExamples be more appropriate and avoid a confusion that we've seen for a very long time now? Just me 2 cents... Cheers, H.> > Why would it have to be installed, if it's only a data package, that isn't needed in any of my code ? The manual also says "In particular, large packages providing ?only? data for examples or vignettes should be listed in ?Suggests? rather than ?Depends? in order to make lean installations possible." > > -------------------------------------- > Dario Strbenac > Research Assistant > Cancer Epigenetics > Garvan Institute of Medical Research > Darlinghurst NSW 2010 > Australia > ______________________________________________ > R-devel at r-project.org mailing list > https://stat.ethz.ch/mailman/listinfo/r-devel-- Herv? Pag?s Program in Computational Biology Division of Public Health Sciences Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N, M2-B876 P.O. Box 19024 Seattle, WA 98109-1024 E-mail: hpages at fhcrc.org Phone: (206) 667-5791 Fax: (206) 667-1319
Hello,>If Dario really uses R 2.13.0 (or newer), >and he gets the above error message for a package that is not >required but only suggested, >I think we'd need a clear, ideally simple, >reproducible example, here.I was able to reproduce it. I made a new package with package.skeleton(), then added Suggests: RepitoolsExamples to the DESCRIPTION file, and the result of check was : * using log directory /home/darstr/testPackage.Rcheck * using R version 2.13.0 (2011-04-13) * using platform: x86_64-unknown-linux-gnu (64-bit) * using session charset: UTF-8 * checking for file testPackage/DESCRIPTION ... OK * checking extension type ... Package * this is package testPackage version 1.0 * checking package dependencies ... ERROR Package required but not available: RepitoolsExamples -------------- next part -------------- A non-text attachment was scrubbed... Name: testPackage.tar.gz Type: application/x-gzip Size: 1260 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-devel/attachments/20110504/161879f1/attachment.gz>