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

Uwe Ligges ligges at statistik.tu-dortmund.de
Sun Jul 13 12:31:12 CEST 2008



Søren Højsgaard wrote:
> 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...)


Søren,

"CRAN" (which means my machine in the case when Windows is concerned) 
has a running version of Rgraphiz nowadays (since a week or so). If you 
like I can trigger updates of your packages.

Best wishes,
Uwe


> 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.



More information about the R-help mailing list