Skip to content

apportion

0.0.2Package record

Apportion Seats

0packages depend
3Kdownloads / year
80.6%test coverage
13/13flavors OK

Overview

About

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
Status changes
  • OK13 OK2026-09-08
  • ERROR12 OK, 1 ERROR2026-09-07
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.0.2
READMEYes · 142 wordsVignettesNoNEWSYes · 67% structured · does not mention 0.0.2Citation fileNoWebsiteYes · pkgdown
Help pages
9
Examples that run
100%9 run in a plain check
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

3K
CRAN downloads in the past year
Rank #15,174 · ~8/day · ~247/mo
Daily download trend is not available in this view yet.
24430 days
80690 days
3K1 year
Compare downloads with other packages →
Also on94 r2u13 autocran

Repository

1Stars
0Forks
0Open issues
0Open PRs
1Releases
50Commits
2Commit identities
50 commits · Last activity 2026-07-01 · Default branch at 0.1.0, ahead of CRAN 0.0.2 (checked 2026-10-22)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
2

Stars over time

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

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

Checks run against github.com/christopherkenny/apportion on 2026-10-22.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-07-01 · The repository has a site deploy workflow

Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Show all practicesHide 1 practice
Lint, format, editor (2)
AirRStudio project
How this is detected·Detection ruleset v4 (2026-10-20)
AI coding toolsBeta

This repository has an AI review tool set up.

Review tools
  • Copilot code review
    Commits: at least 5 accepting its review suggestions
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)

Installing apportion adds no packages beyond those that come with R.

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.

Datasets

People & History

People (1)
Author, Maintainer since 0.0.1 (2023)
Releases (2)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.0.2Latest
    record
    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
    record
    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

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("apportion")
Kenny, C. T. (2025). apportion: Apportion Seats (Version 0.0.2) [Computer software]. https://doi.org/10.32614/CRAN.package.apportion

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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 apportion version 0.0.2 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, 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