dispersionIndicators
Indicators for the Analysis of Dispersion of Datasets with Batched and Ordered Samples
Description
Provides methods for analyzing the dispersion of tabular datasets with batched and ordered samples. Based on convex hull or integrated covariance Mahalanobis, several indicators are implemented for inter and intra batch dispersion analysis. It is designed to facilitate robust statistical assessment of data variability, supporting applications in exploratory data analysis and quality control, for such datasets as the one found in metabololomics studies. For more details see Salanon (2024) <doi:10.1016/j.chemolab.2024.105148> and Salanon (2025) <doi:10.1101/2025.08.01.668073>.
Downloads
144
Last 30 days
22064th
266
Last 90 days
266
Last year
Trend: +18% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | OK |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | OK |
| r-devel-macos-arm64 | ERROR |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | OK |
| r-oldrel-macos-x86_64 | OK |
| r-oldrel-windows-x86_64 | OK |
| r-patched-linux-x86_64 | OK |
| r-release-linux-x86_64 | OK |
| r-release-macos-arm64 | OK |
| r-release-macos-x86_64 | OK |
| r-release-windows-x86_64 | OK |
Check details (14 non-OK)
*
*
*
*
tests
Running ‘testthat.R’ [1s/1s]
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/testing-design.html#sec-tests-files-overview
> # * https://testthat.r-lib.org/articles/special-files.html
>
> library(testthat)
> library(dispersionIndicators)
>
> test_check("dispersionIndicators")
Using poppler version 25.09.1
Saving _problems/test-convex_function-512.R
Saving _problems/test-convex_function-513.R
File intra saved : /Volumes/Temp/tmp/RtmpSvNDq5/Test_intra_distances_20260213.csv
File inter saved : /Volumes/Temp/tmp/RtmpSvNDq5/Test_inter_distances_20260213.csv
File individual saved : /Volumes/Temp/tmp/RtmpSvNDq5/Test_individual_distances_20260213.csv
File inter saved : /Volumes/Temp/tmp/RtmpSvNDq5/Test_inter_distances_20260213.csv
File individual saved : /Volumes/Temp/tmp/RtmpSvNDq5/Test_individual_distances_20260213.csv
File intra saved : /Volumes/Temp/tmp/RtmpSvNDq5/Test_intra_distances_20260213.csv
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 89 ]
══ Failed tests ════════════════════════════════════════════════════════════════
── Failure ('test-convex_function.R:512:9'): plot_all_convex_hulls works ───────
Expected `hash_raw_md5(bitmap_batch)` to equal "9ad7981faf2205cd5ce1752027f8d2f5".
Differences:
`actual`: "b3b107027cb344da8380d8f91db7c37c"
`expected`: "9ad7981faf2205cd5ce1752027f8d2f5"
── Failure ('test-convex_function.R:513:9'): plot_all_convex_hulls works ───────
Expected `hash_raw_md5(bitmap_global)` to equal "249def7d2a3066c226ebf242e0c51e70".
Differences:
`actual`: "6304abaa3ceafbadf4b8bbd3a6eb6345"
`expected`: "249def7d2a3066c226ebf242e0c51e70"
[ FAIL 2 | WARN 0 | SKIP 0 | PASS 89 ]
Error:
! Test failures.
Execution halted
*
*
*
*
*
*
*
*
*
Check History
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Mar 9, 2026
tests
Running ‘testthat.R’ [1s/1s] 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/testing-design.html#sec-tests-files-overview > # * https://testthat.r-lib.org/articles/special-files.html > > library(testthat) > library(di