Skip to content

Project Risk Analysis

0packages depend
1.5Kdownloads / year
96.8%test coverage
13/13flavors OK

Overview

About

Data analysis for Project Risk Management via the Second Moment Method, Monte Carlo Simulation, Contingency Analysis, Sensitivity Analysis, Earned Value Management, Learning Curves, Bayesian Methods, and more.

Changes in 0.6.0
  • **cor_matrix() now draws column i from distribution i** (previously random with replacement, so columns could repeat or omit inputs); columns are now labelled with distribution names. Results will differ.
  • Correlation-matrix checks (symmetry, [-1, 1] range, unit diagonal) are now shared across mcs(), smm(), and sensitivity().
  • sensitivity() warns when an index is negative, which can happen under negative correlation.
  • cost_pdf() no longer requires sum(risk_probs) <= 1.
  • cost_post_pdf() gained risk_probs, so unobserved (NA) risks are drawn from their prior instead of treated as absent; warns if omitted with NAs present.
  • predict_sigmoidal() now errors on a model_type/fit mismatch instead of returning NA confidence bounds.

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 2.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OKNow
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.6.0
READMEYes · 608 wordsVignettesNoNEWSYes · 100% structured · mentions 0.6.0Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
45 (8 internal)includes a package overview page
Examples that run
94%33 run in a plain check · 2 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
58%

Downloads

1.5K
CRAN downloads in the past year
Rank #19,264 · ~4/day · ~127/mo
Daily download trend is not available in this view yet.
35230 days
67990 days
1.5K1 year
Compare downloads with other packages →
Also on89 r2u1 autocran

Repository

4Stars
0Forks
1Open issues
0Open PRs
4Releases
190Commits
2Commit identities
causal-networkscontingency-analysismonte-carlo-simulationrisk-analysissensitivity-analysisr
190 commits · Last activity 2026-09-21 · Default branch at 0.7.0, ahead of CRAN 0.6.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
12
Median days to close, 50 most recently updated closed PRs
0

Releases over time

2026-08-28 · 32026-09-03 · 4
PracticesBeta

16 development-tooling and community-health practices detected across 9 families in the upstream repository

Checks run against github.com/paulgovan/pra on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (3)
Code of conductContributing guide

The repository owner accepts GitHub Sponsors

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-21 · The repository has a site deploy workflow

pkgdown site last built 2026-09-21

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 5 practices
Reproducibility and dev environment (1)
data-raw/
CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Research and citation (1)
codemeta.json
For agents and models (1)
Agent skills
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-02-11
    Seen in the repository: CLAUDE.md
    Named in .Rbuildignore: .claude, CLAUDE.md
    Pull request it wrote: opened by a project member
    Commits: 3 by its own account · at least 26 crediting it in the message
Models named in its commits
  • Claude Opus 511 commits · Aug to Sep 2026
  • Claude Sonnet 59 commits · Aug 2026
  • Claude Sonnet 4.65 commits · May 2026
  • Claude Sonnet 4.51 commit · Feb 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
17 external dependencies (excludes base and recommended)

Installing PRA adds 71 packages (35 with compiled code, 68 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, doBy 4.3 MB.

Depends (1)
R >= 4.1.0
Imports (3)
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

Datasets

People & History

People (1)
Author, Maintainer since 0.2.0 (2024), Copyright holder
Releases (4)

Pick two releases to compare their code metrics.

  • unarchivedReturned to CRAN
    2026-08-28
  • 0.6.0Latest
    record
    2026-08-28 · current release · diff ↗ ·
    removed 5 exports
    add_documents, build_knowledge_base, pra_app, pra_chat, retrieve_context
    added 5 exports
    pra_mcp_server, prob_net, prob_net_learn, prob_net_sim, prob_net_update
  • archivedRemoved from CRAN
    2026-05-17
    issues were not corrected in time
  • R
    R 4.6.0 released · 2026-04-24
  • 0.4.0
    record
    2026-04-08 · diff ↗ ·
    added 15 exports
    add_documents, build_knowledge_base, cost_pdf, cost_post_pdf, eac, etc, plot_sigmoidal, pra_app, pra_chat, pra_tools, retrieve_context, risk_post_prob, risk_prob, tcpi, vac
  • R
    R 4.5.0 released · 2025-04-11
  • 0.3.0
    record
    2024-08-20 · diff ↗ ·
    added 1 export
    cor_matrix
  • 0.2.0
    record
    2024-07-02
  • R
    R 4.4.0 released · 2024-04-24

Package metadata

First published
2024-07-02
Total releases
4 / 2 yrs
License
MIT + file LICENSE OSI · relicensed from CC BY 4.0 in 0.6.0
Minimum R
≥ 4.1.0
Bundled data
1.0 KB / 1 file
Download size
612 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("PRA")

The package provides a citation file, so citation() returns the authors' own entry.

It points to 10.32614/cran.package.pra.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for PRA version 0.6.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy