{
  "_id": "6a5db1389baadeef8ab5353c",
  "Package": "debtkit",
  "Title": "Debt Sustainability Analysis and Fiscal Risk Assessment",
  "Version": "0.1.3",
  "Authors@R": "person(\"Charles\", \"Coverdale\", , \"charlesfcoverdale@gmail.com\", role = c(\"aut\", \"cre\"))",
  "Description": "Analyses government debt sustainability using the standard\ndebt dynamics framework from Blanchard (1990)\n<doi:10.1787/budget-v2-art12-en> and the IMF Debt\nSustainability Analysis methodology (IMF, 2013) and the\nSovereign Risk and Debt Sustainability Framework (IMF, 2022).\nProjects debt-to-GDP paths, decomposes historical debt changes\ninto interest, growth, and primary balance contributions, and\nestimates fiscal reaction functions following Bohn (1998)\n<doi:10.1162/003355398555793>. Produces stochastic fan charts\nvia Monte Carlo simulation, standardised stress tests, and IMF-\nstyle heat map risk assessments. Computes S1/S2 sustainability\ngap indicators used by the European Commission. All methods are\npure computation with no external dependencies beyond base R;\nworks with fiscal data from any source.",
  "License": "MIT + file LICENSE",
  "Encoding": "UTF-8",
  "Language": "en-US",
  "Roxygen": "list(markdown = TRUE)",
  "RoxygenNote": "7.3.3",
  "Config/testthat/edition": "3",
  "URL": "https://charlescoverdale.github.io/debtkit/,\nhttps://github.com/charlescoverdale/debtkit",
  "BugReports": "https://github.com/charlescoverdale/debtkit/issues",
  "Repository": "https://charlescoverdale.r-universe.dev",
  "Date/Publication": "2026-05-30 14:58:56 UTC",
  "RemoteUrl": "https://github.com/charlescoverdale/debtkit",
  "RemoteRef": "HEAD",
  "RemoteSha": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
  "NeedsCompilation": "no",
  "Packaged": {
    "Date": "2026-07-20 05:20:35 UTC",
    "User": "root"
  },
  "Author": "Charles Coverdale [aut, cre]",
  "Maintainer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
  "_user": "charlescoverdale",
  "_type": "src",
  "_file": "debtkit_0.1.3.tar.gz",
  "_fileid": "https://r2.ropensci.org/c28554cffd3426ff12dffd9250ff4b14bf21f25eb225b2fdedc966cd950b6024",
  "_filesize": 3128971,
  "_sha256": "c28554cffd3426ff12dffd9250ff4b14bf21f25eb225b2fdedc966cd950b6024",
  "_expires": "2026-10-28T05:25:10.000Z",
  "_created": "2026-07-20T05:20:35.000Z",
  "_published": "2026-07-20T05:25:12.712Z",
  "_jobs": [
    {
      "job": 88277600824,
      "time": 117,
      "config": "linux-devel-x86_64",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8451612143"
    },
    {
      "job": 88277600837,
      "time": 124,
      "config": "linux-release-x86_64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8451613624"
    },
    {
      "job": 88277600825,
      "time": 84,
      "config": "macos-oldrel-arm64",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8451640578"
    },
    {
      "job": 88277600819,
      "time": 109,
      "config": "macos-release-arm64",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8451634190"
    },
    {
      "job": 88277270161,
      "time": 167,
      "config": "source",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8451582630"
    },
    {
      "job": 88277600830,
      "time": 95,
      "config": "wasm-release",
      "r": "4.6.0",
      "check": "OK",
      "artifact": "8451607016"
    },
    {
      "job": 88277600858,
      "time": 62,
      "config": "windows-devel",
      "r": "4.7.0",
      "check": "OK",
      "artifact": "8451599299"
    },
    {
      "job": 88277600932,
      "time": 84,
      "config": "windows-oldrel",
      "r": "4.5.3",
      "check": "OK",
      "artifact": "8451604065"
    },
    {
      "job": 88277600917,
      "time": 89,
      "config": "windows-release",
      "r": "4.6.1",
      "check": "OK",
      "artifact": "8451605576"
    }
  ],
  "_host": "GitHub-Actions",
  "_buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244",
  "_status": "success",
  "_upstream": "https://github.com/charlescoverdale/debtkit",
  "_commit": {
    "id": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
    "author": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "committer": "Charles Coverdale <charlesfcoverdale@gmail.com>",
    "message": "Add working-paper link to README intro\n\nLink the technical working paper hosted at charlescoverdale.github.io/files/coverdale_debtkit_2026.pdf from the top of the README.\n",
    "time": 1780153136
  },
  "_maintainer": {
    "name": "Charles Coverdale",
    "email": "charlesfcoverdale@gmail.com",
    "login": "charlescoverdale",
    "linkedin": "in/charlescoverdale",
    "twitter": "@cfcoverdale",
    "description": "economics | climate science | R",
    "uuid": 21993492
  },
  "_distro": "resolute",
  "_registered": true,
  "_dependencies": [
    {
      "package": "R",
      "version": ">= 4.1.0",
      "role": "Depends"
    },
    {
      "package": "cli",
      "version": ">= 3.6.0",
      "role": "Imports"
    },
    {
      "package": "grDevices",
      "role": "Imports"
    },
    {
      "package": "graphics",
      "role": "Imports"
    },
    {
      "package": "stats",
      "role": "Imports"
    },
    {
      "package": "testthat",
      "version": ">= 3.0.0",
      "role": "Suggests"
    }
  ],
  "_owner": "charlescoverdale",
  "_selfowned": true,
  "_usedby": 0,
  "_updates": [
    {
      "week": "2026-12",
      "n": 1
    },
    {
      "week": "2026-13",
      "n": 14
    },
    {
      "week": "2026-14",
      "n": 2
    },
    {
      "week": "2026-15",
      "n": 2
    },
    {
      "week": "2026-16",
      "n": 3
    },
    {
      "week": "2026-17",
      "n": 11
    },
    {
      "week": "2026-19",
      "n": 1
    },
    {
      "week": "2026-22",
      "n": 1
    }
  ],
  "_tags": [
    {
      "name": "v0.1.0",
      "date": "2026-03-22"
    },
    {
      "name": "v0.2.0",
      "date": "2026-03-23"
    }
  ],
  "_stars": 0,
  "_contributors": [
    {
      "user": "charlescoverdale",
      "count": 35,
      "uuid": 21993492
    }
  ],
  "_userbio": {
    "uuid": 21993492,
    "type": "user",
    "name": "Charles Coverdale",
    "followers": 10,
    "description": "economics | climate science | R"
  },
  "_downloads": {
    "count": 262,
    "source": "https://cranlogs.r-pkg.org/downloads/total/last-month/debtkit"
  },
  "_devurl": "https://github.com/charlescoverdale/debtkit",
  "_pkgdown": "https://charlescoverdale.github.io/debtkit/",
  "_searchresults": 0,
  "_rbuild": "4.6.1",
  "_assets": [
    "extra/citation.cff",
    "extra/citation.html",
    "extra/citation.json",
    "extra/citation.txt",
    "extra/contents.json",
    "extra/debtkit.html",
    "extra/NEWS.html",
    "extra/NEWS.txt",
    "extra/readme.html",
    "extra/readme.md",
    "LICENSE",
    "manual.pdf"
  ],
  "_homeurl": "https://github.com/charlescoverdale/debtkit",
  "_realowner": "charlescoverdale",
  "_cranurl": true,
  "_releases": [
    {
      "version": "0.1.2",
      "date": "2026-03-31"
    }
  ],
  "_exports": [
    "dk_bohn_test",
    "dk_compare",
    "dk_decompose",
    "dk_estimate_shocks",
    "dk_fan_chart",
    "dk_gfn",
    "dk_heat_map",
    "dk_project",
    "dk_rg",
    "dk_sample_data",
    "dk_stress_test",
    "dk_sustainability_gap"
  ],
  "_help": [
    {
      "page": "dk_bohn_test",
      "title": "Bohn's Fiscal Reaction Function Test",
      "topics": [
        "dk_bohn_test"
      ]
    },
    {
      "page": "dk_compare",
      "title": "Compare Debt Projections",
      "topics": [
        "dk_compare"
      ]
    },
    {
      "page": "dk_decompose",
      "title": "Decompose Historical Debt Changes",
      "topics": [
        "dk_decompose"
      ]
    },
    {
      "page": "dk_estimate_shocks",
      "title": "Estimate Joint Distribution of Macro Shocks",
      "topics": [
        "dk_estimate_shocks"
      ]
    },
    {
      "page": "dk_fan_chart",
      "title": "Stochastic Debt Fan Chart",
      "topics": [
        "dk_fan_chart"
      ]
    },
    {
      "page": "dk_gfn",
      "title": "Gross Financing Needs",
      "topics": [
        "dk_gfn"
      ]
    },
    {
      "page": "dk_heat_map",
      "title": "IMF-Style Risk Heat Map",
      "topics": [
        "dk_heat_map"
      ]
    },
    {
      "page": "dk_project",
      "title": "Project Debt-to-GDP Path",
      "topics": [
        "dk_project"
      ]
    },
    {
      "page": "dk_rg",
      "title": "Interest Rate-Growth Differential and Debt-Stabilising Primary Balance",
      "topics": [
        "dk_rg"
      ]
    },
    {
      "page": "dk_sample_data",
      "title": "Sample Fiscal Data",
      "topics": [
        "dk_sample_data"
      ]
    },
    {
      "page": "dk_stress_test",
      "title": "IMF Standardised Stress Tests",
      "topics": [
        "dk_stress_test"
      ]
    },
    {
      "page": "dk_sustainability_gap",
      "title": "S1 and S2 Sustainability Gap Indicators",
      "topics": [
        "dk_sustainability_gap"
      ]
    }
  ],
  "_readme": "https://github.com/charlescoverdale/debtkit/raw/HEAD/README.md",
  "_rundeps": [
    "cli"
  ],
  "_score": 3.6020599913279625,
  "_indexed": true,
  "_nocasepkg": "debtkit",
  "_universes": [
    "charlescoverdale"
  ],
  "_binaries": [
    {
      "r": "4.7.0",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-07-20T05:22:34.000Z",
      "distro": "resolute",
      "commit": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
      "fileid": "https://r2.ropensci.org/55523ebc1f6974bf4e53a3dcf5cfcaac9a86e7515abc349eb8ac01a642f49aac",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244"
    },
    {
      "r": "4.6.1",
      "os": "linux",
      "version": "0.1.3",
      "date": "2026-07-20T05:22:38.000Z",
      "distro": "resolute",
      "commit": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
      "fileid": "https://r2.ropensci.org/ddeae83a73609b8dcda53ecd9427421d7081ab6310bfb0ce1ed96edf1f9cd535",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244"
    },
    {
      "r": "4.5.3",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-07-20T05:24:39.000Z",
      "commit": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
      "fileid": "https://r2.ropensci.org/6b1e721b4a751f1b7b4cb90ef0de95489a01d7290325232b83ba958ee1d9fbb7",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244"
    },
    {
      "r": "4.6.1",
      "os": "mac",
      "version": "0.1.3",
      "date": "2026-07-20T05:24:09.000Z",
      "commit": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
      "fileid": "https://r2.ropensci.org/6d05001b99188242774c40577ff98a642f29b162eacbb0a6a68fed0113e63af3",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244"
    },
    {
      "r": "4.6.0",
      "os": "wasm",
      "version": "0.1.3",
      "date": "2026-07-20T05:22:26.000Z",
      "commit": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
      "fileid": "https://r2.ropensci.org/a5c0a8a73691e997dc42da0fe5a34115a273de3f3869fc087dde4f0337f91f5a",
      "status": "success",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244"
    },
    {
      "r": "4.7.0",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-20T05:21:32.000Z",
      "commit": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
      "fileid": "https://r2.ropensci.org/6403e990037262e562c729ba6f163d2c0a1ed7a5ec62e5e4b76c1991fe827cf0",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244"
    },
    {
      "r": "4.5.3",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-20T05:21:46.000Z",
      "commit": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
      "fileid": "https://r2.ropensci.org/545789697155832e422f19142ad365e16c4f28df848df38e030630f30f4a7013",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244"
    },
    {
      "r": "4.6.1",
      "os": "win",
      "version": "0.1.3",
      "date": "2026-07-20T05:22:02.000Z",
      "commit": "cb285131b7269a82ee2a7fd7f3a422ea587ef980",
      "fileid": "https://r2.ropensci.org/99d9239f4cdd6a0f947307fcce6a7e0335ac6722a468a520d8c03440737f7723",
      "status": "success",
      "check": "OK",
      "buildurl": "https://github.com/r-universe/charlescoverdale/actions/runs/29718822244"
    }
  ]
}