[R-gregmisc-commits] r2048 - pkg/gtools/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Wed May 27 18:38:37 CEST 2015


Author: warnes
Date: 2015-05-27 18:38:37 +0200 (Wed, 27 May 2015)
New Revision: 2048

Modified:
   pkg/gtools/R/trimws.R
Log:
Fix missing closing paren.


Modified: pkg/gtools/R/trimws.R
===================================================================
--- pkg/gtools/R/trimws.R	2015-05-27 16:36:13 UTC (rev 2047)
+++ pkg/gtools/R/trimws.R	2015-05-27 16:38:37 UTC (rev 2048)
@@ -1,6 +1,6 @@
 ## trimws was added in R 2.3.0.  If we're using a previous version of
 ## R we need to define it.
-if(!exists('trimws', mode='function')
+if(!exists('trimws', mode='function'))
    trimws <-  function(s)
                 {
                   s <- sub(pattern="^[[:blank:]]+", replacement="", x=s)



More information about the R-gregmisc-commits mailing list