statistikat / persephone

Object-oriented wrappers for RJDemetra
https://statistikat.github.io/persephone/
Other
7 stars 0 forks source link

inccooperate R6 documentation with roxygen #17

Open GregorDeCillia opened 4 years ago

GregorDeCillia commented 4 years ago

The development of roxygen2 now supports R6 classes and makes it possible to use inline documentation for methods (See https://github.com/r-lib/roxygen2/pull/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:

GregorDeCillia commented 4 years ago

@merangelik I'll familiarize myself with those new roxygen2 features in the near future and maybe assign some classes to you once we have some reference examples.

GregorDeCillia commented 4 years ago

Updates