[Roxygen-commits] r32 - pkg/R
noreply at r-forge.r-project.org
noreply at r-forge.r-project.org
Wed Jun 4 22:43:58 CEST 2008
Author: pcd
Date: 2008-06-04 22:43:55 +0200 (Wed, 04 Jun 2008)
New Revision: 32
Modified:
pkg/R/parse.R
Log:
categorize large parsers; ## -> #'
Modified: pkg/R/parse.R
===================================================================
--- pkg/R/parse.R 2008-06-03 19:11:22 UTC (rev 31)
+++ pkg/R/parse.R 2008-06-04 20:43:55 UTC (rev 32)
@@ -12,7 +12,7 @@
do.call(paste, list)
}
-## Comment blocks (possibly null) that precede a file's expressions.
+#' Comment blocks (possibly null) that precede a file's expressions.
prerefs <- function(srcfile, srcrefs) {
length.line <- function(lineno)
nchar(getSrcLines(srcfile, lineno, lineno))
@@ -85,6 +85,8 @@
parser.srcref <- Curry(parser.default, default=parse.srcref)
+## File -> {src,pre}ref mapping
+
parse.ref <- function(x, ...)
UseMethod('parse.ref')
More information about the Roxygen-commits
mailing list