rigr
Regression, Inference, and General Data Analysis Tools in R
Description
A set of tools to streamline data analysis. Learning both R and introductory statistics at the same time can be challenging, and so we created 'rigr' to facilitate common data analysis tasks and enable learners to focus on statistical concepts. We provide easy-to-use interfaces for descriptive statistics, one- and two-sample inference, and regression analyses. 'rigr' output includes key information while omitting unnecessary details that can be confusing to beginners. Heteroscedasticity-robust ("sandwich") standard errors are returned by default, and multiple partial F-tests and tests for contrasts are easy to specify. A single regression function can fit both linear and generalized linear models, allowing students to more easily make connections between different classes of models.
Downloads
723
Last 30 days
5063rd
2.6K
Last 90 days
7.4K
Last year
Trend: -37.9% (30d vs prior 30d)
CRAN Check Status
Show all 14 flavors
| Flavor | Status |
|---|---|
| r-devel-linux-x86_64-debian-clang | ERROR |
| r-devel-linux-x86_64-debian-gcc | OK |
| r-devel-linux-x86_64-fedora-clang | OK |
| r-devel-linux-x86_64-fedora-gcc | ERROR |
| r-devel-macos-arm64 | 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 | ERROR |
| 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 (3 non-OK)
tests
Running ‘testthat.R’ [24s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rigr)
rigr version 1.0.8: Regression, Inference, and General Data Analysis Tools in R
> library(car)
Loading required package: carData
>
> test_check("rigr")
Saving _problems/test_wilcoxon-376.R
Saving _problems/test_wilcoxon-393.R
Saving _problems/test_wilcoxon-419.R
Saving _problems/test_wilcoxon-436.R
Saving _problems/test_wilcoxon-462.R
Saving _problems/test_wilcoxon-479.R
Saving _problems/test_wilcoxon-491.R
Saving _problems/test_wilcoxon-495.R
Saving _problems/test_wilcoxon-514.R
Saving _problems/test_wilcoxon-525.R
Saving _problems/test_wilcoxon-691.R
Saving _problems/test_wilcoxon-715.R
Saving _problems/test_wilcoxon-739.R
Saving _problems/test_wilcoxon-749.R
Saving _problems/test_wilcoxon-766.R
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
══ Failed tests ═══════════════════════════════════════════════════
...[truncated]...
` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95057
── Failure ('test_wilcoxon.R:739:3'): wilcoxon() returns correct numbers for one-sample exact test (right) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95057
── Failure ('test_wilcoxon.R:749:3'): wilcoxon() returns correct CIs other than 95% (exact) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.80000
`attr(expected, 'conf.level')`: 0.80053
── Failure ('test_wilcoxon.R:766:3'): wilcoxon() returns correct inference for non-0 null (exact) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95045
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [36s/41s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rigr)
rigr version 1.0.8: Regression, Inference, and General Data Analysis Tools in R
> library(car)
Loading required package: carData
>
> test_check("rigr")
Saving _problems/test_wilcoxon-376.R
Saving _problems/test_wilcoxon-393.R
Saving _problems/test_wilcoxon-419.R
Saving _problems/test_wilcoxon-436.R
Saving _problems/test_wilcoxon-462.R
Saving _problems/test_wilcoxon-479.R
Saving _problems/test_wilcoxon-491.R
Saving _problems/test_wilcoxon-495.R
Saving _problems/test_wilcoxon-514.R
Saving _problems/test_wilcoxon-525.R
Saving _problems/test_wilcoxon-691.R
Saving _problems/test_wilcoxon-715.R
Saving _problems/test_wilcoxon-739.R
Saving _problems/test_wilcoxon-749.R
Saving _problems/test_wilcoxon-766.R
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
══ Failed tests ═══════════════════════════════════════════════════
...[truncated]...
` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95057
── Failure ('test_wilcoxon.R:739:3'): wilcoxon() returns correct numbers for one-sample exact test (right) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95057
── Failure ('test_wilcoxon.R:749:3'): wilcoxon() returns correct CIs other than 95% (exact) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.80000
`attr(expected, 'conf.level')`: 0.80053
── Failure ('test_wilcoxon.R:766:3'): wilcoxon() returns correct inference for non-0 null (exact) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95045
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [24s/30s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rigr)
rigr version 1.0.8: Regression, Inference, and General Data Analysis Tools in R
> library(car)
Loading required package: carData
>
> test_check("rigr")
Saving _problems/test_wilcoxon-376.R
Saving _problems/test_wilcoxon-393.R
Saving _problems/test_wilcoxon-419.R
Saving _problems/test_wilcoxon-436.R
Saving _problems/test_wilcoxon-462.R
Saving _problems/test_wilcoxon-479.R
Saving _problems/test_wilcoxon-491.R
Saving _problems/test_wilcoxon-495.R
Saving _problems/test_wilcoxon-514.R
Saving _problems/test_wilcoxon-525.R
Saving _problems/test_wilcoxon-691.R
Saving _problems/test_wilcoxon-715.R
Saving _problems/test_wilcoxon-739.R
Saving _problems/test_wilcoxon-749.R
Saving _problems/test_wilcoxon-766.R
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
══ Failed tests ═══════════════════════════════════════════════════
...[truncated]...
` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95057
── Failure ('test_wilcoxon.R:739:3'): wilcoxon() returns correct numbers for one-sample exact test (right) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95057
── Failure ('test_wilcoxon.R:749:3'): wilcoxon() returns correct CIs other than 95% (exact) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.80000
`attr(expected, 'conf.level')`: 0.80053
── Failure ('test_wilcoxon.R:766:3'): wilcoxon() returns correct inference for non-0 null (exact) ──
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95045
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
Error:
! Test failures.
Execution halted
Check History
ERROR 10 OK · 0 NOTE · 0 WARNING · 4 ERROR · 0 FAILURE Mar 10, 2026
tests
Running ‘testthat.R’ [25s/36s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rigr)
rigr version 1.0.8: Regression, Inference, and General Data Analysis Tools in R
> library(car)
Loading requi
...[truncated]...
─
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95045
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [15s/16s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rigr)
rigr version 1.0.8: Regression, Inference, and General Data Analysis Tools in R
> library(car)
Loading requi
...[truncated]...
─
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95045
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
Error:
! Test failures.
Execution halted
tests
Running ‘testthat.R’ [40s/79s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
> library(testthat)
> library(rigr)
rigr version 1.0.8: Regression, Inference, and General Data Analysis Tools in R
> library(car)
Loading requi
...[truncated]...
─
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95045
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
Error:
! Test failures.
Execution halted
tests
Running 'testthat.R' [27s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
> library(testthat)
> library(rigr)
rigr version 1.0.8: Regression, Inference, and General Data Analysis Tools in R
> library(car)
Loading required
...[truncated]...
─
Expected `wil1$conf.int` to equal `wil2$conf.int`.
Differences:
`attr(actual, 'conf.level')`: 0.95000
`attr(expected, 'conf.level')`: 0.95045
[ FAIL 15 | WARN 0 | SKIP 0 | PASS 2314 ]
Error:
! Test failures.
Execution halted