midnight: A 'tidymodels' Engine and Other Extensions for the 'midr' Package

Provides a 'parsnip' engine for the 'midr' package, enabling users to fit, tune, and evaluate Maximum Interpretation Decomposition (MID) models within the 'tidymodels' framework. Developed through research by the Moonlight Seminar 2025, a study group of actuaries from the Institute of Actuaries of Japan, to enhance practical applications of interpretable modeling. Detailed methodology is available in Asashiba et al. (2025) <doi:10.48550/arXiv.2506.08338>.

Version: 0.2.0
Imports: graphics, midr (≥ 0.6.0), rlang, Rcpp, stats, utils
LinkingTo: Rcpp, RcppEigen
Suggests: colormap, DALEX, ggbeeswarm, ggforce, ggplot2, MetBrewer, parsnip
Published: 2026-04-09
DOI: 10.32614/CRAN.package.midnight (may not be active yet)
Author: Ryoichi Asashiba ORCID iD [aut, cre]
Maintainer: Ryoichi Asashiba <ryoichi.asashiba at gmail.com>
BugReports: https://github.com/ryo-asashi/midnight/issues
License: MIT + file LICENSE
URL: https://github.com/ryo-asashi/midnight, https://ryo-asashi.github.io/midnight/
NeedsCompilation: yes
Materials: README, NEWS
CRAN checks: midnight results

Documentation:

Reference manual: midnight.html , midnight.pdf

Downloads:

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

Linking:

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