[inlinedocs] inlinedocs setClass

Keith Ponting k.ponting at aurix.com
Tue Aug 16 13:49:58 CEST 2011


Looks to me as though there is no default title when processing
setClass. Have added a default at version 305 in subversion.

As a work around, try:

setClass("pepnet", # pepnet class
...

Keith

P.S. Would be nice to know versions of R and inlinedocs in order to
avoid possibly wasting time over version issues.

Keith Ponting
Aurix Ltd, Malvern WR14 3SZ  UK

> -----Original Message-----
> From: inlinedocs-support-bounces at r-forge.wu-wien.ac.at
> [mailto:inlinedocs-support-bounces at r-forge.wu-wien.ac.at] On Behalf Of
> David Gibbs
> Sent: 10 August 2011 23:15
> To: inlinedocs-support at lists.r-forge.r-project.org
> Subject: [inlinedocs] inlinedocs setClass
> 
> Hi there,
> 
> When using package.skeleton.dx("myPkg") with the setClass method, the
> title field is not being written to the Rd file.  Without the title,
the
> check function complains and quits.  I'm on OS X Lion, btw.
> 
> Maybe an additional argument not to clobber existing files would be
> nice.
> Then I wouldn't have to fix this over and over.
> 
> Thanks!!  Let me know if you need any additional info.
> -dave
> 
> 
> Here's what's happening:
> 
> 
> setClass("pepnet",
>          ### The pepnet class will hold all the results from peptide
> network calculations
>          representation(adjmat = "matrix", ##<< the adjacency matrix
>                         tom = "matrix",    ##<< the topological
overlap
> matrix
>                         peptides = "character" ##<< the names of the
> peptides
> 		)
>          )
> 
> 
> 
> > package.skeleton.dx("RPepCor/")
> extra.code.docs prefixed.lines extract.xxx.chunks title.from.firstline
> examples.from.testfile definition.from.source edit.package.file
> author.from.description erase.format title.from.name examples.in.attr
> collapse tag.s3methods Creating directories ...
> Creating DESCRIPTION ...
> Creating Read-and-delete-me ...
> Copying code files ...
> Making help files ...
> Done.
> Further steps are described in './RPepCor/Read-and-delete-me'.
> Modifying files automatically generated by package.skeleton:
> c2i: definition description item{nrows} item{x} item{y} value author
> format title
> compareModules: definition description value item{net1} item{net2}
> item{pep1} item{pep2} author format title
> i2c: definition description item{nrows} item{i} value author format
> title
> i2col: definition description item{nrows} item{i} value author format
> title
> pepNames: definition description value item{p} author format title
> pepnet-class: item{adjmat} item{tom} item{peptides} title description
> details section{Objects from the Class} seealso alias author format
> RPepCor-package: title description tabular{ll} author format
> 
> 
> 
> 
> \name{pepnet-class}
> \Rdversion{1.1}
> \docType{class}
> \alias{pepnet-class}
> \alias{pepnet}
> \alias{names,pepnet-method}
> 
> 
> \description{The pepcor class will hold all the results from peptide
> network calculations}
> \section{Objects from the Class}{Objects can be created by calls of
the
> form \code{new(pepnet ...)}}
> \section{Slots}{
>   \describe{
>     \item{\code{adjmat}:}{(\code{matrix}) the adjacency matrix}
>     \item{\code{tom}:}{(\code{matrix}) the topological overlap matrix}
>     \item{\code{peptides}:}{(\code{character}) the names of the
> peptides, usually AMT IDs}
>   }
> }
> \section{Methods}{
>   \describe{
>     \item{names}{\code{signature(x = "pepnet")}: ... }
>          }
> }
> 
> \author{David Gibbs <gibbsdavidl at gmail.com>}
> 
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Inlinedocs-support mailing list
> Inlinedocs-support at lists.r-forge.r-project.org
>
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/inlinedocs-
> support


More information about the Inlinedocs-support mailing list