Skip to content

collinear

3.0.2

Automated Multicollinearity Management

0packages depend
6Kdownloads / year
96.1%test coverage
13/13checks pass

Overview

About
Maintained by Blas M. BenitoFirst published 2023-10-247 releasesCRAN page ↗GitHub ↗

Provides a comprehensive and automated workflow for managing multicollinearity in data frames with numeric and/or categorical variables. The package integrates five robust methods into a single function: (1) target encoding of categorical variables based on response values (Micci-Barreca, 2001 (Micci-Barreca, D. 2001 doi:10.1145/507533.507538); (2) automated feature prioritization to preserve key predictors during filtering; (3 and 4) pairwise correlation and VIF filtering across all variable types (numeric–numeric, numeric–categorical, and categorical–categorical); (5) adaptive correlation and VIF thresholds. Together, these methods enable a reliable multicollinearity management in most use cases while maintaining model integrity. The package also supports parallel processing and progress tracking via the packages 'future' and 'progressr', and provides seamless integration with the 'tidymodels' ecosystem through a dedicated recipe step.

Install

Health

CRAN checks
13OK
Slowest check: 4.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.81
96.1%
Coverage · measured lines
100%
Documentation · exports
7
Dependencies · direct
Check history
  • OK2026-08-05
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-05-12
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 3 earlier snapshots
  • WARNING2026-05-11
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-04-25
    12 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • NOTE2026-03-10
    13 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 712 wordsVignettesNopkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
98%
Documented parameters
100%
Return-value docs
100%
References docs
10%

Downloads

6K
CRAN downloads in the past year
Rank #5,348 · ~16/day · ~497/mo
Daily download trend is not available in this view yet.
33230 days
1.4K90 days
6K1 year
Compare downloads with other packages →
Also on300 r2u32 autocran

Repository

Repository
19Stars
3Forks
0Open issues
0Open PRs
5Releases
272Commits
4Contributors
machine-learningmulticollinearityr-packagestatistics
272 commits · Last activity 2026-08-17 · +5.6% stars, 30d

Stars over time

2025-04-22 · 122026-08-05 · 19

Repository practices

Upstream repositoryBeta

5 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/blasbenito/collinear on 2026-08-23.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
9 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

People (1)
Maintainer (1)
Author, Maintainer, Copyright holder · added in 1.1.0
Authors (1)
Author, Maintainer, Copyright holder · added in 1.1.0
Copyright holders (1)
Author, Maintainer, Copyright holder · added in 1.1.0
Listed in earlier versions (1)
no longer listed · 1.0.1
Package Timeline

7 releases. Pick two to compare their code metrics. R releases are shown for context.

  • 3.0.2Latest
    2026-06-04 · current release · diff ↗
  • 3.0.1
    2026-05-07 · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 3.0.0
    2025-12-08 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 2.0.0
    2024-11-08 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.1
    2023-12-08 · diff ↗
  • 1.1.0
    2023-11-30 · diff ↗
  • 1.0.1
    2023-10-24
  • R
    R 4.3.0 released · 2023-04-21

Package metadata

First published
2023-10-24
Total releases
7 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
347 KB / 5 files
Download size
464 KB
Installed size
not tracked yet
With dependencies
not tracked yet

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("collinear")
Benito, B. M. (2026). collinear: Automated Multicollinearity Management (Version 3.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.collinear

This is what citation() produces when a package has no citation file of its own. If it prints something else, use that.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for collinear version 3.0.2 [Data set]. HJJB, LLC. Data release v2026-08-25. https://doi.org/10.5281/zenodo.21843040

From data release v2026-08-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy