Skip to content

midnight

0.2.0Package record

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

0packages depend
2.5Kdownloads / year
–test coverage
12/13flavors OK

Overview

About

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.

Changes in 0.2.0

New Features

  • Introduced nightfall() and daybreak() to seamlessly toggle the package's extended features, including dynamic S3 method registration, custom color themes, and high-performance OLS solvers.
  • Added fastLmMatrix(), an optimized wrapper around RcppEigen::fastLm() that efficiently handles multivariate (matrix) responses.

Minor Improvements

  • Renamed and updated the ggmid.midimp wrapper to ensure perfect alignment with midr (>= 0.6.0).
  • Streamlined the package structure by significantly reducing hard dependencies (Imports).

From NEWS.md in the release

Install

Health

CRAN checks
1ERROR12OK
Check messages
ERRORwhether package can be installedr-release-windows-x86_64
Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/midnight.Rcheck/00install.out' for details.

CRAN check page ↗

Slowest check: 4.9 min · r-devel-windows-x86_64
Status changes
  • ERROR12 OK, 1 ERROR2026-10-20
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-21
  • ERROR12 OK, 1 ERROR2026-07-15
Show 6 earlier changesHide 6 earlier changes
  • OK13 OK2026-06-06
  • ERROR12 OK, 1 ERROR2026-06-01
  • OK12 OK2026-04-25
  • NOTE12 OK, 1 NOTE2026-04-24
  • ERROR11 OK, 1 NOTE, 1 ERROR2026-04-18
  • NOTE4 OK, 1 NOTE2026-04-10
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 141 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
6 (2 internal)includes a package overview page
Examples that run
100%1 run in a plain check
Exported functions with examples
0%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
0%

Downloads

2.5K
CRAN downloads in the past year
Rank #12,186 · ~7/day · ~205/mo
Daily download trend is not available in this view yet.
31630 days
90190 days
2.5K1 year
Compare downloads with other packages →
Also on146 r2u4 autocran

Repository

2Stars
0Forks
1Open issues
0Open PRs
0Releases
59Commits
1Commit identities
imlinterpretable-machine-learningparsniprr-packagexai
59 commits · Last activity 2026-08-27 · 0% stars, 30d · Default branch at 0.2.0.901, ahead of CRAN 0.2.0 (checked 2026-10-18)
Responsiveness
How these are sampled
PRs merged (all time)
not measured
Median days to close, 50 most recently updated closed issues
3
Median days to close, 50 most recently updated closed PRs
not measured

Stars over time

2025-08-14 · 12026-07-07 · 2
PracticesBeta

9 development-tooling and community-health practices detected across 4 families in the upstream repository

Checks run against github.com/ryo-asashi/midnight on 2026-10-18.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-08-27 · The repository has a site deploy workflow

pkgdown site last built 2026-08-27

CRAN release process (2)
cran-comments.mdCRAN-SUBMISSION
Lint, format, editor (1)
RStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
12 external dependencies (excludes base and recommended)

Installing midnight adds 4 packages (4 with compiled code, 4.6 MB of source tarballs). Heaviest: Rcpp 1.8 MB, RcppEigen 1.7 MB, rlang 766 KB.

Depends (0)
none
Imports (6)
graphicsmidrrlangRcppstatsutils
LinkingTo (2)
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (1)
Author, Maintainer since 0.2.0 (2026)
Releases (1)
  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    2026-04-09 · current release
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-04-09
Total releases
1 / 1 yrs
License
MIT + file LICENSE OSI
Download size
384 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("midnight")
Asashiba, R. (2026). midnight: A 'tidymodels' Engine and Other Extensions for the 'midr' Package (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.midnight

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for midnight version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy