R Under development (unstable) (2024-07-18 r86905 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > library(dtwclust) Loading required package: proxy Attaching package: 'proxy' The following objects are masked from 'package:stats': as.dist, dist The following object is masked from 'package:base': as.matrix Loading required package: dtw Loaded dtw v1.23-1. See ?dtw for help, citation("dtw") for use in publication. dtwclust: Setting random number generator to L'Ecuyer-CMRG (see RNGkind()). To read the included vignettes type: browseVignettes("dtwclust"). See news(package = "dtwclust") after package updates. > library(foreach) > library(testthat) > > # coverage for multi-threading might not be possible (?) > if (nzchar(Sys.getenv("R_COVR"))) RcppParallel::setThreadOptions(1L) > # old reporter for CMD checks > options(testthat.default_reporter = "summary") > > #' To test in a local machine: > #' Sys.setenv(NOT_CRAN = "true"); test_dir("tests/testthat/") > #' OR > #' devtools::test() # fixed? https://github.com/r-lib/devtools/issues/1832 > #' > #' To disable parallel tests, before calling test() run: > #' > #' options(dtwclust_skip_par_tests = TRUE) > #' > testthat::test_check("dtwclust") [ FAIL 0 | WARN 0 | SKIP 15 | PASS 1939 ] ══ Skipped tests (15) ══════════════════════════════════════════════════════════ • On CRAN (14): 'test-05-regression-01-proxy.R:19:5', 'test-05-regression-01-proxy.R:36:5', 'test-05-regression-02-dtwb.R:13:5', 'test-05-regression-03-family-distmat.R:14:9', 'test-05-regression-04-family-centroids.R:14:9', 'test-05-regression-04-family-centroids.R:34:9', 'test-05-regression-05-custom-dist.R:14:9', 'test-05-regression-06-cvis.R:14:9', 'test-05-regression-07-clusterings.R:14:9', 'test-05-regression-07-clusterings.R:35:9', 'test-05-regression-07-clusterings.R:53:9', 'test-05-regression-07-clusterings.R:82:9', 'test-05-regression-08-comparisons.R:14:9', 'test-06-parallel.R:16:5' • sequential case (1): 'test-01-unit-02-misc.R:110:5' [ FAIL 0 | WARN 0 | SKIP 15 | PASS 1939 ] > > proc.time() user system elapsed 160.87 10.07 104.40