Skip to content

robscale

Accelerated Estimation of Robust Location and Scale

v0.5.4 · Mar 30, 2026 · MIT + file LICENSE

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

2 NOTE
12 OK
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)
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

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
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE r-oldrel-macos-x86_64

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
ERROR r-devel-linux-x86_64-debian-gcc

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
ERROR r-devel-linux-x86_64-fedora-clang

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
ERROR r-devel-linux-x86_64-fedora-gcc

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
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
ERROR r-oldrel-macos-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
ERROR r-oldrel-windows-x86_64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.
NOTE 9 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-oldrel-macos-arm64

for GNU extensions in Makefiles

GNU make is a SystemRequirements.

Dependency Network

Dependencies Reverse dependencies Rcpp RcppParallel robscale

Version History

updated 0.5.4 ← 0.5.3 diff Mar 30, 2026
updated 0.5.3 ← 0.2.1 diff Mar 29, 2026
updated 0.2.1 ← 0.1.5 diff Mar 16, 2026
new 0.1.5 Mar 10, 2026
updated 0.1.5 ← 0.1.1 diff Mar 8, 2026
new 0.1.1 Mar 5, 2026