Last updated on 2025-01-22 13:02:02 CET.
Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
---|---|---|---|---|---|---|
r-devel-linux-x86_64-debian-clang | 0.3.0 | 76.45 | 89.65 | 166.10 | ERROR | |
r-devel-linux-x86_64-debian-gcc | 0.3.0 | 56.87 | 63.52 | 120.39 | ERROR | |
r-devel-linux-x86_64-fedora-clang | 0.3.0 | 317.36 | ERROR | |||
r-devel-linux-x86_64-fedora-gcc | 0.3.0 | 306.33 | ERROR | |||
r-devel-windows-x86_64 | 0.3.0 | 81.00 | 120.00 | 201.00 | ERROR | |
r-patched-linux-x86_64 | 0.3.0 | 80.54 | 85.21 | 165.75 | ERROR | |
r-release-linux-x86_64 | 0.3.0 | 77.14 | 84.69 | 161.83 | ERROR | |
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 | 117.00 | 195.00 | ERROR | |
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 | 99.00 | 149.00 | 248.00 | ERROR |
Version: 0.3.0
Check: examples
Result: ERROR
Running examples in ‘squat-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Examples with CPU (user + system) or elapsed time > 5s
user system elapsed
autoplot.prcomp_qts 5.686 0.246 6.544
append 5.453 0.183 7.120
Flavor: r-devel-linux-x86_64-debian-clang
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [25s/32s]
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-debian-clang
Version: 0.3.0
Check: examples
Result: ERROR
Running examples in ‘squat-Ex.R’ failed
The error most likely occurred in:
> base::assign(".ptime", proc.time(), pos = "CheckExEnv")
> ### 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
Flavors: r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [16s/20s]
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-debian-gcc
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
Flavors: r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-release-windows-x86_64, r-oldrel-windows-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [40s/69s]
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-clang
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [37s/48s]
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: tests
Result: ERROR
Running 'testthat.R' [18s]
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-windows-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [22s/27s]
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-patched-linux-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running ‘testthat.R’ [23s/27s]
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-release-linux-x86_64
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
Version: 0.3.0
Check: tests
Result: ERROR
Running 'testthat.R' [19s]
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-release-windows-x86_64
Version: 0.3.0
Check: tests
Result: ERROR
Running 'testthat.R' [27s]
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-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.