Skip to content

SafeVote

1.0.2

Election Vote Counting with Safety Features

0packages depend
3.3Kdownloads / year
18.8%test coverage
13/13checks pass

Overview

About
Maintained by Clark ThomborsonFirst published 2023-01-183 releasesCRAN page ↗

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-29
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-10
    5 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
Compare downloads with other packages →
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
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.5.0
LinkingTo (0)
none
Suggests (3)
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

Loading call graph…

Lowest coverage

67 functions
FunctionCycloCoverage
approval exp20%
check.ranking exp20%
combineRankings exp20%
condorcet exp290%
invalid.votes exp20%
is.SafeRankExpt exp70%

Datasets

Bundled datasets · 15
NameClassRows × ColsAlso ships in
auckland2022grouped_df/tbl_df/tbl/data.frame1,076 × 12
dublin_westdata.frame29,988 × 9in 2 packages
food_electiondata.frame20 × 5in 2 packages
gisborne2022grouped_df/tbl_df/tbl/data.frame126 × 22
gisborne2022analysisgrouped_df/tbl_df/tbl/data.frame9 × 11
hamilton2022tbl_df/tbl/data.frame102 × 19
hamilton2022analysisgrouped_df/tbl_df/tbl/data.frame8 × 11
ims_approvaldata.frame620 × 10in 2 packages
ims_electiondata.frame620 × 10in 2 packages
ims_pluralitydata.frame620 × 10in 2 packages
ims_scoredata.frame620 × 10in 2 packages
ims_stvdata.frame620 × 10in 2 packages
uk_labour_2010data.frame266 × 5
wellington2022analysisgrouped_df/tbl_df/tbl/data.frame8 × 11
yale_ballotsdata.frame479 × 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.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.0.2Latest
    2026-03-23 · current release · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.0.1
    2024-10-06 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    2023-01-18
  • R
    R 4.2.0 released · 2022-04-22

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
Report a problem with this page →