[Roxygen-commits] r231 - pkg/R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sat Jul 4 07:36:36 CEST 2009


Author: pcd
Date: 2009-07-04 07:36:35 +0200 (Sat, 04 Jul 2009)
New Revision: 231

Modified:
   pkg/R/functional.R
   pkg/R/parse.R
Log:
export a few functional procedures


Modified: pkg/R/functional.R
===================================================================
--- pkg/R/functional.R	2009-07-03 17:25:36 UTC (rev 230)
+++ pkg/R/functional.R	2009-07-04 05:36:35 UTC (rev 231)
@@ -26,6 +26,7 @@
 #' @return A composed function
 #' @callGraphPrimitives
 #' @callGraphDepth 3
+#' @export
 Compose <- function(...) {
   fs <- list(...)
   function(...) Reduce(function(x, f) f(x),

Modified: pkg/R/parse.R
===================================================================
--- pkg/R/parse.R	2009-07-03 17:25:36 UTC (rev 230)
+++ pkg/R/parse.R	2009-07-04 05:36:35 UTC (rev 231)
@@ -307,6 +307,7 @@
 #' @param proc the procedure to apply to each subexpression
 #' @param expression the root of the expression
 #' @return NULL
+#' @export
 preorder.walk.expression <- function(proc, expression) {
   if (length(expression) > 0)
     for (i in c(1:length(expression))) {
@@ -323,6 +324,7 @@
 #' @param expression the root of the expression to be
 #' flattened
 #' @return A list containing the flattened expression
+#' @export
 preorder.flatten.expression <- function(expression) {
   flattened <- NULL
   preorder.walk.expression(function(expression)



More information about the Roxygen-commits mailing list