[Dplr-commits] r696 - branches/redfit/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Oct 1 14:07:30 CEST 2013


Author: mvkorpel
Date: 2013-10-01 14:07:30 +0200 (Tue, 01 Oct 2013)
New Revision: 696

Modified:
   branches/redfit/R/rwi.stats.running.R
Log:
Avoid "parameter rwi changed by assignment" nag from checkUsagePackage().


Modified: branches/redfit/R/rwi.stats.running.R
===================================================================
--- branches/redfit/R/rwi.stats.running.R	2013-09-24 13:46:43 UTC (rev 695)
+++ branches/redfit/R/rwi.stats.running.R	2013-10-01 12:07:30 UTC (rev 696)
@@ -82,8 +82,7 @@
         cat(gettext("note that there is no error checking on column lengths if filtering is not performed\n",
                     domain="R-dplR"))
     }
-    rwi <- tmp$master
-    rwi2 <- as.matrix(rwi)
+    rwi2 <- as.matrix(tmp$master)
     n.cores <- ncol(rwi2)
 
     zero.flag <- rwi2 == 0



More information about the Dplr-commits mailing list