Skip to content

optrefine

1.1.1

Optimally Refine Strata

0packages depend
2.4Kdownloads / year
97.0%test coverage
12/13checks pass

Overview

About
Maintained by Katherine BrumbergFirst published 2022-11-083 releasesCRAN page ↗GitHub ↗

Splits initial strata into refined strata that optimize covariate balance. For more information, please see Brumberg, Small, and Rosenbaum (2024) doi:10.1093/biomtc/ujae061. To solve the linear program, the 'Gurobi' commercial optimization software is recommended, but not required. The 'gurobi' R package can be installed following the instructions at https://docs.gurobi.com/projects/optimizer/en/current/reference/r/setup.html after claiming your free academic license at https://www.gurobi.com/academia/academic-program-and-licenses/.

Install

Health

CRAN checks
1NOTE12OK
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-gcc
Slowest check: 2.8 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.59
97.0%
Coverage · measured lines
100%
Documentation · exports
4
Dependencies · direct
Check history
  • NOTE2026-08-01
    12 OK · 1 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-05-11
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-05-10
    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
    11 OK · 3 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

2.4K
CRAN downloads in the past year
Rank #18,402 · ~6/day · ~197/mo
Daily download trend is not available in this view yet.
18030 days
59190 days
2.4K1 year
Compare downloads with other packages →
Also on111 r2u7 autocran

Repository

Repository
2Stars
0Forks
0Open issues
0Open PRs
0Releases
41Commits
2Contributors
License GPL-3.0 · 41 commits · Last activity 2026-02-03 · 0% stars, 30d

Stars over time

2023-10-11 · 22026-07-07 · 2

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/kkbrum/optrefine on 2026-08-02.

Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
CRAN release process (1)
cran-comments.md
Docs source (1)
README.Rmd
Show all practices
Lint, format, editor (1)
RStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
6 external dependencies (excludes base and recommended)
Depends (5)
Imports (0)
none
LinkingTo (0)
none
Suggests (3)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.1Latest
    2026-02-04 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.1.0
    2023-04-18 · diff ↗
  • 1.0.0
    2022-11-08
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2022-11-08
Total releases
3 / 4 yrs
License
GPL (>= 3) OSI
Minimum R
≥ 2.10
Bundled data
179 KB / 1 file
Download size
208 KB
Installed size
not tracked yet
With dependencies
not tracked yet
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