Open

Description
Hi,
say for module:
RCPP_MODULE(XYZ){
using namespace Rcpp;
class_<XYZ<double>>("XYZ")
.factory<Rcpp::IntegerMatrix>(&XYZ_constructor_1,"from integer matrix constructor",validate_matrix)
.method("nrow",&XYZ<double>::nrow,"returns #rows");
}
once compiled and loaded via library(XYZ)
command XYZ
prints to screen an XYZ overview containing the .method and it's doc string, but neither the .factory nor it's doc string.
Not sure whether I am doing anything wrong or whether this is a bug.
Any idea how to get the factory method and it's doc string printed to screen?
Thanks
Metadata
Metadata
Assignees
Labels
No labels