robscale
Accelerated Estimation of Robust Location and Scale
Description
Estimates robust location and scale parameters using platform-specific Single Instruction, Multiple Data (SIMD) vectorization and Intel Threading Building Blocks (TBB) for parallel processing. Implements a novel variance-weighted ensemble estimator that adaptively combines all available statistics. Methods include logistic M-estimators, the estimators of Rousseeuw and Croux (1993), the Gini mean difference, the scaled Median Absolute Deviation (MAD), the scaled Interquartile Range (IQR), and unbiased standard deviations. Achieves substantial speedups over existing implementations through an 'Rcpp' backend with fused single-buffer algorithms that halve memory traffic for MAD and M-scale estimation, and a unified dispatcher that automatically selects the optimal estimator based on sample size.
Downloads
541
Last 30 days
7443rd
541
Last 90 days
541
Last year
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 | OK |
| r-devel-windows-x86_64 | OK |
| r-oldrel-macos-arm64 | NOTE |
| r-oldrel-macos-x86_64 | NOTE |
| 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 (2 non-OK)
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
installed package size
installed size is 16.3Mb
sub-directories of 1Mb or more:
libs 16.0Mb
Check History
NOTE 12 OK · 2 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 4, 2026
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
installed package size
installed size is 16.3Mb
sub-directories of 1Mb or more:
libs 16.0Mb
ERROR 8 OK · 1 NOTE · 0 WARNING · 5 ERROR · 0 FAILURE Mar 18, 2026
tests
Running ‘testthat.R’ [88s/95s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(robscale)
>
> test_check("robscale")
Saving _problems/test-cross-check-12.R
Saving _problems/test-cross-check-1
...[truncated]...
matches revss baseline ────────
Expected `robscale::robLoc(x)` to equal `revss::robLoc(x)`.
Differences:
`actual`: 12.954
`expected`: 12.932
[ FAIL 1799 | WARN 0 | SKIP 0 | PASS 4681 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [212s/211s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(robscale)
>
> test_check("robscale")
Saving _problems/test-cross-check-12.R
Saving _problems/test-cross-check
...[truncated]...
matches revss baseline ────────
Expected `robscale::robLoc(x)` to equal `revss::robLoc(x)`.
Differences:
`actual`: 12.954
`expected`: 12.932
[ FAIL 1799 | WARN 0 | SKIP 0 | PASS 4681 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [226s/223s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(robscale)
>
> test_check("robscale")
Saving _problems/test-cross-check-12.R
Saving _problems/test-cross-check
...[truncated]...
matches revss baseline ────────
Expected `robscale::robLoc(x)` to equal `revss::robLoc(x)`.
Differences:
`actual`: 12.954
`expected`: 12.932
[ FAIL 1799 | WARN 0 | SKIP 0 | PASS 4681 ]
Error:
! Test failures.
Execution halted
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
for GNU extensions in Makefiles
GNU make is a SystemRequirements.
NOTE 9 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
for GNU extensions in Makefiles
GNU make is a SystemRequirements.