From D.Strbenac at garvan.org.au  Fri Apr 29 04:00:16 2011
From: D.Strbenac at garvan.org.au (Dario Strbenac)
Date: Fri, 29 Apr 2011 12:00:16 +1000 (EST)
Subject: [Rd] R CMD check and Suggests Packages
Message-ID: <20110429120016.BLP71069@gimr.garvan.unsw.edu.au>

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


[Rd] R CMD check and Suggests Packages
Dario Strbenac