[Roxygen-commits] r222 - branches/manuel/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri May 29 17:19:19 CEST 2009


Author: manuel
Date: 2009-05-29 17:19:19 +0200 (Fri, 29 May 2009)
New Revision: 222

Modified:
   branches/manuel/R/Rd_API.R
Log:


Modified: branches/manuel/R/Rd_API.R
===================================================================
--- branches/manuel/R/Rd_API.R	2009-05-29 15:18:44 UTC (rev 221)
+++ branches/manuel/R/Rd_API.R	2009-05-29 15:19:19 UTC (rev 222)
@@ -30,7 +30,7 @@
                      list(textTag(y))), '\\item'))
 }
 
-argumentsTag <- function(..., x=list(...), newline=FALSE) {
+argumentsTag <- function(..., x=list(...), newline=TRUE) {
   if ( newline )
     x <- newlineSeperators(x)
     
@@ -43,6 +43,9 @@
 }
 
 usageTag <- function(x, y, newline=TRUE) {
+  if ( newline )
+    x <- newlineSeperators(x)
+  
   return(Rd_tag(list(x, rcodeTag(sprintf('(%s)', y))), '\\usage'))
 }
 



More information about the Roxygen-commits mailing list