[Power-commits] r24 - in pkg/sse: . R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Tue May 14 16:10:34 CEST 2019
Author: thofab
Date: 2019-05-14 16:10:34 +0200 (Tue, 14 May 2019)
New Revision: 24
Modified:
pkg/sse/DESCRIPTION
pkg/sse/R/power.R
Log:
removing unneeded dependency (on someR)
Modified: pkg/sse/DESCRIPTION
===================================================================
--- pkg/sse/DESCRIPTION 2019-04-06 18:38:35 UTC (rev 23)
+++ pkg/sse/DESCRIPTION 2019-05-14 14:10:34 UTC (rev 24)
@@ -1,7 +1,7 @@
Package: sse
Type: Package
Title: Sample Size Estimation
-Version: 0.7-7
+Version: 0.7-8
Date: 2019-04-02
Author: Thomas Fabbro
Maintainer: Thomas Fabbro <thomas.fabbro at unibas.ch>
@@ -9,5 +9,5 @@
License: GPL-3
LazyLoad: yes
Depends: R (>= 2.5.0), methods, grid, lattice, graphics, base, stats, parallel
-Suggests: testthat
+Suggests: testthat,lintr
NeedsCompilation: no
Modified: pkg/sse/R/power.R
===================================================================
--- pkg/sse/R/power.R 2019-04-06 18:38:35 UTC (rev 23)
+++ pkg/sse/R/power.R 2019-05-14 14:10:34 UTC (rev 24)
@@ -846,9 +846,10 @@
if ( sum(n) > 1 ){
if ( is.numeric(object at cluster[[1]]) || (is.logical(object at cluster[[1]]) && object at cluster[[1]])) {
cl <- makeCluster(detectCores())
- clusterEvalQ(cl, library(parallel))
- clusterEvalQ(cl, library(sse))
-# clusterEvalQ(cl, library(someR))
+ clusterEvalQ(cl, {
+ library(parallel)
+ library(sse)
+ })
with.cluster <- TRUE
}
}
More information about the Power-commits
mailing list