[Roxygen-commits] r34 - pkg/sandbox

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Fri Jun 6 14:50:11 CEST 2008


Author: manuel
Date: 2008-06-06 14:50:11 +0200 (Fri, 06 Jun 2008)
New Revision: 34

Modified:
   pkg/sandbox/example-S3-mcpi.R
   pkg/sandbox/example-S4-person.R
   pkg/sandbox/example-function-mcpi.R
Log:


Modified: pkg/sandbox/example-S3-mcpi.R
===================================================================
--- pkg/sandbox/example-S3-mcpi.R	2008-06-06 11:16:27 UTC (rev 33)
+++ pkg/sandbox/example-S3-mcpi.R	2008-06-06 12:50:11 UTC (rev 34)
@@ -1,4 +1,4 @@
-# An example for S3 documentation using Roxygen.
+# S3 documentation using Roxygen.
 
 
 

Modified: pkg/sandbox/example-S4-person.R
===================================================================
--- pkg/sandbox/example-S4-person.R	2008-06-06 11:16:27 UTC (rev 33)
+++ pkg/sandbox/example-S4-person.R	2008-06-06 12:50:11 UTC (rev 34)
@@ -1,4 +1,4 @@
-# An example for S4 documentation using Roxygen.
+# S4 documentation using Roxygen.
 
 
 
@@ -28,7 +28,7 @@
 #' The naming of an object.
 #'
 #' @param object A object which gets a name
-setGeneric('name', function(object) standardGeneric('name'))
+setGeneric('name', function(object) standardGeneric('name'), valueClass='character')
 
 #' Name a person, the baptism.
 #'

Modified: pkg/sandbox/example-function-mcpi.R
===================================================================
--- pkg/sandbox/example-function-mcpi.R	2008-06-06 11:16:27 UTC (rev 33)
+++ pkg/sandbox/example-function-mcpi.R	2008-06-06 12:50:11 UTC (rev 34)
@@ -1,5 +1,4 @@
-# An example for a 'normal' function documentation using
-# Roxygen.
+# Function documentation using Roxygen.
 
 
 



More information about the Roxygen-commits mailing list