[R-pkg-devel] Documentation of Rcpp modules

Τόλης Χαλκής to||@@ch@| @end|ng |rom gm@||@com
Mon Feb 18 12:08:25 CET 2019


I am developing a Rcpp package in order to make a submission to CRAN. I use
modules for 4 C++ classes. I have used the prompt function (`prompt(yada,
"yada-module.Rd")`) using the names of my modules, in order to document the
exposed classes. But I still get a warning when I perform the check using
devtools library  (devtools::check(cran=TRUE) ). The check returns that
there is not a documentation for the exposed classes:

checking for missing documentation entries ... WARNING
Undocumented S4 classes:
  ‘Rcpp_Hpolytope’ ‘Rcpp_Zonotope’ ‘Rcpp_Vpolytope’ ‘Rcpp_IntVP’
All user-level objects in a package (including S4 classes and methods)
should have documentation entries.
See chapter ‘Writing R documentation files’ in the ‘Writing R
Extensions’ manual.


Do you know a proper way to document a module without getting a warning?

Thanks in advance,
-Tolis

	[[alternative HTML version deleted]]



More information about the R-package-devel mailing list