Skip to content

Commit

Permalink
fix package documentation to address changes in roxygen (see r-lib/ro…
Browse files Browse the repository at this point in the history
  • Loading branch information
pboesu committed Aug 22, 2023
1 parent 267ce2e commit 1854b23
Show file tree
Hide file tree
Showing 6 changed files with 31 additions and 7 deletions.
3 changes: 2 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -21,10 +21,11 @@ Depends: R (>= 2.10)
Imports:
Rcpp
SystemRequirements: C++11
RoxygenNote: 7.0.1
RoxygenNote: 7.2.3
Suggests: testthat,
knitr,
rmarkdown,
dtw,
rbenchmark
VignetteBuilder: knitr
Encoding: UTF-8
2 changes: 1 addition & 1 deletion R/RcppExports.R
Original file line number Diff line number Diff line change
Expand Up @@ -194,5 +194,5 @@ ucred_vv <- function(data, query, skip = FALSE) {

# Register entry points for exported C++ functions
methods::setLoadAction(function(ns) {
.Call('_rucrdtw_RcppExport_registerCCallable', PACKAGE = 'rucrdtw')
.Call(`_rucrdtw_RcppExport_registerCCallable`)
})
7 changes: 4 additions & 3 deletions R/rucrdtw-package.r
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,12 @@
#' Examples of the functionality in this package are provided in the rucrdtw vignette:
#'
#' \code{vignette("using_rucrdtw", package = "rucrdtw")}
#'
#' @name rucrdtw
#' @docType package

#' @references Rakthanmanon, Thanawin, Bilson Campana, Abdullah Mueen, Gustavo Batista, Brandon Westover, Qiang Zhu, Jesin Zakaria, and Eamonn Keogh. 2012. Searching and Mining Trillions of Time Series Subsequences Under Dynamic Time Warping. In Proceedings of the 18th ACM SIGKDD International Conference on Knowledge Discovery and Data Mining, 262-70. ACM. doi:\href{http://dx.doi.org/10.1145/2339530.2339576}{10.1145/2339530.2339576}.
#' @references Giorgino, Toni (2009). Computing and Visualizing Dynamic Time Warping Alignments in R: The dtw Package. Journal of Statistical Software, 31(7), 1-24, doi:\href{http://dx.doi.org/10.18637/jss.v031.i07}{10.18637/jss.v031.i07}.
#' @references UCR Suite Website: \url{http://www.cs.ucr.edu/~eamonn/UCRsuite.html}
#' @seealso \link[dtw]{dtw-package}
#' @keywords internal
"_PACKAGE"

NULL
17 changes: 16 additions & 1 deletion man/rucrdtw.Rd → man/rucrdtw-package.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 3 additions & 1 deletion man/synthetic_control.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

5 changes: 5 additions & 0 deletions src/RcppExports.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -8,6 +8,11 @@

using namespace Rcpp;

#ifdef RCPP_USE_GLOBAL_ROSTREAM
Rcpp::Rostream<true>& Rcpp::Rcout = Rcpp::Rcpp_cout_get();
Rcpp::Rostream<false>& Rcpp::Rcerr = Rcpp::Rcpp_cerr_get();
#endif

// ucrdtw_ff
Rcpp::List ucrdtw_ff(const char * data, const char * query, int qlength, double dtwwindow);
static SEXP _rucrdtw_ucrdtw_ff_try(SEXP dataSEXP, SEXP querySEXP, SEXP qlengthSEXP, SEXP dtwwindowSEXP) {
Expand Down

0 comments on commit 1854b23

Please sign in to comment.