Permalink
Browse files

condition import from parallel

- windows compatibility
  • Loading branch information...
1 parent c1b237d commit 1a8bfd95aba0948053d4dd3640aac63e10c8db30 @mtmorgan mtmorgan committed Feb 9, 2013
Showing with 7 additions and 4 deletions.
  1. +1 −1 DESCRIPTION
  2. +6 −3 NAMESPACE
View
@@ -1,7 +1,7 @@
Package: BiocParallel
Type: Package
Title: Bioconductor facilities for parallel evaluation
-Version: 0.0.10
+Version: 0.0.11
Author: Martin Morgan
Maintainer: Bioconductor Package Maintainer <maintainer@bioconductor.org>
Description: This package provides modified versions and novel
View
@@ -2,9 +2,12 @@
import(methods)
-importFrom(parallel, detectCores, makeCluster, mccollect,
- mcparallel, mc.reset.stream, nextRNGStream, parLapply,
- splitIndices, stopCluster)
+importFrom(parallel, detectCores, makeCluster, nextRNGStream,
+ parLapply, splitIndices, stopCluster)
+
+if (tools:::.OStype() == "unix") {
+ importFrom(parallel, mccollect, mcparallel, mc.reset.stream)
+}
importFrom(foreach, "%dopar%", foreach, getDoParName,
getDoParRegistered, getDoParWorkers)

0 comments on commit 1a8bfd9

Please sign in to comment.