Skip to content
Back to formatted view

Raw Message

Message-ID: <4EEA61D5.1020902@statistik.tu-dortmund.de>
Date: 2011-12-15T21:08:37Z
From: Uwe Ligges
Subject: DESCRIPTION Suggests entry help
In-Reply-To: <CB0F9E60.25C2B%proebuck@mdanderson.org>

If it is only in the Suggests and you test for its existence before its 
usage, it should be OK.

For old R versions my CRAN checks set the nvironment variable:
_R_CHECK_FORCE_SUGGESTS_=FALSE

Best,
Uwe Ligges



On 15.12.2011 19:53, Roebuck,Paul L wrote:
> How should the Suggests entry be written in this case?
>
> Have package that supports parallel processing available
> for multiple R versions. Original package DESCRIPTION
> Suggests entry only listed 'multicore' and life was good.
>
> Since R-2.14+ includes 'parallel' package, thought I could
> reference that on the Suggests entry too. But not so fast.
> As it doesn't exist for previous versions of R, how can I
> add this such that multiple R versions are supported? All
> older version R CMD checks fail attempting to load 'parallel';
> current R CMD checks complain if I leave it out of DESCRIPTION
> but require('parallel') within source itself.
>
>
> And although I'm pretty sure this isn't available, any syntax
> to imply 'either this or that' package? Or 'this package with
> R version'?
>
> ______________________________________________
> R-devel at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-devel