Using "roxygen2" I use @family
to group together a bunch of S3 generic functions (each with some methods). In generated Rd files the See Also sections contains links not only to generic functions, but also to all defined methods.
Is there any way to control this behavior so that no links to methods are created?
See my package developed here https://github.com/mbojan/isnar. For example see coleman.R
https://github.com/mbojan/isnar/blob/master/R/coleman.R and assort.R
https://github.com/mbojan/isnar/blob/master/R/assort.R, and the Rd files that the generate in the man
directory.
As you will see, the generic functions (e.g. coleman
) and its methods (e.g. coleman.igraph
, coleman.table
, etc.) are documented in the same file (using @rdname
). One way to dodge the problem would be to split documentation into separate files for generic and individual methods etc. and put @family
only in the file with generic function. However, I really do not want to do that because I want to keep the source code of generic and its methods in the same file, and have all of them documented in the same Rd file.