diffusr icon indicating copy to clipboard operation
diffusr copied to clipboard

Rcpp docu

Open dirmeier opened this issue 8 years ago • 1 comments

roxygen/rcpp does not provide commentation when export name is set

dirmeier avatar Nov 25 '16 15:11 dirmeier

This actually happens when the interface is set

 //' Find the closest neighbors of a group of nodes in a graph.
//'
//' @noRd
//' @param node_idxs  the staring distribution
//' @param W  adjacency matrix
//' @param k  the depth of the nearest neighbor search
//' @return  returns a list of nearest neighbors for every node idxs given in <emph>node_idxs</emph>
// [[Rcpp::interfaces(r, cpp)]]
// [[Rcpp::export]]
Rcpp::List neighbors_(const Rcpp::IntegerVector& node_idxs,
                      const Rcpp::NumericMatrix& W,
                      const int k)
{
  return R_NilValue;
}

dirmeier avatar Jun 05 '17 11:06 dirmeier