[R] Roxygen to ignore a block of code?

Ken-JP kfmfe04 at gmail.com
Sun Jun 21 21:05:13 CEST 2009


For instance, I am trying to run Roxygen on:

require( zoo )           # needed for time series
setClass( "zoo" )       # lets S4 know about S3 class so we can use as an
argument
setClass( "myClass", representation( .zoo="zoo" ), prototype( .zoo=zoo(0,
as.Date("1970-01-01") )))

When I run this code through Roxygen, it warns:
> No name found for the following expression: require( zoo ) 

and generates zoo.Rd  - I don't want any zoo.Rd to be generated - I am a
user of the library, not an implementer.

1. How can I tell Roxygen NOT to generate zoo.Rd?
2. What do I do to prevent Roxygen from warning about: require( zoo ) ?

Thx.

- Ken
-- 
View this message in context: http://www.nabble.com/Roxygen-to-ignore-a-block-of-code--tp24133293p24137672.html
Sent from the R help mailing list archive at Nabble.com.




More information about the R-help mailing list