Skip to content

.factory doc string not printed to sceen #1321

Open
@ghost

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

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions