[Rcpp-devel] Bug when using #' @title Hello world

Dirk Eddelbuettel edd at debian.org
Wed Feb 26 17:49:42 CET 2014

On 26 February 2014 at 11:12, JJ Allaire wrote:
| Dieter,
| Try locating the roxygen right above the function you want to document
| (rcpp_hello_world). If you do that then it will be placed next to that function
| in the .R file (when you have "standalone" roxygen within a C++ file then it's
| automatically associated with a NULL object in the .R file).

Quite right.  The one and only place where Rcpp + roxygen2 is mentioned
together in our docs (AFAICT) is Section 3.4 of the Rcpp attributes vignette,
and it does not suggest the use case tried by Dieter.


Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com

More information about the Rcpp-devel mailing list