Skip to content

Commit

Permalink
Fixed the package! Added missing rows from NAMESPACE (They were remov…
Browse files Browse the repository at this point in the history
…ed automatically due to a bug in roxygen2+Rstudio)
  • Loading branch information
talgalili committed Aug 17, 2013
1 parent 2d8646d commit 25d4565
Show file tree
Hide file tree
Showing 3 changed files with 33 additions and 8 deletions.
2 changes: 2 additions & 0 deletions NAMESPACE
@@ -1,2 +1,4 @@
useDynLib(RcppDend)
exportPattern("^[[:alpha:]]+")
export(labels.dendrogram)
S3method(labels,dendrogram)
13 changes: 13 additions & 0 deletions NEWS
@@ -1,3 +1,16 @@
RcppDend 0.1.1 (2013-08-17)
----------------------------

BUG FIXES
* Added missing rows from NAMESPACE (They were removed automatically due to a bug in roxygen2+Rstudio)

OTHER NOTES:
* Added tests





RcppDend 0.1.0 (2013-08-16)
----------------------------

Expand Down
26 changes: 18 additions & 8 deletions src/RcppExports.cpp
Expand Up @@ -9,19 +9,29 @@ using namespace Rcpp;
std::vector<std::string> Rcpp_labels_dendrogram(List x);
RcppExport SEXP RcppDend_Rcpp_labels_dendrogram(SEXP xSEXP) {
BEGIN_RCPP
Rcpp::RNGScope __rngScope;
List x = Rcpp::as<List >(xSEXP);
std::vector<std::string> __result = Rcpp_labels_dendrogram(x);
return Rcpp::wrap(__result);
SEXP __sexp_result;
{
Rcpp::RNGScope __rngScope;
List x = Rcpp::as<List >(xSEXP);
std::vector<std::string> __result = Rcpp_labels_dendrogram(x);
PROTECT(__sexp_result = Rcpp::wrap(__result));
}
UNPROTECT(1);
return __sexp_result;
END_RCPP
}
// Rcpp_count_leaves
int Rcpp_count_leaves(List data);
RcppExport SEXP RcppDend_Rcpp_count_leaves(SEXP dataSEXP) {
BEGIN_RCPP
Rcpp::RNGScope __rngScope;
List data = Rcpp::as<List >(dataSEXP);
int __result = Rcpp_count_leaves(data);
return Rcpp::wrap(__result);
SEXP __sexp_result;
{
Rcpp::RNGScope __rngScope;
List data = Rcpp::as<List >(dataSEXP);
int __result = Rcpp_count_leaves(data);
PROTECT(__sexp_result = Rcpp::wrap(__result));
}
UNPROTECT(1);
return __sexp_result;
END_RCPP
}

0 comments on commit 25d4565

Please sign in to comment.