Last updated on 2025-01-13 02:49:52 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.3.0 | 78.37 | 164.82 | 243.19 | OK | |
r-devel-linux-x86_64-debian-gcc | 0.3.0 | 56.37 | 113.98 | 170.35 | OK | |
r-devel-linux-x86_64-fedora-clang | 0.3.0 | 431.25 | OK | |||
r-devel-linux-x86_64-fedora-gcc | 0.3.0 | 323.16 | ERROR | |||
r-devel-windows-x86_64 | 0.3.0 | 79.00 | 208.00 | 287.00 | OK | |
r-patched-linux-x86_64 | 0.3.0 | 75.14 | 154.85 | 229.99 | OK | |
r-release-linux-x86_64 | 0.3.0 | 74.47 | 154.22 | 228.69 | OK | |
r-release-macos-arm64 | 0.3.0 | 100.00 | NOTE | |||
r-release-macos-x86_64 | 0.3.0 | 138.00 | NOTE | |||
r-release-windows-x86_64 | 0.3.0 | 78.00 | 199.00 | 277.00 | OK | |
r-oldrel-macos-arm64 | 0.3.0 | 104.00 | NOTE | |||
r-oldrel-macos-x86_64 | 0.3.0 | 200.00 | NOTE | |||
r-oldrel-windows-x86_64 | 0.3.0 | 101.00 | 260.00 | 361.00 | OK |
Version: 0.3.0
Check: examples
Result: ERROR
Running examples in ‘squat-Ex.R’ failed
The error most likely occurred in:
> ### Name: autoplot.qtsclust
> ### Title: Plot for 'qtsclust' objects
> ### Aliases: autoplot.qtsclust
>
> ### ** Examples
>
> ## Don't show:
> if (requireNamespace("ggplot2", quietly = TRUE)) (if (getRversion() >= "3.4") withAutoprint else force)({ # examplesIf
+ ## End(Don't show)
+ out <- kmeans(vespa64$igp[1:10], n_clusters = 2)
+ ggplot2::autoplot(out)
+ ## Don't show:
+ }) # examplesIf
> out <- kmeans(vespa64$igp[1:10], n_clusters = 2)
Error in `check_option_compatibility()`:
! The L2 metric is neither dilation-invariant nor affine-invariant.
Backtrace:
▆
1. ├─(if (getRversion() >= "3.4") withAutoprint else force)(...)
2. │ └─base::source(...)
3. │ ├─base::withVisible(eval(ei, envir))
4. │ └─base::eval(ei, envir)
5. │ └─base::eval(ei, envir)
6. ├─squat::kmeans(vespa64$igp[1:10], n_clusters = 2)
7. └─squat:::kmeans.qts_sample(vespa64$igp[1:10], n_clusters = 2)
8. └─fdacluster::fdakmeans(...)
9. └─fdacluster:::check_option_compatibility(...)
10. └─cli::cli_abort("The L2 metric is neither dilation-invariant nor affine-invariant.")
11. └─rlang::abort(...)
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [40s/59s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> # This file is part of the standard setup for testthat.
> # It is recommended that you do not modify it.
> #
> # Where should you do additional test configuration?
> # Learn more about the roles of various files in:
> # * https://r-pkgs.org/tests.html
> # * https://testthat.r-lib.org/reference/test_package.html#special-files
>
> library(testthat)
> library(squat)
Attaching package: 'squat'
The following objects are masked from 'package:stats':
dist, hclust, kmeans, smooth
The following objects are masked from 'package:base':
append, scale
>
> test_check("squat")
Attaching package: 'purrr'
The following object is masked from 'package:testthat':
is_null
i The maximum number of principal component is 15.
i The maximum number of principal component is 15.
The `original_space` boolean argument is not specified. Defaulting to TRUE.
The `plane` length-2 integer vector argument is not specified. Defaulting to 1:2.
i The maximum number of principal component is 15.
The `original_space` boolean argument is not specified. Defaulting to TRUE.
[ FAIL 6 | WARN 0 | SKIP 28 | PASS 27 ]
══ Skipped tests (28) ══════════════════════════════════════════════════════════
• On CRAN (28): 'test-DTW.R:2:3', 'test-interface.R:2:3',
'test-interface.R:7:3', 'test-interface.R:12:3', 'test-interface.R:24:3',
'test-interface.R:31:3', 'test-interface.R:36:3', 'test-interface.R:41:3',
'test-interface.R:46:3', 'test-qts-class.R:15:3', 'test-qts-class.R:23:3',
'test-qts-class.R:31:3', 'test-qts-class.R:49:3', 'test-qts-dist.R:5:3',
'test-qts-dist.R:15:3', 'test-qts-prcomp.R:3:3', 'test-qts-prcomp.R:21:3',
'test-qts-sample-class.R:7:3', 'test-qts-sample-class.R:18:5',
'test-qts-sample-class.R:30:3', 'test-qts-sample-class.R:67:3',
'test-qts-sample-class.R:71:3', 'test-qts-sample-class.R:75:3',
'test-qts-sample-class.R:91:3', 'test-qts-transformations.R:2:3',
'test-qts-transformations.R:6:3', 'test-qts-transformations.R:11:3',
'test-qts-transformations.R:16:3'
══ Failed tests ════════════════════════════════════════════════════════════════
── Error ('test-qts-dbscan.R:8:3'): Function dbscan.qts_sample() works ─────────
Error in `check_option_compatibility(is_domain_interval = is_domain_interval,
transformation = transformation, warping_class = warping_class,
metric = metric)`: The L2 metric is neither dilation-invariant nor affine-invariant.
Backtrace:
▆
1. ├─squat::dbscan(vespa64$igp[1:10]) at test-qts-dbscan.R:8:3
2. └─squat:::dbscan.qts_sample(vespa64$igp[1:10])
3. └─fdacluster::fdadbscan(...)
4. └─fdacluster:::check_option_compatibility(...)
5. └─cli::cli_abort("The L2 metric is neither dilation-invariant nor affine-invariant.")
6. └─rlang::abort(...)
── Error ('test-qts-dist.R:9:3'): Function dist.qts_sample() works via fdacluster pkg ──
Error in `fdacluster::fdadist(x = l$grid, y = l$values, warping_class = warping_class,
metric = metric, cluster_on_phase = cluster_on_phase, labels = labels)`: `warping_class` must be one of "none", "shift", "dilation", "affine", or "bpd", not "affine".
Backtrace:
▆
1. ├─squat::dist(vespa64$igp[1:5]) at test-qts-dist.R:9:3
2. └─squat:::dist.qts_sample(vespa64$igp[1:5])
3. └─fdacluster::fdadist(warping_class = warping_class)
4. └─rlang::arg_match(warping_class)
5. └─rlang::abort(msg, call = error_call, arg = error_arg)
── Error ('test-qts-hclust.R:7:3'): Function hclust.qts_sample() works ─────────
Error in `check_option_compatibility(is_domain_interval = is_domain_interval,
transformation = transformation, warping_class = warping_class,
metric = metric)`: The L2 metric is neither dilation-invariant nor affine-invariant.
Backtrace:
▆
1. ├─squat::hclust(vespa64$igp[1:10], n_clusters = 2) at test-qts-hclust.R:7:3
2. └─squat:::hclust.qts_sample(vespa64$igp[1:10], n_clusters = 2)
3. └─fdacluster::fdahclust(...)
4. └─fdacluster:::check_option_compatibility(...)
5. └─cli::cli_abort("The L2 metric is neither dilation-invariant nor affine-invariant.")
6. └─rlang::abort(...)
── Error ('test-qts-kmeans.R:8:5'): Function kmeans.qts_sample() works ─────────
Error in `check_option_compatibility(is_domain_interval = is_domain_interval,
transformation = transformation, warping_class = warping_class,
metric = metric)`: The L2 metric is neither dilation-invariant nor affine-invariant.
Backtrace:
▆
1. ├─withr::with_seed(...) at test-qts-kmeans.R:7:3
2. │ └─withr::with_preserve_seed(...)
3. ├─squat::kmeans(vespa64$igp[1:10], n_clusters = 2) at test-qts-kmeans.R:8:5
4. └─squat:::kmeans.qts_sample(vespa64$igp[1:10], n_clusters = 2)
5. └─fdacluster::fdakmeans(...)
6. └─fdacluster:::check_option_compatibility(...)
7. └─cli::cli_abort("The L2 metric is neither dilation-invariant nor affine-invariant.")
8. └─rlang::abort(...)
── Error ('test-qts-kmeans.R:15:5'): Visualization code for k-means work ───────
Error in `check_option_compatibility(is_domain_interval = is_domain_interval,
transformation = transformation, warping_class = warping_class,
metric = metric)`: The L2 metric is neither dilation-invariant nor affine-invariant.
Backtrace:
▆
1. ├─withr::with_seed(...) at test-qts-kmeans.R:14:3
2. │ └─withr::with_preserve_seed(...)
3. ├─squat::kmeans(vespa64$igp[1:10], n_clusters = 2) at test-qts-kmeans.R:15:5
4. └─squat:::kmeans.qts_sample(vespa64$igp[1:10], n_clusters = 2)
5. └─fdacluster::fdakmeans(...)
6. └─fdacluster:::check_option_compatibility(...)
7. └─cli::cli_abort("The L2 metric is neither dilation-invariant nor affine-invariant.")
8. └─rlang::abort(...)
── Error ('test-qts-kmeans.R:26:5'): Visualization functions for PCA work ──────
Error in `check_option_compatibility(is_domain_interval = is_domain_interval,
transformation = transformation, warping_class = warping_class,
metric = metric)`: The L2 metric is neither dilation-invariant nor affine-invariant.
Backtrace:
▆
1. ├─withr::with_seed(...) at test-qts-kmeans.R:25:3
2. │ └─withr::with_preserve_seed(...)
3. ├─squat::kmeans(vespa64$igp[1:10], n_clusters = 2) at test-qts-kmeans.R:26:5
4. └─squat:::kmeans.qts_sample(vespa64$igp[1:10], n_clusters = 2)
5. └─fdacluster::fdakmeans(...)
6. └─fdacluster:::check_option_compatibility(...)
7. └─cli::cli_abort("The L2 metric is neither dilation-invariant nor affine-invariant.")
8. └─rlang::abort(...)
[ FAIL 6 | WARN 0 | SKIP 28 | PASS 27 ]
Deleting unused snapshots:
• qts-class/qts-plot-with-change-points.svg
• qts-kmeans/k-means-plot.svg
• qts-prcomp/colored-score-plot.svg
• qts-prcomp/score-plot.svg
• qts-prcomp/screeplot.svg
• qts-sample-class/qts-sample-plot-with-highlighted-observations.svg
• qts-sample-class/qts-sample-plot-with-memberships.svg
Error: Test failures
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.3.0
Check: installed package size
Result: NOTE
installed size is 13.4Mb
sub-directories of 1Mb or more:
data 1.1Mb
help 1.1Mb
libs 10.9Mb
Flavors: r-release-macos-arm64, r-release-macos-x86_64, r-oldrel-macos-arm64, r-oldrel-macos-x86_64