dirmeier / diffusr

Network diffusion algorithms in R.
GNU General Public License v3.0
21 stars 6 forks source link

Rcpp name exportation does not work with R-style function names #7

Open dirmeier opened 7 years ago

dirmeier commented 7 years ago
// [[Rcpp::interfaces(r, cpp)]]
// [[Rcpp::export(name=".as")]]
Rcpp::List neighbors_(const Rcpp::IntegerVector& node_idxs,
                      const Rcpp::NumericMatrix& W,
                      const int k)
{
...;
 }

This gives an error when registering routines. I guess this cannot be circumvented but to change the exported name.