This R-package is an inlinedocs fork, that aims at compatibility in terms of the syntax of the documentation creating comments but also on a complete reimplementation.
-
The package uses
devtools
to load the package to be documented in the same way aslibrary
orrequire
would do, especially honoring theNAMESPACE
file. The starting point of all documentation is the resulting environment containing all the objects. -
For every type of object there is a specific method to produce the Rd file. There are different methods for:
- S4 classes
- Generic functions
- S4 methods
- normal functions
- whatever will be implemented
-
In contrast to
inlinedocs
which usespackage.skeleton' to produce Rd files, parses and extends them afterwards,
linkeddocs` produces all the Rd files from the code objects directly. -
In contrast to
inlinedocs
androxygen2
linkeddocs
allows S4methods to have their own Rd files which are linked to both classes and Generics. -
It is also planned to link automatically to calling and called functions
- install.packages("devtools")
- require(devtools)
- devtools::install_github("mamueller/linkeddocs/pkg")