Skip to content

divseg

0.1.0

Calculate Diversity and Segregation Indices

0packages depend
3.8Kdownloads / year
92.5%test coverage
13/13checks pass

Overview

About
Maintained by Christopher T. KennyFirst published 2021-08-093 releasesCRAN page ↗GitHub ↗

Implements common measures of diversity and spatial segregation. This package has tools to compute the majority of measures are reviewed in Massey and Denton (1988) doi:10.2307/2579183. Multiple common measures of within-geography diversity are implemented as well. All functions operate on data frames with a 'tidyselect' based workflow.

Install

Health

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

Documentation

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

Downloads

3.8K
CRAN downloads in the past year
Rank #12,082 · ~11/day · ~320/mo
Daily download trend is not available in this view yet.
28030 days
85290 days
3.8K1 year
Compare downloads with other packages →
Also on145 r2u29 autocran41 c2d4u

Repository

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

Stars over time

2022-05-23 · 12026-07-07 · 3

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/christopherkenny/divseg on 2026-07-26.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Show all practices
Git structural (1)
.gitattributes
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)
Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Suggests (2)
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
  • 0.1.0Latest
    2025-09-03 · 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.5
    2022-12-17 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.0.4
    2021-08-09
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2021-08-09
Total releases
3 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1.0
Bundled data
100 KB / 2 files
Download size
173 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
Report a problem with this page →