[Roxygen-commits] r36 - in pkg: . R

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Sun Jun 8 20:14:23 CEST 2008


Author: pcd
Date: 2008-06-08 20:14:23 +0200 (Sun, 08 Jun 2008)
New Revision: 36

Modified:
   pkg/R/parse.R
   pkg/README
Log:
parse.R requires relative sources from the parent dir; updated readme to reflect sandbox


Modified: pkg/R/parse.R
===================================================================
--- pkg/R/parse.R	2008-06-06 16:26:49 UTC (rev 35)
+++ pkg/R/parse.R	2008-06-08 18:14:23 UTC (rev 36)
@@ -1,5 +1,5 @@
-source('list.R')
-source('functional.R')
+source('../R/list.R')
+source('../R/functional.R')
 
 LINE.DELIMITER <- '#\''
 TAG.DELIMITER <- '@'

Modified: pkg/README
===================================================================
--- pkg/README	2008-06-06 16:26:49 UTC (rev 35)
+++ pkg/README	2008-06-08 18:14:23 UTC (rev 36)
@@ -6,18 +6,23 @@
 
 1.1. Execution
 
-The driver, `main.R', parses an arbitrary source file; but defaults to
-`example.R' from the original GSoC proposal.
+The driver in the `sandbox' directory, `main.R', parses an arbitrary
+source file; but defaults to `example.R' from the original GSoC
+proposal.
 
 Upon execution, one should see a parse-tree of parsed elements
 (represented as lists); accompanied by a srcref of the apposite
 object:
 
+    $ cd sandbox
     $ R --vanilla --slave --args example.R < main.R
 
-    $`1`
-    $`1`$description
-    [1] "This class represents a person."
+    List of 3
+     $ 1:List of 6
+      ..$ description: chr "This class represents a person."
+      ..$ slot       :List of 2
+      .. ..$ name       : chr "fullname"
+      .. ..$ description: chr "The full name of the person"
 
     ...
 



More information about the Roxygen-commits mailing list