Skip to content

rigr

Regression, Inference, and General Data Analysis Tools in R

v1.0.8 · Sep 2, 2025 · MIT + file LICENSE

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

1.2K

Last 30 days

3447th

1.2K

Last 90 days

1.2K

Last year

CRAN Check Status

2 ERROR
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc ERROR
r-devel-linux-x86_64-fedora-clang ERROR
r-devel-linux-x86_64-fedora-gcc OK
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 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 (14 non-OK)
OK r-devel-linux-x86_64-debian-clang

*


            
ERROR r-devel-linux-x86_64-debian-gcc

tests

  Running ‘testthat.R’ [15s/20s]
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 ════════════════════════════════════════════════════════════════
  ── Failure ('test_wilcoxon.R:376:3'): wilcoxon() returns correct numbers for one-sample exact test ──
  Expected `wil1$conf.int` to equal `wil2$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95055
  
  ── Failure ('test_wilcoxon.R:393:3'): wilcoxon() returns correct numbers for one-sample exact test ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95055
  
  ── Failure ('test_wilcoxon.R:419:3'): wilcoxon() returns correct numbers for one-sample exact test (left) ──
  Expected `wil1$conf.int` to equal `wil2$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95046
  
  ── Failure ('test_wilcoxon.R:436:3'): wilcoxon() returns correct numbers for one-sample exact test (left) ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95046
  
  ── Failure ('test_wilcoxon.R:462: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.95046
  
  ── Failure ('test_wilcoxon.R:479:3'): wilcoxon() returns correct numbers for one-sample exact test (right) ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95046
  
  ── Failure ('test_wilcoxon.R:491:3'): wilcoxon() returns correct CIs other than 95% (exact) ──
  Expected `wil1$conf.int` to equal `wil2$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.8000
  `attr(expected, 'conf.level')`: 0.8024
  
  ── Failure ('test_wilcoxon.R:495:3'): wilcoxon() returns correct CIs other than 95% (exact) ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.8000
  `attr(expected, 'conf.level')`: 0.8024
  
  ── Failure ('test_wilcoxon.R:514: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.95055
  
  ── Failure ('test_wilcoxon.R:525:3'): wilcoxon() returns correct inference for non-0 null (exact) ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95055
  
  ── Failure ('test_wilcoxon.R:691:3'): wilcoxon() returns correct numbers for one-sample exact test ──
  Expected `wil1$conf.int` to equal `wil2$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95045
  
  ── Failure ('test_wilcoxon.R:715:3'): wilcoxon() returns correct numbers for one-sample exact test (left) ──
  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: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
ERROR r-devel-linux-x86_64-fedora-clang

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 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 ════════════════════════════════════════════════════════════════
  ── Failure ('test_wilcoxon.R:376:3'): wilcoxon() returns correct numbers for one-sample exact test ──
  Expected `wil1$conf.int` to equal `wil2$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95055
  
  ── Failure ('test_wilcoxon.R:393:3'): wilcoxon() returns correct numbers for one-sample exact test ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95055
  
  ── Failure ('test_wilcoxon.R:419:3'): wilcoxon() returns correct numbers for one-sample exact test (left) ──
  Expected `wil1$conf.int` to equal `wil2$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95046
  
  ── Failure ('test_wilcoxon.R:436:3'): wilcoxon() returns correct numbers for one-sample exact test (left) ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95046
  
  ── Failure ('test_wilcoxon.R:462: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.95046
  
  ── Failure ('test_wilcoxon.R:479:3'): wilcoxon() returns correct numbers for one-sample exact test (right) ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95046
  
  ── Failure ('test_wilcoxon.R:491:3'): wilcoxon() returns correct CIs other than 95% (exact) ──
  Expected `wil1$conf.int` to equal `wil2$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.8000
  `attr(expected, 'conf.level')`: 0.8024
  
  ── Failure ('test_wilcoxon.R:495:3'): wilcoxon() returns correct CIs other than 95% (exact) ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.8000
  `attr(expected, 'conf.level')`: 0.8024
  
  ── Failure ('test_wilcoxon.R:514: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.95055
  
  ── Failure ('test_wilcoxon.R:525:3'): wilcoxon() returns correct inference for non-0 null (exact) ──
  Expected `wil3$conf.int` to equal `wil4$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95055
  
  ── Failure ('test_wilcoxon.R:691:3'): wilcoxon() returns correct numbers for one-sample exact test ──
  Expected `wil1$conf.int` to equal `wil2$conf.int`.
  Differences:
    `attr(actual, 'conf.level')`: 0.95000
  `attr(expected, 'conf.level')`: 0.95045
  
  ── Failure ('test_wilcoxon.R:715:3'): wilcoxon() returns correct numbers for one-sample exact test (left) ──
  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: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
OK r-devel-linux-x86_64-fedora-gcc

*


            
OK 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

*


            
OK r-release-linux-x86_64

*


            
OK r-release-macos-arm64

*


            
OK r-release-macos-x86_64

*


            
OK r-release-windows-x86_64

*


            

Check History

ERROR 12 OK · 0 NOTE · 0 WARNING · 2 ERROR · 0 FAILURE Mar 9, 2026
ERROR r-devel-linux-x86_64-debian-gcc

tests

  Running ‘testthat.R’ [15s/20s]
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
  Sa
ERROR r-devel-linux-x86_64-fedora-clang

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 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
  Sa

Dependency Network

Dependencies Reverse dependencies sandwich survival rigr

Version History

new 1.0.8 Mar 9, 2026