Skip to content

brulee

1.2.0

High-Level Modeling Functions with 'torch'

0packages dependsuggested by 3
13.1Kdownloads / year
0.0%test coverage
13/13flavors OK

Overview

About

Provides high-level modeling functions to define and train models using the 'torch' R package. Models include linear, logistic, and multinomial regression as well as multilayer perceptrons.

Changes in 1.2.0
  • predict() for regression brulee_tab_icl() models gained two new type values. "quantile" returns a .pred_quantile column (a hardhat::quantile_pred() vector) at the levels given by the new predict-time quantile_levels argument, which defaults to (1:9) / 10. "variance" returns the variance of the predictive distribution in a .pred_variance column. The TabICL regression head was already a quantile regression head internally, so this exposes a distribution the model was always computing; type = "numeric" is unchanged and remains the default. Unlike brulee_chronos(), the levels are not fixed when the model is created and any value in the open interval (0, 1) can be requested. See ?predict.brulee_tab_icl for how ensemble members are pooled for each type.
  • Added augment() methods for all brulee model fits.
  • For regression models, .pred and .resid are added. For the latter, it is computed when the outcome is present in the data. See the exceptions below for foundational models.
  • For classification, the hard class predictions and class probability estimates are added.
  • For brulee_chronos() models, the forecast columns are aligned to the rows of new_data rather than to the internal per-series prediction order.
  • For brulee_tab_icl() regression models, quantile regression estimates and the prediction variance can be obtained by setting the quantile_levels argument to a non-null value. .resid is then measured against the median of the predictive distribution.
  • The error thrown when predict() is given an unsupported type is now attributed to predict() rather than to brulee's internal helper.
  • predict() now clamps an epoch larger than the number of epochs actually fit, which is what its documentation and its warning have always promised. Previously it warned and then failed with a subscript out of bounds error, and an epoch exactly equal to length(fit$estimates) failed with no warning at all. Because early stopping makes the number of epochs fit vary by platform, a fixed epoch could work on one machine and fail on another. coef() was already correct and now shares the same check (#138).

From NEWS.md in the release

Install

Health

CRAN checks
13OK
Slowest check: 3.3 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.0
READMEYes · 197 wordsVignettesNoNEWSYes · 100% structured · mentions 1.2.0Citation fileNoWebsiteYes · pkgdown
Help pages
31 (2 internal)includes a package overview page
Examples that run
19%5 run in a plain check (5 of them under a condition) · 20 only when donttest examples are enabled (R CMD check --as-cran) · 2 never run
Exported functions with examples
87%
Documented parameters
94%
Return-value docs
93%
Help pages citing references
23%

Downloads

13.1K
CRAN downloads in the past year
Rank #3,753 · ~36/day · ~1.1K/mo
Daily download trend is not available in this view yet.
1K30 days
2.5K90 days
13.1K1 year
Compare downloads with other packages →
Also on1.3K r2u24 autocran

Repository

75Stars
10Forks
9Open issues
0Open PRs
11Releases
223Commits
13Commit identities
223 commits · Last activity 2026-10-08 · 0% stars, 30d · Default branch at 1.2.0.9000, ahead of CRAN 1.2.0 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
94%
Median days to close, 50 most recently updated closed issues
14
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-09-19 · 702026-08-17 · 75
PracticesBeta

12 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/tidymodels/brulee on 2026-10-11.

Continuous integration (2)
GitHub ActionsR CMD check workflow

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

Governance and community (1)
Code of conduct
Docs source (4)
README.Rmdpkgdown

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

pkgdown site last built 2026-09-02

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 1 practice
Lint, format, editor (4)
Lint workflowAirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)
AI coding toolsBeta

This repository shows signs of AI coding tools.

  • Claude Codefirst seen 2026-04-20
    Seen in the repository: .claude
    Named in .Rbuildignore: .claude
    Pull request it wrote: opened by a project member
    Commits: at least 5 crediting it in the message
Models named in its commits
  • Claude Sonnet 4.54 commits · Apr 2026
  • Claude Opus 51 commit · Sep 2026
Counts are commits, not lines of code. Commits by a tool's accounts count once across all of its accounts. Commits crediting it are the largest count among its credit lines, a minimum.How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
22 external dependencies (excludes base and recommended)

Installing brulee adds 41 packages (22 with compiled code, 24 MB of source tarballs). Heaviest: ggplot2 6.0 MB, torch 1.9 MB, Rcpp 1.8 MB.

Depends (1)
R >= 4.1
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 3
Suggests, most downloaded first

People & History

People (3)
Author, Maintainer since 0.0.1 (2021)
Copyright holder, Funder · added in 0.3.0
Listed in earlier versions (1)
RStudio
no longer listed · 0.0.1 to 0.2.0
Releases (11)

Pick two releases to compare their code metrics.

  • 1.2.0Latest
    record
    2026-09-02 · current release · diff ↗ ·
    added 1 export
    augment
  • 1.1.1
    record
    2026-07-13 · diff ↗
  • 1.1.0
    record
    2026-06-17 · diff ↗ ·
    added 3 exports
    brulee_tab_icl, tab_icl_download_weights, tab_icl_weights_available
  • 1.0.0
    record
    2026-06-17 · diff ↗ ·
    added 5 exports
    brulee_auto_int, brulee_chronos, brulee_resnet, brulee_rln, brulee_saint
  • R
    R 4.6.0 released · 2026-04-24
  • 0.6.0
    record
    2025-09-02 · diff ↗ ·
    removed 1 export
    %>%
  • R
    R 4.5.0 released · 2025-04-11
  • unarchivedReturned to CRAN
    2025-04-07
  • 0.5.0
    record
    2025-04-07 · diff ↗
  • archivedRemoved from CRAN
    2025-04-02
    issues were not corrected in time
  • 0.4.0
    record
    2025-01-30 · diff ↗ ·
    added 1 export
    brulee_mlp_two_layer
  • R
    R 4.4.0 released · 2024-04-24
  • 0.3.0
    record
    2024-02-14 · diff ↗ ·
    added 1 export
    brulee_activations
  • R
    R 4.3.0 released · 2023-04-21
  • 0.2.0
    record
    2022-09-20 · diff ↗ ·
    added 5 exports
    schedule_cyclic, schedule_decay_expo, schedule_decay_time, schedule_step, set_learn_rate
  • R
    R 4.2.0 released · 2022-04-22
Show 3 earlier eventsHide 3 earlier events

Package metadata

First published
2021-12-15
Total releases
11 / 5 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 4.1
Download size
2.0 MB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("brulee")
Kuhn, M., Posit Software, PBC, & Falbel, D. (2026). brulee: High-Level Modeling Functions with 'torch' (Version 1.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.brulee

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 brulee version 1.2.0 [Data set]. HJJB, LLC. Data release v2026-10-17. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-17, 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