[Roxygen-commits] r24 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Tue Jun 3 06:55:50 CEST 2008


Author: pcd
Date: 2008-06-03 06:55:50 +0200 (Tue, 03 Jun 2008)
New Revision: 24

Modified:
   pkg/R/parse.R
Log:
generic -> method; superfluous comment


Modified: pkg/R/parse.R
===================================================================
--- pkg/R/parse.R	2008-06-03 04:42:50 UTC (rev 23)
+++ pkg/R/parse.R	2008-06-03 04:55:50 UTC (rev 24)
@@ -69,7 +69,7 @@
   list(class=cadr(car(expression)))
 
 parse.setGeneric <- function(expression)
-  list(generic=cadr(car(expression)))
+  list(method=cadr(car(expression)))
 
 parse.setMethod <- function(expression)
   list(method=cadr(car(expression)),
@@ -102,7 +102,6 @@
   ## latex.
   joined.lines <- gsub(' {2,}', ' ', paste.list(trimmed.lines))
   elements <- Map(trim, car(strsplit(joined.lines, TAG.DELIMITER, fixed=T)))
-  ## Map introduces magical name-mapping.
   parsed.elements <- Reduce(function(parsed, element)
                             append(parsed, parse.element(element)),
                             cdr(elements), parse.description(car(elements)))



More information about the Roxygen-commits mailing list