Hi All,

it seems that this is currently not supported.

For this:

// [[Rcpp::export("L_tree")]]
NumericMatrix rogdf_tree_layout(GraphAttributes graph,
 double siblingDistance=20, double subtreeDistance=20,
 double levelDistance=50, double treeDistance=50,
 bool orthogonalLayout=false,
 Orientation orientation=topToBottom,
 TreeLayout::RootSelectionType selectRoot=TreeLayout::rootIsSource) {
...

where the last two arguments are enums, I get:

Warning messages:
1: Unable to parse C++ default value 'topToBottom' for argument orientation
of function rogdf_tree_layout
2: Unable to parse C++ default value 'TreeLayout::rootIsSource' for
argument selectRoot of function rogdf_tree_layout

and there are no default values in the generated R code.

Is there a workaround? Any chance of adding support for it? How hard do you
think it is to support it?

Thanks, Best,
Gabor
_______________________________________________
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