[Dplr-commits] r1045 - in pkg/dplR: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Feb 2 03:18:16 CET 2017


Author: andybunn
Date: 2017-02-02 03:18:15 +0100 (Thu, 02 Feb 2017)
New Revision: 1045

Modified:
   pkg/dplR/ChangeLog
   pkg/dplR/R/detrend.R
Log:
dentrend bug fixed where make.plot wasn't being passed

Modified: pkg/dplR/ChangeLog
===================================================================
--- pkg/dplR/ChangeLog	2017-01-18 15:07:52 UTC (rev 1044)
+++ pkg/dplR/ChangeLog	2017-02-02 02:18:15 UTC (rev 1045)
@@ -15,6 +15,8 @@
 -----------------
 
 - Added Friedman under method argument in the help file. It was ommitted by mistake. 
+- Bug in detrend fixed where make.plot was hard coded as FALSE which kept TRUE 
+  from being passed to detrend.series.
 
 File: helpers.R
 -----------------

Modified: pkg/dplR/R/detrend.R
===================================================================
--- pkg/dplR/R/detrend.R	2017-01-18 15:07:52 UTC (rev 1044)
+++ pkg/dplR/R/detrend.R	2017-02-02 02:18:15 UTC (rev 1045)
@@ -20,7 +20,7 @@
     rn <- row.names(rwl)
 
     detrend.args <- c(alist(rwl.i),
-                      list(make.plot = FALSE, method = method2,
+                      list(make.plot = make.plot, method = method2,
                            nyrs = nyrs, f = f, pos.slope = pos.slope,
                            constrain.modnegexp = constrain2,
                            verbose = FALSE, return.info = return.info,



More information about the Dplr-commits mailing list