Re: [R] How to build a package which loads Rgraphviz (if installed)...

From: Søren Højsgaard <Soren.Hojsgaard_at_agrsci.dk>
Date: Sun, 13 Jul 2008 00:45:48 +0200

The tricky part is not getting it through the checks on my computer. It is when I upload to CRAN I get the problems, because "their" computers need Rgraphviz as well... ("Suggests" does not seem to be the solution...)  

Cheers
Søren


Fra: Duncan Murdoch [mailto:murdoch_at_stats.uwo.ca] Sendt: sø 13-07-2008 00:36
Til: Søren Højsgaard
Cc: William Revelle; r-help_at_stat.math.ethz.ch Emne: Re: [R] How to build a package which loads Rgraphviz (if installed)...

On 12/07/2008 6:27 PM, Søren Højsgaard wrote:
> Bill,
> Thanks for the suggestion, but it does not solve the problem; I get the same warning from rcmd check. I suspect that rcmd check actually checks that any package referred to in require() is declared in the DESCRIPTION file. >From the version numbers from your 'psych' package I guess you are stuck with the same problem???

There are varying degrees of dependence. Probably "Suggests" is what you want.

Note that *you* need to have RGraphViz to make it through the checks, but other users won't need it.

Duncan Murdoch



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 Sat 12 Jul 2008 - 22:55:48 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 Sun 13 Jul 2008 - 11:31:54 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