- using R version 4.6.1 (2026-06-24 ucrt)
- using platform: x86_64-w64-mingw32
- R was compiled by
gcc.exe (GCC) 14.3.0
GNU Fortran (GCC) 14.3.0
- running under: Windows Server 2022 x64 (build 20348)
- using session charset: UTF-8
* current time: 2026-08-07 11:30:31 UTC
- checking for file 'dtwclust/DESCRIPTION' ... OK
- checking extension type ... Package
- this is package 'dtwclust' version '6.0.0'
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking whether package 'dtwclust' can be installed ... OK
See the install log for details.
- used C++ compiler: 'g++.exe (GCC) 14.3.0'
- checking installed package size ... OK
- checking package directory ... OK
- checking 'build' directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [4s] OK
- checking whether the package can be loaded with stated dependencies ... [4s] OK
- checking whether the package can be unloaded cleanly ... [4s] OK
- checking whether the namespace can be loaded with stated dependencies ... [3s] OK
- checking whether the namespace can be unloaded cleanly ... [4s] OK
- checking loading without being on the library search path ... [4s] OK
- checking whether startup messages can be suppressed ... [4s] OK
- checking use of S3 registration ... OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [18s] OK
- checking Rd files ... [2s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking contents of 'data' directory ... OK
- checking data for non-ASCII characters ... [0s] OK
- checking LazyData ... OK
- checking data for ASCII and uncompressed saves ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking line endings in Makefiles ... OK
- checking compilation flags in Makevars ... OK
- checking for GNU extensions in Makefiles ... INFO
GNU make is a SystemRequirements.
- checking for portable use of $(BLAS_LIBS) and $(LAPACK_LIBS) ... OK
- checking use of PKG_*FLAGS in Makefiles ... OK
- checking pragmas in C/C++ headers and code ... OK
- checking compiled code ... OK
- checking sizes of PDF files under 'inst/doc' ... OK
- checking installed files from 'inst/doc' ... OK
- checking files in 'vignettes' ... OK
- checking examples ... [15s] OK
- checking for unstated dependencies in 'tests' ... OK
- checking tests ... [111s] ERROR
Running 'testthat.R' [110s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> 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-3. 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")
Saving _problems/test-02-integration-02-families-466.R
Saving _problems/test-02-integration-02-families-506.R
Saving _problems/test-02-integration-02-families-509.R
[ FAIL 3 | WARN 0 | SKIP 15 | PASS 1936 ]
══ 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'
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-02-integration-02-families.R:465:5'): Operations with tsclustFamily@dist and gak give expected results ──
Expected `sub_distmat` to equal `distmat[, c(1L, 15L), drop = FALSE]`.
Differences:
actual != expected but don't know how to show the difference
Sub, NULL distmat
── Failure ('test-02-integration-02-families.R:505:5'): Operations with tsclustFamily@dist and gak give expected results ──
Expected `whole_distmat` to equal `base::as.matrix(distmat)`.
Differences:
actual != expected but don't know how to show the difference
Whole, sparse distmat
── Failure ('test-02-integration-02-families.R:508:5'): Operations with tsclustFamily@dist and gak give expected results ──
Expected `sub_distmat` to equal `base::as.matrix(distmat[, c(1L, 15L), drop = FALSE])`.
Differences:
actual != expected but don't know how to show the difference
Sub, sparse distmat
[ FAIL 3 | WARN 0 | SKIP 15 | PASS 1936 ]
Error:
! Test failures.
Execution halted
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [79s] OK
- checking PDF version of manual ... [30s] OK
- checking HTML version of manual ... [16s] OK
- DONE
Status: 1 ERROR