[Rprotobuf-commits] r446 - pkg/man

noreply at r-forge.r-project.org noreply at r-forge.r-project.org
Mon May 14 05:56:02 CEST 2012


Author: edd
Date: 2012-05-14 05:56:01 +0200 (Mon, 14 May 2012)
New Revision: 446

Modified:
   pkg/man/Descriptor-class.Rd
   pkg/man/EnumDescriptor-class.Rd
   pkg/man/FieldDescriptor-class.Rd
   pkg/man/Message-class.Rd
   pkg/man/P.Rd
   pkg/man/clone.Rd
   pkg/man/readProtoFiles.Rd
Log:
added \dontrun{} where needed to pass R CMD check


Modified: pkg/man/Descriptor-class.Rd
===================================================================
--- pkg/man/Descriptor-class.Rd	2012-05-14 03:07:01 UTC (rev 445)
+++ pkg/man/Descriptor-class.Rd	2012-05-14 03:56:01 UTC (rev 446)
@@ -90,7 +90,7 @@
 	the \code{\link{P}} function creates "Descriptor" messages. 
 }
 \examples{
-
+\dontrun{
 # example proto file supplied with this package
 proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" ) 
 
@@ -108,6 +108,6 @@
 
 # use this descriptor to create a message
 new( Person )
-
 }
+}
 \keyword{classes}

Modified: pkg/man/EnumDescriptor-class.Rd
===================================================================
--- pkg/man/EnumDescriptor-class.Rd	2012-05-14 03:07:01 UTC (rev 445)
+++ pkg/man/EnumDescriptor-class.Rd	2012-05-14 03:56:01 UTC (rev 446)
@@ -64,7 +64,7 @@
 \author{ Romain Francois <francoisromain at free.fr> }
 \seealso{The \linkS4class{Descriptor} class}
 \examples{
-
+\dontrun{
 # example proto file supplied with this package
 proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" ) 
 
@@ -73,6 +73,6 @@
 
 # enum type
 Person$PhoneType
-
 }
+}
 \keyword{classes}

Modified: pkg/man/FieldDescriptor-class.Rd
===================================================================
--- pkg/man/FieldDescriptor-class.Rd	2012-05-14 03:07:01 UTC (rev 445)
+++ pkg/man/FieldDescriptor-class.Rd	2012-05-14 03:56:01 UTC (rev 446)
@@ -82,6 +82,7 @@
 	\linkS4class{Descriptor}
 }
 \examples{
+\dontrun{
 # example proto file supplied with this package
 proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" ) 
 
@@ -96,6 +97,6 @@
 
 # or as a pseudo method
 Person$email$as.character()
-
 }
+}
 \keyword{classes}

Modified: pkg/man/Message-class.Rd
===================================================================
--- pkg/man/Message-class.Rd	2012-05-14 03:07:01 UTC (rev 445)
+++ pkg/man/Message-class.Rd	2012-05-14 03:56:01 UTC (rev 446)
@@ -72,7 +72,7 @@
 	can be used to create messages. 
 }
 \examples{
-
+\dontrun{
 # example proto file supplied with this package
 proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" ) 
 
@@ -128,6 +128,6 @@
 m <- tutorial.AddressBook$read( tf )
 writeLines( as.character( m ) )
 sapply( m$person, function(p) p$name )
-
 }
+}
 \keyword{classes}

Modified: pkg/man/P.Rd
===================================================================
--- pkg/man/P.Rd	2012-05-14 03:07:01 UTC (rev 445)
+++ pkg/man/P.Rd	2012-05-14 03:56:01 UTC (rev 446)
@@ -22,8 +22,10 @@
 Romain Francois <francoisromain at free.fr>
 }
 \examples{
+\dontrun{
 proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" ) 
 Person <- P( "tutorial.Person", file = proto.file )
 as.character( Person )
 }
+}
 \keyword{ interface }

Modified: pkg/man/clone.Rd
===================================================================
--- pkg/man/clone.Rd	2012-05-14 03:07:01 UTC (rev 445)
+++ pkg/man/clone.Rd	2012-05-14 03:56:01 UTC (rev 446)
@@ -13,6 +13,7 @@
 	\item{\code{signature(object = "Message")}}{ clone the message }
 }}
 \examples{
+\dontrun{
 # example proto file supplied with this package
 proto.file <- system.file( "proto", "addressbook.proto", package = "RProtoBuf" ) 
 
@@ -31,7 +32,7 @@
 # this can also be used as a pseudo method
 sheep$clone()
 sheep$clone( id = 3 )
-	
+}	
 }
 \keyword{methods}
 

Modified: pkg/man/readProtoFiles.Rd
===================================================================
--- pkg/man/readProtoFiles.Rd	2012-05-14 03:07:01 UTC (rev 445)
+++ pkg/man/readProtoFiles.Rd	2012-05-14 03:56:01 UTC (rev 446)
@@ -31,6 +31,7 @@
 	\code{\link{P}}
 }
 \examples{
+\dontrun{
 # from a package
 readProtoFiles( package = "RProtoBuf" )
 
@@ -41,7 +42,7 @@
 # set of files
 proto.files <- list.files( proto.dir, full.names = TRUE )
 readProtoFiles( proto.files )
-
 }
+}
 \keyword{ programming }
 



More information about the Rprotobuf-commits mailing list