On 4 October 2024 at 17:21, John Clarke wrote: | Indeed roxygen2 docs will help with a workaround, I think. I've temporarily | added a Rcpp_MyClass-class.RD based on promptClass("Rcpp_MyClass") and that | seems to satisfy the R CMD check.
Nice, and I think that is about as it good as you will get it. Note that Rcpp basically never mentions roxygen2 (we support in C++ files where compileAttributes() carries it to the R file where it gets picked up), and neither does Writing R Extensions. The only official way is writing Rd files. Be it by hand, be it with roxygen2 help and workarounds. The only other idea I had was to use @name to give your existing entry the (missing) desired name and try @aliases to map back. No idea if that would work. Cheers, Dirk -- dirk.eddelbuettel.com | @eddelbuettel | e...@debian.org _______________________________________________ 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