Skip to content

crmReg

Cellwise Robust M-Regression and SPADIMO

v1.0.4 · May 22, 2025 · GPL (>= 2)

Description

Method for fitting a cellwise robust linear M-regression model (CRM, Filzmoser et al. (2020) <DOI:10.1016/j.csda.2020.106944>) that yields both a map of cellwise outliers consistent with the linear model, and a vector of regression coefficients that is robust against vertical outliers and leverage points. As a by-product, the method yields an imputed data set that contains estimates of what the values in cellwise outliers would need to amount to if they had fit the model. The package also provides diagnostic tools for analyzing casewise and cellwise outliers using sparse directions of maximal outlyingness (SPADIMO, Debruyne et al. (2019) <DOI:10.1007/s11222-018-9831-5>).

Downloads

CRAN

590

Last 30 days

6079th

1.8K

Last 90 days

7K

Last year

Trend: +9.7% (30d vs prior 30d)

r2u CRAN

25

Last 30 days

131

Last 90 days

495

Last year

Trend: -47.9% (30d vs prior 30d)

autoCRAN

1

Last 7 days

8

Last 30 days

0

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 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-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 History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

1,585

Files

19

Compiled share

0%

Has compiled src

No

Language breakdown

R 1,064 (67.1%)Docs 521 (32.9%)

API

Exported functions

5

Internal functions

6

Recent export changes

v1.0.0+5 cellwiseheatmap, crm, daprpr +2 more

Testing & CI

Has tests

No

Test-to-code ratio

0.00

testthat edition

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

80%

\dontrun example ratio

0%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

0%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

3.5.0

System requirements

C++ standard

License

GPL (>= 2)

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2020-03-31

Latest release

2025-05-22

Avg cadence

170 days

Cold removal rate

Dep drift

1

LOC over versions

v1.0.0: 1,585 LOCv1.0.1: 1,585 LOCv1.0.2: 1,585 LOCv1.0.4: 1,585 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies FNN ggplot2 gplots pcaPP plyr robustbase rrcov crmReg

Version History

5 tracked
new 1.0.4 Mar 10, 2026
updated 1.0.4 ← 1.0.2 diff May 21, 2025
updated 1.0.2 ← 1.0.1 diff Sep 22, 2020
updated 1.0.1 ← 1.0.0 diff Apr 5, 2020
new 1.0.0 Mar 30, 2020