Skip to content

apportion

0.0.2

Apportion Seats

0packages depend
3.2Kdownloads / year
80.6%test coverage
13/13checks pass

Overview

About
Maintained by Christopher T. KennyFirst published 2023-02-162 releasesCRAN page ↗GitHub ↗

Convert populations into integer number of seats for legislative bodies. Implements apportionment methods used historically and currently in the United States for reapportionment after the Census, as described in https://www.census.gov/history/www/reference/apportionment/methods_of_apportionment.html.

Install

Health

CRAN checks
13OK
Slowest check: 1.0 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 0.24
80.6%
Coverage · measured lines
100%
Documentation · exports
0
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

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

Downloads

3.2K
CRAN downloads in the past year
Rank #16,229 · ~9/day · ~266/mo
Daily download trend is not available in this view yet.
22230 days
67290 days
3.2K1 year
Compare downloads with other packages →
Also on132 r2u15 autocran

Repository

Repository
1Stars
0Forks
0Open issues
0Open PRs
1Releases
50Commits
2Contributors
50 commits · Last activity 2026-07-01 · 0% stars, 30d

Stars over time

2025-07-26 · 12026-07-07 · 1

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/christopherkenny/apportion on 2026-07-30.

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

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 2.10
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Datasets

People & History

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

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

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.2Latest
    2025-09-01 · 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
  • 0.0.1
    2023-02-16
  • R
    R 4.2.0 released · 2022-04-22

Package metadata

First published
2023-02-16
Total releases
2 / 3 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 2.10
Bundled data
1.1 KB / 1 file
Download size
38 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →