Skip to content

socialranking

1.2.0

Social Ranking Solutions for Power Relations on Coalitions

0packages depend
2.5Kdownloads / year
90.7%test coverage
0/13checks pass

Overview

About
Maintained by Felix FritzFirst published 2022-03-307 releasesCRAN page ↗GitHub ↗

The notion of power index has been widely used in literature to evaluate the influence of individual players (e.g., voters, political parties, nations, stockholders, etc.) involved in a collective decision situation like an electoral system, a parliament, a council, a management board, etc., where players may form coalitions. Traditionally this ranking is determined through numerical evaluation. More often than not however only ordinal data between coalitions is known. The package 'socialranking' offers a set of solutions to rank players based on a transitive ranking between coalitions, including through CP-Majority, ordinal Banzhaf or lexicographic excellence solution summarized by Tahar Allouche, Bruno Escoffier, Stefano Moretti and Meltem Öztürk (2020, doi:10.24963/ijcai.2020/3).

Install

Health

CRAN checks
13NOTE
Failing flavors
  • NOTE r-devel-linux-x86_64-debian-clang
  • NOTE r-devel-linux-x86_64-debian-gcc
  • NOTE r-devel-linux-x86_64-fedora-clang
  • NOTE r-devel-linux-x86_64-fedora-gcc
  • NOTE r-devel-windows-x86_64
  • NOTE r-oldrel-macos-arm64
  • NOTE r-oldrel-macos-x86_64
  • NOTE r-oldrel-windows-x86_64
  • NOTE r-patched-linux-x86_64
  • NOTE r-release-linux-x86_64
  • NOTE r-release-macos-arm64
  • NOTE r-release-macos-x86_64
  • NOTE r-release-windows-x86_64
Slowest check: 2.1 min · r-oldrel-windows-x86_64
Code health
Yes
Tests · ratio 0.41
90.7%
Coverage · measured lines
67%
Documentation · exports
3
Dependencies · direct
Check history
  • NOTE2026-04-25
    0 OK · 12 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • ERROR2026-03-30
    2 OK · 11 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • NOTE2026-03-10
    3 OK · 11 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 258 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
100%
Documented parameters
93%
Return-value docs
96%
References docs
39%

Downloads

2.5K
CRAN downloads in the past year
Rank #17,558 · ~7/day · ~205/mo
Daily download trend is not available in this view yet.
18130 days
66690 days
2.5K1 year
Compare downloads with other packages →
Also on93 r2u24 autocran

Repository

Repository
6Stars
1Forks
0Open issues
0Open PRs
5Releases
155Commits
5Contributors
155 commits · Last activity 2025-07-29

Stars over time

2022-03-31 · 52026-07-07 · 6

Repository practices

Upstream repositoryBeta

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

Checks run against github.com/jassler/socialranking on 2026-07-19.

Continuous integration (1)
GitHub Actions
Docs source (1)
README.Rmd
Lint, format, editor (2)
VS CodeRStudio project
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
10 external dependencies (excludes base and recommended)
Depends (0)
none
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 5,204 (49%)Rd 2,639 (25%)Vignettes 2,295 (22%)Other 410 (4%)HTML 72 (1%)CSS 50 (0%)
Code characteristics
Object systems
S344
Cyclomatic complexity
2.0 median / 14 max
Test cases
70 / 0.41 per code line

Test coverage

Line coverage

91%

Expression

89.5%

Tests / Examples

90.7% / 91% ex

Functions

115 66 exported

Complexity

2.6 avg / 14 max

Call network

115 nodes / 113 edges

Loading call graph…

Lowest coverage

115 functions
FunctionCycloCoverage
%>=L1% exp30%
%>=L2% exp30%
%>=LP% exp30%
%>=LPS% exp30%
%>L1% exp20%
%>L2% exp20%

People & History

People (3)
Maintainer (1)
Author, Maintainer
Authors (3)
Author, Maintainer
Author, Copyright holder, Thesis advisor
Author, Copyright holder, Thesis advisor
Copyright holders (2)
Author, Copyright holder, Thesis advisor
Author, Copyright holder, Thesis advisor
Package Timeline

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

  • R
    R 4.6.0 released · 2026-04-24
  • R
    R 4.5.0 released · 2025-04-11
  • 1.2.0Latest
    2024-05-16 · current release · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • 1.1.0
    2023-11-29 · diff ↗
  • 1.0.1
    2023-08-23 · diff ↗
  • R
    R 4.3.0 released · 2023-04-21
  • 1.0.0
    2023-03-13 · diff ↗
  • 0.1.2
    2022-10-28 · diff ↗
  • 0.1.1
    2022-04-25 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • 0.1.0
    2022-03-30
  • R
    R 4.1.0 released · 2021-05-18

Package metadata

First published
2022-03-30
Total releases
7 / 4 yrs
License
GPL-3 OSI
Download size
896 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Report a problem with this page →