[Bioc-devel] _R_CHECK_FORCE_SUGGESTS_ = false

Yue Li gorillayue at gmail.com
Sat Sep 15 18:24:24 CEST 2012


Thanks Paul. That fixed the problem!

Yue

On 2012-09-15, at 10:53 AM, Paul Shannon <pshannon at fhcrc.org> wrote:

> Dear Yue Li,
> 
> I am not the expert on this that Dan and Martin are, but I am pretty sure the solution is to use the parallel package rather than multicore.  Using parallel, your package should build on all architectures.
> 
> This is from the man page:
> 
> Direct support in R is starting with release 2.14.0 which includes a new package parallel incorporating (slightly revised) copies of packages multicore and snow (but excluding MPI, PVM and NWS clusters). Code written to use the higher-level API functions in those packages should work unchanged (apart from changing any references to their namespaces to a reference to parallel, and links explicitly to multicore or snow on help pages). 
> 
> - Paul
> 
> On Sep 15, 2012, at 7:40 AM, Yue Li wrote:
> 
>> Dear list,
>> 
>> I just submitted a new package. It builds and checks OK on the Mac and Linux servers but fails to build on the Windows server, namely 'mosacto1'. The error says:
>> 
>> * checking package dependencies ... ERROR
>> Package suggested but not available: 'multicore'
>> 
>> The suggested packages are required for a complete check.
>> Checking can be attempted without them by setting the environment
>> variable _R_CHECK_FORCE_SUGGESTS_ to a false value.
>> 
>> But it seems that I can only set that environment variable _R_CHECK_FORCE_SUGGESTS_ in ~/.R/check.Renviron on my local machine not on the server. I wonder if anyone encountered the same problem when trying to submit your package before? I apologize if the issue has been addressed in some other posts that I failed to find it by Google.
>> 
>> Thanks in advance,
>> Yue
>> _______________________________________________
>> Bioc-devel at r-project.org mailing list
>> https://stat.ethz.ch/mailman/listinfo/bioc-devel
> 



More information about the Bioc-devel mailing list