Patch release. A citation correction and a documentation addition. No computed value changes.
The package cites Blanchard (1990) for the debt dynamics framework, but the
DOI given was 10.1787/budget-v2-art12-en. That DOI resolves, which is why
it survived CRAN's incoming check, but CrossRef records it as a 2003 item in
the OECD Journal on Budgeting carrying no title and no listed authors. It
is not the 1990 paper.
The correct reference is 10.1787/435618162862, "Suggestions for a New Set
of Fiscal Indicators", OECD Economics Department Working Papers, 1990, whose
CrossRef title and year match the claim exactly. Corrected in DESCRIPTION and
in the @references for dk_decompose(), dk_project() and dk_rg().
Passing seed calls set.seed() and does not restore the previous state, so
the caller's stream is left reseeded. That behaviour is unchanged: the
save-and-restore implementation was removed at CRAN's request in 0.1.2
because it manipulated .GlobalEnv, and reinstating it would re-open a
question a reviewer has already settled. It is now stated in a "Random number
generation" section on the help page instead, with the workaround, rather
than being left for users to discover.
dk_gfn() now returns an S3 object of class dk_gfn with dedicated
print() and plot() methods, consistent with other debtkit functions..GlobalEnv modification in dk_fan_chart() seed handling, per CRAN
policy.dk_project() using the standard debt
dynamics equation.dk_decompose().dk_rg().dk_bohn_test(). HAC (Newey-West) standard errors
via robust_se = TRUE.dk_fan_chart()
and dk_estimate_shocks(). Supports bootstrap residual resampling.dk_stress_test(), with optional
data-driven calibration.dk_heat_map().dk_gfn().dk_sustainability_gap().dk_compare().dk_sample_data().