{
  "_id": "6a23c421530b9bc726bdda3f",
  "Package": "RcmdrPlugin.RiskDemo",
  "Type": "Package",
  "Title": "R Commander Plug-in for Risk Demonstration",
  "Version": "3.3",
  "Date": "2026-02-06",
  "Authors@R": "person(given = \"Arto\",\nfamily = \"Luoma\",\nrole = c(\"aut\", \"cre\"),\nemail = \"arto.luoma@wippies.com\")",
  "Description": "R Commander plug-in to demonstrate various actuarial and\nfinancial risks. It includes valuation of bonds and stocks,\nportfolio optimization, classical ruin theory, demography and\nepidemic.",
  "License": "GPL-2",
  "LazyData": "no",
  "LazyLoad": "yes",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-06-06 06:48:41 UTC",
    "User": "root"
  },
  "Author": "Arto Luoma [aut, cre]",
  "Maintainer": "Arto Luoma <arto.luoma@wippies.com>",
  "Config/pak/sysreqs": "cmake make libicu-dev libuv1-dev libxml2-dev\nlibssl-dev tcl tk tk-dev tk-table libx11-dev zlib1g-dev",
  "Repository": "https://arolluom.r-universe.dev",
  "Date/Publication": "2026-02-06 20:00:18 UTC",
  "RemoteUrl": "https://github.com/cran/RcmdrPlugin.RiskDemo",
  "RemoteRef": "HEAD",
  "RemoteSha": "87d4b8b7afff812982b510806ac2066a225a9d27",
  "MD5sum": "fc36b922280d6578c92a3597f393d882",
  "_user": "arolluom",
  "_type": "src",
  "_file": "RcmdrPlugin.RiskDemo_3.3.tar.gz",
  "_fileid": "c152d31bd8a86e0272fce13b572814aa655db84381480d146305e1c2cf762f52",
  "_filesize": 4355794,
  "_sha256": "c152d31bd8a86e0272fce13b572814aa655db84381480d146305e1c2cf762f52",
  "_created": "2026-06-06T06:48:41.000Z",
  "_published": "2026-06-06T06:54:25.498Z",
  "_distro": "noble",
  "_jobs": [
    {
      "job": 79858780536,
      "time": 288,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452160520"
    },
    {
      "job": 79858780529,
      "time": 280,
      "config": "linux-release-x86_64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452159615"
    },
    {
      "job": 79858780526,
      "time": 243,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452151032"
    },
    {
      "job": 79858780533,
      "time": 196,
      "config": "macos-release-arm64",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452146471"
    },
    {
      "job": 79858354851,
      "time": 462,
      "config": "source",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452126342"
    },
    {
      "job": 79858780527,
      "time": 166,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452146126"
    },
    {
      "job": 79858780547,
      "time": 185,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "7452148614"
    },
    {
      "job": 79858780543,
      "time": 176,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "7452147334"
    },
    {
      "job": 79858780555,
      "time": 193,
      "config": "windows-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "7452149698"
    }
  ],
  "_buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724",
  "_status": "success",
  "_host": "GitHub-Actions",
  "_upstream": "https://github.com/cran/RcmdrPlugin.RiskDemo",
  "_commit": {
    "id": "87d4b8b7afff812982b510806ac2066a225a9d27",
    "author": "Arto Luoma <arto.luoma@wippies.com>",
    "committer": "cran-robot <csardi.gabor+cran@gmail.com>",
    "message": "version 3.3\n",
    "time": 1770408018
  },
  "_maintainer": {
    "name": "Arto Luoma",
    "email": "arto.luoma@wippies.com",
    "login": "arolluom",
    "description": "",
    "uuid": 29161690
  },
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 3.5.0",
      "role": "Depends"
    },
    {
      "package": "Rcmdr",
      "role": "Imports"
    },
    {
      "package": "demography",
      "role": "Imports"
    },
    {
      "package": "forecast",
      "role": "Imports"
    },
    {
      "package": "ftsa",
      "role": "Imports"
    },
    {
      "package": "ggplot2",
      "role": "Imports"
    },
    {
      "package": "dplyr",
      "role": "Imports"
    },
    {
      "package": "scales",
      "role": "Imports"
    },
    {
      "package": "zoo",
      "role": "Imports"
    },
    {
      "package": "data.table",
      "role": "Imports"
    },
    {
      "package": "tkrplot",
      "role": "Suggests"
    },
    {
      "package": "rgl",
      "role": "Suggests"
    }
  ],
  "_owner": "cran",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-06",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "3.3",
      "date": "2026-02-06"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "arolluom",
      "count": 6,
      "uuid": 29161690
    }
  ],
  "_userbio": {
    "uuid": 29161690,
    "type": "user",
    "name": "arolluom"
  },
  "_downloads": {
    "count": 456,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/RcmdrPlugin.RiskDemo"
  },
  "_searchresults": 20,
  "_rbuild": "4.6.0",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/RcmdrPlugin.RiskDemo.html",
    "manual.pdf"
  ],
  "_realowner": "arolluom",
  "_cranurl": false,
  "_releases": [
    {
      "version": "1.9",
      "date": "2017-08-09"
    },
    {
      "version": "2.0",
      "date": "2018-10-03"
    },
    {
      "version": "3.0",
      "date": "2021-04-06"
    },
    {
      "version": "3.1",
      "date": "2023-11-13"
    },
    {
      "version": "3.2",
      "date": "2024-02-06"
    },
    {
      "version": "3.3",
      "date": "2026-02-06"
    }
  ],
  "_exports": [
    "bondCalc",
    "bondCurve",
    "bondDialog",
    "bondFigure",
    "bondPrice",
    "casesDialog",
    "casesDialogFin",
    "computeLifetable",
    "computeRuin",
    "computeRuinFinite",
    "covidSmooth",
    "drawBars",
    "drawBarsFin",
    "drawFigure",
    "drawIncidence",
    "drawIncidenceFin",
    "drawPositiveRate",
    "drawRuin",
    "drawTests",
    "estimateDemogmodel",
    "forecastDemogdata",
    "forecastDialogFin",
    "forecastPopulation",
    "incidenceDialog",
    "incidenceDialogFin",
    "invertSpecial",
    "loglikCovid",
    "plot.lca",
    "plotDemogdata",
    "plotForecast",
    "plotR",
    "pop.pred",
    "pOpt",
    "pOptGen",
    "portfolioOpt",
    "portfOptim",
    "portOpt",
    "repel",
    "returns",
    "returns.sim",
    "ruinDialog",
    "solveLund",
    "solveYield",
    "stock.price",
    "stockPrice",
    "testsDialog",
    "updateCovidData",
    "viewDemogdata"
  ],
  "_datasets": [
    {
      "name": "countries.mort",
      "title": "Mortality data",
      "object": "countries.mort",
      "file": "countries.mort.rda",
      "class": [
        "list"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "dataCovid",
      "title": "COVID-19 statistics",
      "object": "dataCovid",
      "file": "dataCovid.rda",
      "class": [
        "data.table",
        "data.frame"
      ],
      "fields": [
        "location",
        "date",
        "new_cases",
        "new_cases_per_million",
        "new_cases_smoothed_per_million",
        "new_cases_smoothed",
        "new_deaths_per_million",
        "new_deaths",
        "new_deaths_smoothed_per_million",
        "new_deaths_smoothed",
        "total_deaths_per_million",
        "total_deaths",
        "total_cases",
        "total_cases_per_million",
        "hosp_patients",
        "hosp_patients_per_million",
        "icu_patients_per_million",
        "icu_patients",
        "reproduction_rate",
        "new_tests",
        "new_tests_per_thousand",
        "tests_per_case",
        "positive_rate",
        "new_tests_smoothed",
        "new_tests_smoothed_per_thousand",
        "total_tests",
        "total_tests_per_thousand"
      ],
      "rows": 18400,
      "table": true,
      "tojson": true
    },
    {
      "name": "dataCovidFin",
      "title": "Confirmed COVID-19 cases in Finland",
      "object": "dataCovidFin",
      "file": "dataCovidFin.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Aika",
        "Alue",
        "val"
      ],
      "rows": 16082,
      "table": true,
      "tojson": true
    },
    {
      "name": "fin",
      "title": "Mortality data for Finland",
      "object": "fin",
      "file": "fin.fcast.rda",
      "class": [
        "demogdata"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "fin.fcast",
      "title": "Finnish mortality forecast",
      "object": "fin.fcast",
      "file": "fin.fcast.rda",
      "class": [
        "fmforecast",
        "demogdata"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "fin.lca",
      "title": "Lee-Carter model fit for Finnish data",
      "object": "fin.lca",
      "file": "fin.lca.rda",
      "class": [
        "lca"
      ],
      "fields": [],
      "table": false,
      "tojson": false
    },
    {
      "name": "params",
      "title": "Yield curve parameter data",
      "object": "params",
      "file": "params.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "date",
        "b0",
        "b1",
        "b2",
        "b3",
        "t1",
        "t2",
        "c0",
        "c1",
        "c2",
        "c3",
        "d1",
        "d2"
      ],
      "rows": 4902,
      "table": true,
      "tojson": true
    },
    {
      "name": "popRegionsFin",
      "title": "Population data on Finnish hospital districts",
      "object": "popRegionsFin",
      "file": "popRegionsFin.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "Alue",
        "val"
      ],
      "rows": 22,
      "table": true,
      "tojson": true
    },
    {
      "name": "stockData",
      "title": "Stock data",
      "object": "stockData",
      "file": "stockData.rda",
      "class": [
        "data.frame"
      ],
      "fields": [
        "names",
        "abbrs",
        "quote",
        "vol",
        "beta",
        "div",
        "divYield"
      ],
      "rows": 35,
      "table": true,
      "tojson": true
    }
  ],
  "_help": [
    {
      "page": "RcmdrPlugin.RiskDemo-package",
      "title": "R Commander Plug-in for Risk Demonstration",
      "topics": [
        "RcmdrPlugin.RiskDemo-package",
        "RcmdrPlugin.RiskDemo"
      ]
    },
    {
      "page": "bondCurve",
      "title": "Drawing forward and yield curves",
      "topics": [
        "bondCurve"
      ]
    },
    {
      "page": "bondFigure",
      "title": "Bond price as a function of interest rate.",
      "topics": [
        "bondFigure"
      ]
    },
    {
      "page": "bondPrice",
      "title": "Computing bond prices",
      "topics": [
        "bondPrice"
      ]
    },
    {
      "page": "computeRuin",
      "title": "Ruin probability computation with infinite time horizon",
      "topics": [
        "computeRuin"
      ]
    },
    {
      "page": "computeRuinFinite",
      "title": "Ruin probability computation with finite time horizon",
      "topics": [
        "computeRuinFinite"
      ]
    },
    {
      "page": "countries.mort",
      "title": "Mortality data",
      "topics": [
        "countries.mort"
      ]
    },
    {
      "page": "covidSmooth",
      "title": "Kalman smoothing of the covid model",
      "topics": [
        "covidSmooth"
      ]
    },
    {
      "page": "dataCovid",
      "title": "COVID-19 statistics",
      "topics": [
        "dataCovid"
      ]
    },
    {
      "page": "dataCovidFin",
      "title": "Confirmed COVID-19 cases in Finland",
      "topics": [
        "dataCovidFin"
      ]
    },
    {
      "page": "drawBars",
      "title": "Plotting epidemic statistics",
      "topics": [
        "drawBars"
      ]
    },
    {
      "page": "drawBarsFin",
      "title": "Plotting epidemic statistics with Finnish data",
      "topics": [
        "drawBarsFin"
      ]
    },
    {
      "page": "drawFigure",
      "title": "Efficient frontier and return distribution figures",
      "topics": [
        "drawFigure"
      ]
    },
    {
      "page": "drawIncidence",
      "title": "Plotting incidence curves of an epidemic",
      "topics": [
        "drawIncidence"
      ]
    },
    {
      "page": "drawIncidenceFin",
      "title": "Plotting incidence curves of an epidemic with Finnish data",
      "topics": [
        "drawIncidenceFin"
      ]
    },
    {
      "page": "drawPositiveRate",
      "title": "Plotting the positive rate of COVID-19 tests or the tests per case",
      "topics": [
        "drawPositiveRate"
      ]
    },
    {
      "page": "drawRuin",
      "title": "Plotting simulations of a surplus process",
      "topics": [
        "drawRuin"
      ]
    },
    {
      "page": "drawTests",
      "title": "Plotting time series related to COVID-19 testing",
      "topics": [
        "drawTests"
      ]
    },
    {
      "page": "fin",
      "title": "Mortality data for Finland",
      "topics": [
        "fin"
      ]
    },
    {
      "page": "fin.fcast",
      "title": "Finnish mortality forecast",
      "topics": [
        "fin.fcast"
      ]
    },
    {
      "page": "fin.lca",
      "title": "Lee-Carter model fit for Finnish data",
      "topics": [
        "fin.lca"
      ]
    },
    {
      "page": "loglikCovid",
      "title": "Computing the log-likelihood of the covid model",
      "topics": [
        "loglikCovid"
      ]
    },
    {
      "page": "params",
      "title": "Yield curve parameter data",
      "topics": [
        "params"
      ]
    },
    {
      "page": "plotForecast",
      "title": "Forecasting new covid cases",
      "topics": [
        "plotForecast"
      ]
    },
    {
      "page": "plotR",
      "title": "Plotting the effective reproduction number (R)",
      "topics": [
        "plotR"
      ]
    },
    {
      "page": "pop.pred",
      "title": "Population forecasting",
      "topics": [
        "pop.pred"
      ]
    },
    {
      "page": "popRegionsFin",
      "title": "Population data on Finnish hospital districts",
      "topics": [
        "popRegionsFin"
      ]
    },
    {
      "page": "portfOptim",
      "title": "Portfolio optimization for an index model",
      "topics": [
        "portfOptim"
      ]
    },
    {
      "page": "returns",
      "title": "Computing expected returns and their covariance matrix",
      "topics": [
        "returns"
      ]
    },
    {
      "page": "solveLund",
      "title": "Solving Lund's exponent",
      "topics": [
        "solveLund"
      ]
    },
    {
      "page": "solveYield",
      "title": "Computing bond yields",
      "topics": [
        "solveYield"
      ]
    },
    {
      "page": "stock.price",
      "title": "Computing stock prices",
      "topics": [
        "stock.price"
      ]
    },
    {
      "page": "stockData",
      "title": "Stock data",
      "topics": [
        "stockData"
      ]
    }
  ],
  "_rundeps": [
    "abind",
    "ash",
    "askpass",
    "backports",
    "base64enc",
    "bit",
    "bit64",
    "bitops",
    "boot",
    "broom",
    "bslib",
    "cachem",
    "car",
    "carData",
    "cellranger",
    "checkmate",
    "class",
    "cli",
    "clipr",
    "cluster",
    "cobs",
    "colorspace",
    "cowplot",
    "cpp11",
    "crayon",
    "curl",
    "cvar",
    "data.table",
    "DBI",
    "demography",
    "Deriv",
    "deSolve",
    "digest",
    "doBy",
    "dplyr",
    "e1071",
    "ecp",
    "effects",
    "estimability",
    "evaluate",
    "evgam",
    "farver",
    "fastICA",
    "fastmap",
    "fBasics",
    "fda",
    "fdapace",
    "fds",
    "fGarch",
    "FNN",
    "fontawesome",
    "forcats",
    "forecast",
    "foreign",
    "Formula",
    "fracdiff",
    "fs",
    "ftsa",
    "gbutils",
    "generics",
    "geometry",
    "ggplot2",
    "glue",
    "GPArotation",
    "gridExtra",
    "gss",
    "gtable",
    "haven",
    "hdrcde",
    "highr",
    "HMDHFDplus",
    "Hmisc",
    "hms",
    "htmlTable",
    "htmltools",
    "htmlwidgets",
    "httr",
    "insight",
    "isoband",
    "janitor",
    "jquerylib",
    "jsonlite",
    "kernlab",
    "KernSmooth",
    "knitr",
    "ks",
    "labeling",
    "LaplacesDemon",
    "lattice",
    "lifecycle",
    "linprog",
    "lme4",
    "Lmoments",
    "lmtest",
    "locfit",
    "lpSolve",
    "lubridate",
    "magic",
    "magrittr",
    "MASS",
    "Matrix",
    "MatrixModels",
    "mclust",
    "memoise",
    "mgcv",
    "microbenchmark",
    "mime",
    "minqa",
    "mitools",
    "mnormt",
    "modelr",
    "multicool",
    "mvtnorm",
    "nlme",
    "nloptr",
    "nnet",
    "nortest",
    "numDeriv",
    "openssl",
    "pbkrtest",
    "pcaPP",
    "pdfCluster",
    "pillar",
    "pkgconfig",
    "pracma",
    "prettyunits",
    "progress",
    "proxy",
    "psych",
    "purrr",
    "quantreg",
    "R6",
    "rainbow",
    "rappdirs",
    "rbibutils",
    "Rcmdr",
    "RcmdrMisc",
    "RColorBrewer",
    "Rcpp",
    "RcppArmadillo",
    "RcppEigen",
    "RcppProgress",
    "RCurl",
    "Rdpack",
    "readr",
    "readstata13",
    "readxl",
    "reformulas",
    "relimp",
    "rematch",
    "rlang",
    "rmarkdown",
    "ROOPSD",
    "rpart",
    "rstudioapi",
    "rvest",
    "S7",
    "sandwich",
    "sass",
    "scales",
    "sde",
    "selectr",
    "snakecase",
    "SparseM",
    "spatial",
    "stabledist",
    "stringi",
    "stringr",
    "strucchange",
    "survey",
    "survival",
    "sys",
    "tcltk2",
    "tibble",
    "tidyr",
    "tidyselect",
    "timechange",
    "timeDate",
    "timeSeries",
    "tinytex",
    "tzdb",
    "urca",
    "utf8",
    "vars",
    "vctrs",
    "viridisLite",
    "vroom",
    "withr",
    "xfun",
    "xml2",
    "yaml",
    "zoo"
  ],
  "_score": 1.3010299956639813,
  "_indexed": true,
  "_nocasepkg": "rcmdrplugin.riskdemo",
  "_universes": [
    "arolluom"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "3.3",
      "date": "2026-06-06T06:51:49.000Z",
      "distro": "noble",
      "commit": "87d4b8b7afff812982b510806ac2066a225a9d27",
      "fileid": "a4d739f43d99416006ef47673360008c9f5ddcefb13a1be1e96439b2c42027f9",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724"
    },
    {
      "r": "4.6.0",
      "os": "linux",
      "version": "3.3",
      "date": "2026-06-06T06:51:49.000Z",
      "distro": "noble",
      "commit": "87d4b8b7afff812982b510806ac2066a225a9d27",
      "fileid": "269adc511f012c321b81a8dcbdf919a1c70ff973fbf2ae860ddeaf06b1d916fc",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "3.3",
      "date": "2026-06-06T06:51:06.000Z",
      "commit": "87d4b8b7afff812982b510806ac2066a225a9d27",
      "fileid": "6f61f1dd77ddb15a5a865bdba68ff47538b44c776c75c7bfe7cb9cba3e20e0c4",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724"
    },
    {
      "r": "4.6.0",
      "os": "mac",
      "version": "3.3",
      "date": "2026-06-06T06:50:56.000Z",
      "commit": "87d4b8b7afff812982b510806ac2066a225a9d27",
      "fileid": "aab0f0a0dd639cf338a0a0ce750e3b1b6590fe90cefafa5d8346d50ba42ff3c1",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "3.3",
      "date": "2026-06-06T06:51:57.000Z",
      "commit": "87d4b8b7afff812982b510806ac2066a225a9d27",
      "fileid": "0d04e5692086d3e6685d9cb456709bb48c1d1e959231bc3d1e828f786c289f55",
      "status": "success",
      "buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "3.3",
      "date": "2026-06-06T06:50:21.000Z",
      "commit": "87d4b8b7afff812982b510806ac2066a225a9d27",
      "fileid": "d84c9d1ea7faa2feaedd23cf22644fb43014b181e5c8fce8661c1cf47d069b8d",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "3.3",
      "date": "2026-06-06T06:50:21.000Z",
      "commit": "87d4b8b7afff812982b510806ac2066a225a9d27",
      "fileid": "dc039731bb9e1c755f82161586a0a8ae0802d15f4256710119c6d623885a431c",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724"
    },
    {
      "r": "4.6.0",
      "os": "win",
      "version": "3.3",
      "date": "2026-06-06T06:50:33.000Z",
      "commit": "87d4b8b7afff812982b510806ac2066a225a9d27",
      "fileid": "a9cf26039f81067a7fa899c2e67e475c12f4a32c79266ef280b49888e1eb4a52",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/arolluom/actions/runs/27055259724"
    }
  ]
}