SafeVote
1.0.2Election Vote Counting with Safety Features
0packages depend
3.3Kdownloads / year
18.8%test coverage
13/13checks pass
Overview
About
Fork of 'vote_2.3-2', Raftery et al. (2021) DOI:10.32614/RJ-2021-086, with additional support for stochastic experimentation.
Install
Health
CRAN checks
13OK
Slowest check: 3.6 min · r-devel-linux-x86_64-fedora-clang
Code health
Yes
Tests · ratio 0.02
18.8%
Coverage · measured lines
100%
Documentation · exports
11
Dependencies · direct
Check history
- OK2026-03-2914 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
- ERROR2026-03-105 OK · 0 NOTE · 0 WARNING · 9 ERROR · 0 FAILURE
Documentation
Documentation
READMEYes · 1,242 wordsVignettesNopkgdown siteNoNEWSNoCode of conductNoContributing guideNo
- Examples that run
- 100%
- Documented parameters
- 73%
- Return-value docs
- 100%
- References docs
- 0%
Downloads
3.3K
CRAN downloads in the past year
Rank #17,191 · ~9/day · ~271/mo
Daily download trend is not available in this view yet.
20630 days
67690 days
3.3K1 year
Also on101 r2u30 autocran
Repository
Repository
0Stars
0Forks
0Open issues
0Open PRs
0Releases
License AGPL-3.0 · Last activity 2026-03-23
Repository practices
Upstream repositoryBeta
4 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/cthombor/safevote on 2026-07-19.
Continuous integration (1)
GitHub Actions
Reproducibility and dev environment (1)
data-raw/
Docs source (1)
README.Rmd
Lint, format, editor (1)
RStudio project
Dependencies
Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
Imports (11)
formattableknitrfieldsgrDevicesgraphicsutilsggplot2data.tablestringrforcatsdplyr
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Nothing depends on this yet.
Code & Tests
Code Composition
R 4,029 (64%)Rd 2,255 (36%)
Code characteristics
Object systems
S321
- Cyclomatic complexity
- 2.0 median / 76 max
- Test cases
- 6 / 0.02 per code line
Test coverage
Line coverage
19%
Expression
21.3%
Tests / Examples
18.8% / 57% ex
Functions
67 15 exported
Complexity
5.6 avg / 76 max
Call network
67 nodes / 66 edges
Call graph
Open call graph →Loading call graph…
Lowest coverage
67 functions| Function | Cyclo | Coverage |
|---|---|---|
| approval exp | 2 | 0% |
| check.ranking exp | 2 | 0% |
| combineRankings exp | 2 | 0% |
| condorcet exp | 29 | 0% |
| invalid.votes exp | 2 | 0% |
| is.SafeRankExpt exp | 7 | 0% |
Datasets
Bundled datasets · 15
| Name | Class | Rows × Cols | Also ships in |
|---|---|---|---|
| auckland2022 | grouped_df/tbl_df/tbl/data.frame | 1,076 × 12 | – |
| dublin_west | data.frame | 29,988 × 9 | in 2 packages |
| food_election | data.frame | 20 × 5 | in 2 packages |
| gisborne2022 | grouped_df/tbl_df/tbl/data.frame | 126 × 22 | – |
| gisborne2022analysis | grouped_df/tbl_df/tbl/data.frame | 9 × 11 | – |
| hamilton2022 | tbl_df/tbl/data.frame | 102 × 19 | – |
| hamilton2022analysis | grouped_df/tbl_df/tbl/data.frame | 8 × 11 | – |
| ims_approval | data.frame | 620 × 10 | in 2 packages |
| ims_election | data.frame | 620 × 10 | in 2 packages |
| ims_plurality | data.frame | 620 × 10 | in 2 packages |
| ims_score | data.frame | 620 × 10 | in 2 packages |
| ims_stv | data.frame | 620 × 10 | in 2 packages |
| uk_labour_2010 | data.frame | 266 × 5 | – |
| wellington2022analysis | grouped_df/tbl_df/tbl/data.frame | 8 × 11 | – |
| yale_ballots | data.frame | 479 × 44 | – |
People & History
People (1)
Maintainer (1)
Maintainer, Author · added in 1.0.1
Authors (1)
Maintainer, Author · added in 1.0.1
Package Timeline
3 releases. Pick two to compare their code metrics. R releases are shown for context.
- RR 4.6.0 released · 2026-04-24
- 1.0.2Latest
- RR 4.5.0 released · 2025-04-11
- 1.0.12024-10-06 · diff ↗
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- 1.0.02023-01-18
- RR 4.2.0 released · 2022-04-22
0 of 2 selectedCompare selected
Package metadata
- First published
- 2023-01-18
- Total releases
- 3 / 3 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.5.0
- Bundled data
- 428 KB / 20 files
- Download size
- 234 KB
- Installed size
- not tracked yet
- With dependencies
- not tracked yet