[Roxygen-commits] r47 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Thu Jun 19 12:25:08 CEST 2008


Author: pcd
Date: 2008-06-19 12:25:08 +0200 (Thu, 19 Jun 2008)
New Revision: 47

Modified:
   pkg/R/namespace.R
Log:
to commas on merely +, not {2,}


Modified: pkg/R/namespace.R
===================================================================
--- pkg/R/namespace.R	2008-06-19 07:12:16 UTC (rev 46)
+++ pkg/R/namespace.R	2008-06-19 10:25:08 UTC (rev 47)
@@ -1,6 +1,6 @@
 namespace <- function(partita) {
   parse.default <- function(procedure, parameters)
-    sprintf('%s(%s)', procedure, gsub(' {2,}', ', ', parameters))
+    sprintf('%s(%s)', procedure, gsub(' +', ', ', parameters))
   
   parse.exportClass <- function(procedure, parameters)
     parse.default('exportClasses', parameters)



More information about the Roxygen-commits mailing list