Any way to tell Roxygen to ignore a block of code? It is generating an unwanted .Rd file. I've been searching for hours for an example, scouring documentation, but no luck... Thanks. - Ken -- View this message in context: http://www.nabble.com/Roxygen-to-ignore-a-block-of-code--tp24133293p24133293.html Sent from the R help mailing list archive at Nabble.com.
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.
I think that you want the the @nord tag which is in development. I am eager for the release of the Roxygen version with this tag too! See their mailing list on R-Forge for more details on this. cheers, Ian Ken-JP wrote:> > 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--tp24133293p24158706.html Sent from the R help mailing list archive at Nabble.com.