[Roxygen-devel] Get rid of automaticaly inserted @alias in class documentation.

Vitalie Spinu spinuvit at gmail.com
Wed Jul 20 19:51:52 CEST 2011


Hi everyone,

Roxygen automatically produces two aliases for S4 classes 'foo'  - foo
and foo-class. I don't want "foo" alias only "foo-class". It confuses
the user and also complicates the index.

Is there a way to achieve that? I tried specifying foo-class manually
or leaving @aliases empty. Does not work.

##  blabla
##
##' Virtual Class to represent ...
##' @docType class
##' @export
##' @keywords internal class
setClass("foo")

Many thanks,
Vitalie.

sessionInfo()
R version 2.12.1 Patched (2011-01-10 r53950)
Platform: i686-pc-linux-gnu (32-bit)

locale:
 [1] LC_CTYPE=en_US.utf8       LC_NUMERIC=C
LC_TIME=en_US.utf8
 [4] LC_COLLATE=en_US.utf8     LC_MONETARY=C
LC_MESSAGES=en_US.utf8
 [7] LC_PAPER=en_US.utf8       LC_NAME=C                 LC_ADDRESS=C
[10] LC_TELEPHONE=C            LC_MEASUREMENT=en_US.utf8
LC_IDENTIFICATION=C

attached base packages:
[1] tools     stats     graphics  grDevices utils     datasets
methods   base

other attached packages:
[1] roxygen_0.1-2  digest_0.4.2   XML_3.4-0      RCurl_1.6-6    bitops_1.0-4.1


More information about the Roxygen-devel mailing list