[Dplr-commits] r1113 - pkg/dplR/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jun 14 13:16:01 CEST 2018


Author: andybunn
Date: 2018-06-14 13:16:00 +0200 (Thu, 14 Jun 2018)
New Revision: 1113

Modified:
   pkg/dplR/R/detrend.R
Log:
Suppressed warning ?\226?\128?\156executing %dopar% sequentially: no parallel backend registered ?\226?\128?\156


Modified: pkg/dplR/R/detrend.R
===================================================================
--- pkg/dplR/R/detrend.R	2018-06-14 10:50:48 UTC (rev 1112)
+++ pkg/dplR/R/detrend.R	2018-06-14 11:16:00 UTC (rev 1113)
@@ -45,12 +45,12 @@
         rwl.i <- NULL
 
         exportFun <- c("names<-", "detrend.series")
-        out <- foreach::"%dopar%"(foreach::foreach(rwl.i=it.rwl,
+        out <- suppressWarnings(foreach::"%dopar%"(foreach::foreach(rwl.i=it.rwl,
                                                    .export=exportFun),
                               {
                                   names(rwl.i) <- rn
                                   do.call(detrend.series, detrend.args)
-                              })
+                              }))
 
         if (return.info) {
             modelCurves <- lapply(out, "[[", 2)



More information about the Dplr-commits mailing list