greenbook: HM Treasury Green Book Cost-Benefit Analysis Primitives

Implements cost-benefit analysis primitives from HM Treasury Green Book guidance (HM Treasury, 2022, 2026): the kinked Social Time Preference Rate ('STPR'), discount factors, net present value ('NPV'), equivalent annual cost, and real-terms rebasing using the GDP deflator. Designed for UK central government appraisal and evaluation. Bundled parameter tables carry vintage metadata for reproducibility.

Version: 0.1.0
Depends: R (≥ 4.1.0)
Imports: cli (≥ 3.6.0), stats, utils
Suggests: testthat (≥ 3.0.0), knitr, rmarkdown, inflateR, openxlsx, officer, flextable
Published: 2026-04-28
DOI: 10.32614/CRAN.package.greenbook
Author: Charles Coverdale [aut, cre]
Maintainer: Charles Coverdale <charles.f.coverdale at gmail.com>
BugReports: https://github.com/charlescoverdale/greenbook/issues
License: MIT + file LICENSE
URL: https://github.com/charlescoverdale/greenbook
NeedsCompilation: no
Language: en-US
Citation: greenbook citation info
Materials: README, NEWS
CRAN checks: greenbook results

Documentation:

Reference manual: greenbook.html , greenbook.pdf
Vignettes: Carbon and environmental valuation (source, R code)
Getting started with greenbook (source, R code)

Downloads:

Package source: greenbook_0.1.0.tar.gz
Windows binaries: r-devel: not available, r-release: greenbook_0.1.0.zip, r-oldrel: greenbook_0.1.0.zip
macOS binaries: r-release (arm64): greenbook_0.1.0.tgz, r-oldrel (arm64): greenbook_0.1.0.tgz, r-release (x86_64): not available, r-oldrel (x86_64): not available

Linking:

Please use the canonical form https://CRAN.R-project.org/package=greenbook to link to this page.