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

-- 
Dirk Eddelbuettel | e...@debian.org | http://dirk.eddelbuettel.com
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to