CRAN
votesys 0.1.1
Voting Systems, Instant-Runoff Voting, Borda Method, Various Condorcet Methods
Released Apr 20, 2018 by Jiang Wu
This package can be loaded by Renjin but 15 out 18 tests failed.
Dependencies
data.table 1.10.4-3 Matrix 1.2-14 gtools 3.5.0
Various methods to count ballots in voting systems are provided. Functions to check validity of ballots are also provided to ensure flexibility.
Installation
Maven
This package can be included as a dependency from a Java or Scala project by including
the following your project's pom.xml
file.
Read more
about embedding Renjin in JVM-based projects.
<dependencies> <dependency> <groupId>org.renjin.cran</groupId> <artifactId>votesys</artifactId> <version>0.1.1-b2</version> </dependency> </dependencies> <repositories> <repository> <id>bedatadriven</id> <name>bedatadriven public repo</name> <url>https://nexus.bedatadriven.com/content/groups/public/</url> </repository> </repositories>
Renjin CLI
If you're using Renjin from the command line, you load this library by invoking:
library('org.renjin.cran:votesys')
Test Results
This package was last tested against Renjin 0.9.2635 on Apr 26, 2018.
- approval_method-examples
- as_complete-examples
- borda_method-examples
- cdc_copeland-examples
- cdc_dodgson-examples
- cdc_kemenyyoung-examples
- cdc_minmax-examples
- cdc_rankedpairs-examples
- cdc_schulze-examples
- cdc_simple-examples
- check_dup_wrong-examples
- create_vote-examples
- dowdall_method-examples
- irv_method-examples
- list2ballot-examples
- plurality_method-examples
- star_rating-examples
- votesys-package-examples