Skip to content

fpsim

0.2.0

Compute Measures of Foreign Policy Similarity/Agreement

0packages depend
1.6Kdownloads / year
test coverage
13/13checks pass

Overview

About
Maintained by Steven MillerFirst published 2025-08-182 releasesCRAN page ↗

Provides functions for calculating various measures of foreign policy similarity or association commonly used in the study of international relations. These include Signorino and Ritter's S statistic (weighted and unweighted), Benati and Capurri's chance-corrected S statistic (A), Cohen's weighted kappa, Scott's pi, and Kendall's tau-b. The package facilitates the generation of dyadic similarity scores for empirical analyses and can also serve as an educational resource for understanding how such measures are calculated.

Install

Health

CRAN checks
13OK
Slowest check: 53 s · r-oldrel-macos-x86_64
Code health
None
Tests · ratio 0.00
not tracked
Coverage
100%
Documentation · exports
None
Vignettes
Yes
README
0
Dependencies · direct
Check history
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Downloads

1.6K
CRAN downloads in the past year
Rank #22,123 · ~4/day · ~133/mo
Daily download trend is not available in this view yet.
25930 days
53690 days
1.6K1 year
Compare downloads with other packages →
Also on69 r2u5 autocran

Dependencies

Declared dependencies
1 external dependency (excludes base and recommended)
Depends (1)
R >= 3.6.0
Imports (0)
none
LinkingTo (0)
none
Suggests (1)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Code & Tests

Code Composition
R 964 (65%)Rd 508 (35%)
Code characteristics
Cyclomatic complexity
8.0 median / 13 max
Documented parameters
100%

Test coverage

Line coverage

Expression

Tests / Examples

Functions

6 6 exported

Complexity

8 avg / 13 max

Call network

6 nodes / 0 edges

Test coverage has not been measured for this package yet; nodes fall back to a neutral fill.

Loading call graph…

Lowest coverage

Per-function coverage is not measured for this package yet.

People & History

People (1)
Maintainer (1)
Author, Maintainer
Authors (1)
Author, Maintainer
Release timeline

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

  • 0.2.0Latest
    2026-07-05 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.1.0
    2026-03-10
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2025-08-18
Total releases
2 / 1 yrs
License
GPL (>= 2) OSI
Minimum R
≥ 3.6.0
Bundled data
0.9 KB / 3 files
Download size
16 KB
Installed size
not tracked yet
With dependencies
not tracked yet