{
  "_id": "6a1f0b16b401979e7341c655",
  "Package": "PRA",
  "Type": "Package",
  "Title": "Project Risk Analysis",
  "Version": "0.4.0",
  "Authors@R": "person(\"Paul\", \"Govan\", email = \"paul.govan2@gmail.com\", role = c(\"aut\", \"cre\", \"cph\"), comment = c(ORCID = \"0000-0002-1821-8492\"))",
  "Description": "Data analysis for Project Risk Management via the Second\nMoment Method, Monte Carlo Simulation, Contingency Analysis,\nSensitivity Analysis, Earned Value Management, Learning Curves,\nBayesian Methods, and more.",
  "License": "CC BY 4.0",
  "Encoding": "UTF-8",
  "URL": "https://paulgovan.github.io/PRA/, https://github.com/paulgovan/PRA",
  "BugReports": "https://github.com/paulgovan/PRA/issues",
  "VignetteBuilder": "knitr",
  "Config/testthat/edition": "3",
  "RoxygenNote": "7.3.3",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-05-17 10:32:53 UTC",
    "User": "root"
  },
  "Author": "Paul Govan [aut, cre, cph] (ORCID:\n<https://orcid.org/0000-0002-1821-8492>)",
  "Maintainer": "Paul Govan <paul.govan2@gmail.com>",
  "Config/pak/sysreqs": "cmake make libicu-dev",
  "Repository": "https://cranhaven.r-universe.dev",
  "Date/Publication": "2026-05-17 03:02:00 UTC",
  "RemoteUrl": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "RemoteRef": "package/PRA",
  "RemoteSha": "de47c4619592c813fa1ca88198e4d35c803dc64b",
  "RemoteSubdir": "PRA",
  "MD5sum": "80a5eef9488c37a41365e27d19887d11",
  "_user": "cranhaven",
  "_type": "src",
  "_file": "PRA_0.4.0.tar.gz",
  "_fileid": "ef0fc57923acffbdb46e935c603749ae1db9d5eb989aa67b1f42d2546afd3b57",
  "_filesize": 1684326,
  "_sha256": "ef0fc57923acffbdb46e935c603749ae1db9d5eb989aa67b1f42d2546afd3b57",
  "_created": "2026-05-17T10:32:53.000Z",
  "_published": "2026-06-02T16:55:50.277Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79125706553,
      "time": 183,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041662760"
    },
    {
      "job": 79125707172,
      "time": 186,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041663088"
    },
    {
      "job": 79125707006,
      "time": 140,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7041657604"
    },
    {
      "job": 79125707202,
      "time": 98,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041652699"
    },
    {
      "job": 79125706088,
      "time": 259,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041640744"
    },
    {
      "job": 79125706254,
      "time": 147,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7364373466"
    },
    {
      "job": 79125706588,
      "time": 180,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7041662480"
    },
    {
      "job": 79125707526,
      "time": 159,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7041659925"
    },
    {
      "job": 79125706884,
      "time": 173,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7041661560"
    }
  ],
  "_buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cranhaven/cranhaven.r-universe.dev",
  "_commit": {
    "id": "de47c4619592c813fa1ca88198e4d35c803dc64b",
    "author": "GitHub Action <action@github.com>",
    "committer": "GitHub Action <action@github.com>",
    "message": "Add PRA to CRANhaven, because archived on 2026-05-17 03:02:00 +0000\n",
    "time": 1778986920
  },
  "_maintainer": {
    "name": "Paul Govan",
    "email": "paul.govan2@gmail.com",
    "login": "paulgovan",
    "linkedin": "in/paulgovan",
    "orcid": "0000-0002-1821-8492",
    "description": "Senior Reliability Engineer at GE Aerospace",
    "uuid": 11376796
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "mc2d",
      "role": "Imports"
    },
    {
      "package": "minpack.lm",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "base64enc",
      "role": "Suggests"
    },
    {
      "package": "bslib",
      "role": "Suggests"
    },
    {
      "package": "ellmer",
      "role": "Suggests"
    },
    {
      "package": "ggplot2",
      "role": "Suggests"
    },
    {
      "package": "htmltools",
      "role": "Suggests"
    },
    {
      "package": "jsonlite",
      "role": "Suggests"
    },
    {
      "package": "knitr",
      "role": "Suggests"
    },
    {
      "package": "ragnar",
      "role": "Suggests"
    },
    {
      "package": "rmarkdown",
      "role": "Suggests"
    },
    {
      "package": "scales",
      "role": "Suggests"
    },
    {
      "package": "shiny",
      "role": "Suggests"
    },
    {
      "package": "shinychat",
      "role": "Suggests"
    },
    {
      "package": "mockr",
      "role": "Suggests"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    },
    {
      "package": "vitals",
      "role": "Suggests"
    },
    {
      "package": "withr",
      "role": "Suggests"
    }
  ],
  "_owner": "cranhaven",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-20",
      "n": 1
    }
  ],
  "_tags": [],
  "_topics": [
    "archived",
    "packages",
    "r-universe"
  ],
  "_stars": 5,
  "_contributors": [
    {
      "user": "henrikbengtsson",
      "count": 183,
      "uuid": 1616850
    }
  ],
  "_userbio": {
    "uuid": 161993010,
    "type": "organization",
    "name": "cranhaven",
    "description": "CRANhaven - Repository for Recently Archived CRAN Packages"
  },
  "_downloads": {
    "count": 513,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/PRA"
  },
  "_devurl": "https://github.com/paulgovan/pra",
  "_pkgdown": "https://paulgovan.github.io/PRA/",
  "_searchresults": 13,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/PRA.html",
    "extra/readme.html",
    "extra/readme.md",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/paulgovan/pra",
  "_realowner": "paulgovan",
  "_cranurl": false,
  "_releases": [
    {
      "version": "0.2.0",
      "date": "2024-07-02"
    },
    {
      "version": "0.3.0",
      "date": "2024-08-20"
    },
    {
      "version": "0.4.0",
      "date": "2026-04-08"
    }
  ],
  "_exports": [
    "ac",
    "add_documents",
    "build_knowledge_base",
    "contingency",
    "cor_matrix",
    "cost_pdf",
    "cost_post_pdf",
    "cpi",
    "cv",
    "eac",
    "etc",
    "ev",
    "fit_sigmoidal",
    "grandparent_dsm",
    "mcs",
    "parent_dsm",
    "plot_sigmoidal",
    "pra_app",
    "pra_chat",
    "pra_tools",
    "predict_sigmoidal",
    "pv",
    "retrieve_context",
    "risk_post_prob",
    "risk_prob",
    "sensitivity",
    "smm",
    "spi",
    "sv",
    "tcpi",
    "vac"
  ],
  "_help": [
    {
      "page": "ac",
      "title": "Actual Cost (AC).",
      "topics": [
        "ac"
      ]
    },
    {
      "page": "add_documents",
      "title": "Add Custom Documents to the PRA Knowledge Base",
      "topics": [
        "add_documents"
      ]
    },
    {
      "page": "build_knowledge_base",
      "title": "Build the PRA Knowledge Base for RAG Retrieval",
      "topics": [
        "build_knowledge_base"
      ]
    },
    {
      "page": "contingency",
      "title": "Contingency Calculation.",
      "topics": [
        "contingency"
      ]
    },
    {
      "page": "cor_matrix",
      "title": "Generate Correlation Matrix from Random Samples.",
      "topics": [
        "cor_matrix"
      ]
    },
    {
      "page": "cost_pdf",
      "title": "Cost Probability Density.",
      "topics": [
        "cost_pdf"
      ]
    },
    {
      "page": "cost_post_pdf",
      "title": "Posterior Cost Probability Density.",
      "topics": [
        "cost_post_pdf"
      ]
    },
    {
      "page": "cpi",
      "title": "Cost Performance Index (CPI).",
      "topics": [
        "cpi"
      ]
    },
    {
      "page": "cv",
      "title": "Cost Variance (CV).",
      "topics": [
        "cv"
      ]
    },
    {
      "page": "eac",
      "title": "Estimate at Completion (EAC).",
      "topics": [
        "eac"
      ]
    },
    {
      "page": "etc",
      "title": "Estimate to Complete (ETC).",
      "topics": [
        "etc"
      ]
    },
    {
      "page": "ev",
      "title": "Earned Value (EV).",
      "topics": [
        "ev"
      ]
    },
    {
      "page": "fit_sigmoidal",
      "title": "Fit a Sigmoidal Model to Data.",
      "topics": [
        "fit_sigmoidal"
      ]
    },
    {
      "page": "grandparent_dsm",
      "title": "Risk-based 'Grandparent' Design Structure Matrix (DSM).",
      "topics": [
        "grandparent_dsm"
      ]
    },
    {
      "page": "mcs",
      "title": "Monte Carlo Simulation.",
      "topics": [
        "mcs"
      ]
    },
    {
      "page": "parent_dsm",
      "title": "Resource-based 'Parent' Design Structure Matrix (DSM).",
      "topics": [
        "parent_dsm"
      ]
    },
    {
      "page": "plot_sigmoidal",
      "title": "Plot a Fitted Sigmoidal Model.",
      "topics": [
        "plot_sigmoidal"
      ]
    },
    {
      "page": "plot.dsm",
      "title": "Plot a DSM heatmap.",
      "topics": [
        "plot.dsm"
      ]
    },
    {
      "page": "pra_app",
      "title": "Launch the PRA Risk Analysis Agent App",
      "topics": [
        "pra_app"
      ]
    },
    {
      "page": "pra_chat",
      "title": "Create a PRA Risk Analysis Chat Agent",
      "topics": [
        "pra_chat"
      ]
    },
    {
      "page": "pra_tools",
      "title": "Create PRA Tool Definitions for LLM Agent",
      "topics": [
        "pra_tools"
      ]
    },
    {
      "page": "predict_sigmoidal",
      "title": "Predict a Sigmoidal Function Using Fitted Model.",
      "topics": [
        "predict_sigmoidal"
      ]
    },
    {
      "page": "print.dsm",
      "title": "Print a DSM object.",
      "topics": [
        "print.dsm"
      ]
    },
    {
      "page": "print.mcs",
      "title": "Print method for Monte Carlo Simulation results.",
      "topics": [
        "print.mcs"
      ]
    },
    {
      "page": "print.pra_sigmoidal_fit",
      "title": "Print method for Sigmoidal Model",
      "topics": [
        "print.pra_sigmoidal_fit"
      ]
    },
    {
      "page": "print.smm",
      "title": "Print method for SMM results.",
      "topics": [
        "print.smm"
      ]
    },
    {
      "page": "pv",
      "title": "Planned Value (PV).",
      "topics": [
        "pv"
      ]
    },
    {
      "page": "retrieve_context",
      "title": "Retrieve Relevant Context for a Query",
      "topics": [
        "retrieve_context"
      ]
    },
    {
      "page": "risk_post_prob",
      "title": "Posterior Risk Probability.",
      "topics": [
        "risk_post_prob"
      ]
    },
    {
      "page": "risk_prob",
      "title": "Bayesian Inference for Risk Probability.",
      "topics": [
        "risk_prob"
      ]
    },
    {
      "page": "sensitivity",
      "title": "Sensitivity Analysis.",
      "topics": [
        "sensitivity"
      ]
    },
    {
      "page": "smm",
      "title": "Second Moment Method Analysis.",
      "topics": [
        "smm"
      ]
    },
    {
      "page": "spi",
      "title": "Schedule Performance Index (SPI).",
      "topics": [
        "spi"
      ]
    },
    {
      "page": "sv",
      "title": "Schedule Variance (SV).",
      "topics": [
        "sv"
      ]
    },
    {
      "page": "tcpi",
      "title": "To-Complete Performance Index (TCPI).",
      "topics": [
        "tcpi"
      ]
    },
    {
      "page": "vac",
      "title": "Variance at Completion (VAC).",
      "topics": [
        "vac"
      ]
    }
  ],
  "_pkglogo": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/PRA/PRA/man/figures/logo.png",
  "_readme": "https://github.com/cranhaven/cranhaven.r-universe.dev/raw/package/PRA/PRA/README.md",
  "_rundeps": [
    "abind",
    "backports",
    "boot",
    "broom",
    "car",
    "carData",
    "cli",
    "colorspace",
    "corrplot",
    "cowplot",
    "cpp11",
    "Deriv",
    "doBy",
    "dplyr",
    "farver",
    "forecast",
    "Formula",
    "fracdiff",
    "generics",
    "ggplot2",
    "ggpubr",
    "ggrepel",
    "ggsci",
    "ggsignif",
    "glue",
    "gridExtra",
    "gtable",
    "isoband",
    "labeling",
    "lattice",
    "lifecycle",
    "lme4",
    "lmtest",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mc2d",
    "mgcv",
    "microbenchmark",
    "minpack.lm",
    "minqa",
    "modelr",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "numDeriv",
    "pbkrtest",
    "pillar",
    "pkgconfig",
    "polynom",
    "purrr",
    "quantreg",
    "R6",
    "rbibutils",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "Rdpack",
    "reformulas",
    "rlang",
    "rstatix",
    "S7",
    "scales",
    "SparseM",
    "stringi",
    "stringr",
    "survival",
    "tibble",
    "tidyr",
    "tidyselect",
    "timeDate",
    "urca",
    "utf8",
    "vctrs",
    "viridisLite",
    "withr",
    "zoo"
  ],
  "_vignettes": [
    {
      "source": "agent.Rmd",
      "filename": "agent.html",
      "title": "Agentic Risk Analysis",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Overview",
        "Prerequisites",
        "Install Ollama",
        "Install R dependencies",
        "Slash Commands",
        "Available commands",
        "Getting help for a command",
        "Example: Monte Carlo simulation",
        "Example: Chaining MCS to contingency",
        "Example: Sensitivity analysis",
        "Example: Earned Value Management",
        "Example: Bayesian risk probability",
        "Example: Second Moment Method",
        "Input validation and guidance",
        "Chat Interface",
        "Using cloud models",
        "Notes on chat reliability",
        "Interactive Shiny App",
        "Features",
        "Configuration options",
        "RAG Knowledge Base",
        "Built-in knowledge files",
        "How RAG context flows",
        "Adding your own documents",
        "Disabling RAG",
        "Available Commands and Tools",
        "Slash commands (deterministic)",
        "LLM tools (via chat)",
        "Evaluation with vitals",
        "Troubleshooting",
        "Tool calling not working",
        "Slow responses",
        "RAG build fails",
        "Source citations missing"
      ],
      "created": "2026-05-17 03:02:00",
      "modified": "2026-05-17 03:02:00",
      "commits": 1
    },
    {
      "source": "Bayes.Rmd",
      "filename": "Bayes.html",
      "title": "Bayesian Methods",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Introduction",
        "Step 1: Prior Risk Probability",
        "Step 2: Prior Cost Distribution",
        "Step 3: Posterior Risk Probability (Bayesian Update)",
        "Prior vs. Posterior Probability",
        "Step 4: Posterior Cost Distribution",
        "Prior vs. Posterior Cost Distribution",
        "Summary"
      ],
      "created": "2026-05-17 03:02:00",
      "modified": "2026-05-17 03:02:00",
      "commits": 1
    },
    {
      "source": "DSM.Rmd",
      "filename": "DSM.html",
      "title": "Design Structure Matrices",
      "engine": "knitr::rmarkdown",
      "headings": [
        "The Resource-Task Matrix",
        "Parent DSM",
        "The Risk-Resource Matrix",
        "Grandparent DSM",
        "Interpreting the DSM",
        "References"
      ],
      "created": "2026-05-17 03:02:00",
      "modified": "2026-05-17 03:02:00",
      "commits": 1
    },
    {
      "source": "evm.Rmd",
      "filename": "evm.html",
      "title": "Earned Value Management",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Key Metrics",
        "Example Setup",
        "Planned Value (PV)",
        "Earned Value (EV)",
        "Actual Cost (AC)",
        "Performance Indicators",
        "Forecasting: Estimate at Completion (EAC)",
        "EAC Comparison Table",
        "Additional Metrics",
        "Performance Trend Chart"
      ],
      "created": "2026-05-17 03:02:00",
      "modified": "2026-05-17 03:02:00",
      "commits": 1
    },
    {
      "source": "sigmoidal.Rmd",
      "filename": "sigmoidal.html",
      "title": "Learning Curves",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Sigmoidal Models",
        "Example: Fitting a Logistic Model",
        "Fit the Model",
        "Assess Fit Quality",
        "Plot with Confidence Bands",
        "Predict Future Completion",
        "Comparing All Three Model Types",
        "Summary"
      ],
      "created": "2026-05-17 03:02:00",
      "modified": "2026-05-17 03:02:00",
      "commits": 1
    },
    {
      "source": "MCS.Rmd",
      "filename": "MCS.html",
      "title": "Monte Carlo Simulation",
      "engine": "knitr::rmarkdown",
      "headings": [
        "Steps in MC Simulation",
        "Example",
        "Correlation Matrix",
        "Run the Simulation",
        "Distribution of Outcomes",
        "Interpreting Percentiles",
        "Contingency Analysis",
        "Sensitivity Analysis"
      ],
      "created": "2026-05-17 03:02:00",
      "modified": "2026-05-17 03:02:00",
      "commits": 1
    },
    {
      "source": "SMM.Rmd",
      "filename": "SMM.html",
      "title": "Second Moment Method",
      "engine": "knitr::rmarkdown",
      "headings": [
        "When to Use SMM",
        "Method Overview",
        "Example",
        "Implied Distribution and Confidence Interval",
        "Comparison with Monte Carlo Simulation",
        "Benefits and Limitations"
      ],
      "created": "2026-05-17 03:02:00",
      "modified": "2026-05-17 03:02:00",
      "commits": 1
    }
  ],
  "_score": 4.356981400993131,
  "_indexed": false,
  "_nocasepkg": "pra",
  "_universes": [
    "cranhaven"
  ],
  "_indexurl": "https://paulgovan.r-universe.dev/PRA",
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-17T10:35:38.000Z",
      "distro": "noble",
      "commit": "de47c4619592c813fa1ca88198e4d35c803dc64b",
      "fileid": "4b9f6dc38b6b719e3251c4490b641eeb2b63016b728ab4228efda8038a18d9a1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "0.4.0",
      "date": "2026-05-17T10:35:40.000Z",
      "distro": "noble",
      "commit": "de47c4619592c813fa1ca88198e4d35c803dc64b",
      "fileid": "192511bd7ae8493ec9286fd6711c87709541024e378b98a3bb38b0c90e159f5f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-17T10:34:59.000Z",
      "commit": "de47c4619592c813fa1ca88198e4d35c803dc64b",
      "fileid": "871e052f819b4a22f4473e2dc926247d02b1c2451502b249ccf549387098e17f",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "0.4.0",
      "date": "2026-05-17T10:34:29.000Z",
      "commit": "de47c4619592c813fa1ca88198e4d35c803dc64b",
      "fileid": "c4b35d6b1e8b775b12602349e12c9ea2e6ec30a30522b62e9bab3648580e3f39",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-17T10:34:43.000Z",
      "commit": "de47c4619592c813fa1ca88198e4d35c803dc64b",
      "fileid": "deaca141ac30505a8348179b89a9ba387fa421fb3bc133a598b58a41a830cb07",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-17T10:34:32.000Z",
      "commit": "de47c4619592c813fa1ca88198e4d35c803dc64b",
      "fileid": "b0135dd0c73d60c50a2aa45e3da04df270b0f8b92167d412e72c3d6313595ca2",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "0.4.0",
      "date": "2026-05-17T10:34:47.000Z",
      "commit": "de47c4619592c813fa1ca88198e4d35c803dc64b",
      "fileid": "20a67e026b5b47a0a11f9bde9069ec21aae63f976b3bc8b94541060805995472",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.4.0",
      "date": "2026-06-02T16:55:30.000Z",
      "commit": "de47c4619592c813fa1ca88198e4d35c803dc64b",
      "fileid": "1458b2cc173cd195108ba90a442b36065928be1c4bea58590def19606ffd38c0",
      "status": "success",
      "buildurl": "https://github.com/r-universe/cranhaven/actions/runs/25988331432"
    }
  ]
}