I'll be submitting a package to CRAN soon. The package is built around two R6 classes.
I've been through the R packages book, that says all exported functions should have @examples
and @returns
. I find the way R6 classes handle method examples a bit awkward and would prefer users to rely on the examples in the vignettes instead.
Does anyone know if the "all exported functions should have @examples
" thing also applies to R6 methods?