-
Notifications
You must be signed in to change notification settings - Fork 0
Open
Description
The development of roxygen2 now supports R6 classes and makes it possible to use inline documentation for methods (See r-lib/roxygen2#922 for details). This should be used in the future to document our classes and methods. The advantage here is that the documentation will be more consistent (internally and with other R packages) and we will get automatic warnings if parts of the public API are undocumented. More precisely, all public fields and methods need to be documented. Furthermore, all arguments of public methods also need to be documented (similar to functions).
TODOs:
- Document
persephoneand all derived classes through this mechanism- Possibly add feature requests or PRs to
roxygen2in case we need some extras (R6 support is not released on CRAN yet)
- Possibly add feature requests or PRs to
- Put the requirements for the dev version of roxygen2 into the
DESCRIPTIONfile or mention it in theREADME. - Set up travis to utilize the dev version of
roxygen2(if we change theDESCRIPTIONthis should be not necessary) and rebuild the documentation on travis
Reactions are currently unavailable