Skip to content

kindling

0.3.2

Higher-Level Interface of 'torch' Package to Auto-Train Neural Networks

0packages depend
2.5Kdownloads / year
12.1%test coverage
13/13flavors OK

Overview

About

Provides a higher-level interface to the 'torch' package for defining, training, and fine-tuning neural networks through code generation. The package supports several architectures, including feedforward (multi-layer perceptron) and recurrent neural networks (RNN, LSTM, GRU), while reducing boilerplate 'torch' code. Model training methods also bridge to machine learning frameworks in R, particularly the 'tidymodels' ecosystem, including 'parsnip' model specifications, workflows, recipes, and tuning tools.

Changes in 0.3.2

Bug fixes

  • "linear" used as an activations/output_activation value no longer crashes at training time. It was previously resolved to torch::nnf_linear() (an affine transform requiring its own weight/bias), instead of behaving as an identity/no-op activation. "linear" now consistently maps to identity() (#21).

Documentation

  • Added missing @examples for act_funs(), args(), and early_stop().
  • Fixed the {tidymodels} example: loading Ionosphere via box::use(mlbench[Ionosphere]) failed because {mlbench} does not export its datasets through NAMESPACE/LazyData. The example now uses data(Ionosphere, package = "mlbench") instead.
Show all changes in 0.3.2Hide the rest of the changes in 0.3.2
  • Usage examples from README gets transferred to vignettes/kindling.Rmd.

From NEWS.md in the release

Install

Health

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

none known

Documentation

In release 0.3.2
READMEYes · 356 wordsVignettesYes · 5 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 0.3.2Citation fileYes · software entry onlyWebsiteYes · pkgdown
Help pages
45 (27 internal)includes a package overview page
Examples that run
22%4 run in a plain check · 11 only when donttest examples are enabled (R CMD check --as-cran) · 3 never run
Exported functions with examples
84%
Documented parameters
97%
Return-value docs
89%
Help pages citing references
7%

Downloads

2.5K
CRAN downloads in the past year
Rank #13,201 · ~7/day · ~211/mo
Daily download trend is not available in this view yet.
35630 days
84690 days
2.5K1 year
Compare downloads with other packages →
Also on69 r2u4 autocran

Repository

28Stars
4Forks
1Open issues
0Open PRs
3Releases
309Commits
3Commit identities
neural-networksrtidymodelstorch
309 commits · Last activity 2026-09-26 · +3.7% stars, 30d · Default branch at 0.3.2.9000, ahead of CRAN 0.3.2 (checked 2026-10-11)
Responsiveness
How these are sampled
PRs merged (all time)
86%
Median days to close, 50 most recently updated closed issues
0
Median days to close, 50 most recently updated closed PRs
1

Stars over time

2026-07-14 · 282026-10-07 · 28
PracticesBeta

11 development-tooling and community-health practices detected across 6 families in the upstream repository

Checks run against github.com/joshuamarie/kindling 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 (2)
Code of conductContributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2026-09-26 · The repository has a site deploy workflow

pkgdown site last built 2026-07-10

Coverage (1)
Coverage reporting
Show all practicesHide 2 practices
Research and citation (1)
JOSS paper
Lint, format, editor (1)
lintr
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-07-03
    Commits: at least 10 crediting it in the message
From outside contributors
  • Claude Code
    Pull requests: 7 from outside contributors, first on 2026-08-03, 7 from forks
Models named in its commits
  • Claude Fable 57 commits · Aug 2026
  • Claude Sonnet 52 commits · Jul 2026
  • Claude Opus 5.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
34 external dependencies (excludes base and recommended)

Installing kindling adds 106 packages (52 with compiled code, 76 MB of source tarballs). Heaviest: stringi 11 MB, ggplot2 6.0 MB, data.table 5.7 MB.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect

Nothing depends on this yet.

People & History

People (2)
Author, Maintainer since 0.1.0 (2026)
Author · added in 0.3.0
Releases (5)

Pick two releases to compare their code metrics.

  • 0.3.2Latest
    record
    2026-07-10 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 0.3.1
    record
    2026-03-03 · diff ↗ ·
    removed 1 export
    vi_model
    added 2 exports
    autoplot_diagnostics, plot_diagnostics
  • 0.3.0
    record
    2026-03-03 · diff ↗ ·
    added 12 exports
    .i, .in, .is_output, .layer, .out, early_stop, new_act_fn, nn_arch, nn_module_generator, train_nn, train_nn_wrapper, train_nnsnip
  • 0.2.0
    record
    2026-02-04 · diff ↗
  • 0.1.0
    record
    2026-01-31
  • R
    R 4.5.0 released · 2025-04-11

Package metadata

First published
2026-01-31
Total releases
5 / 1 yrs
License
MIT + file LICENSE OSI
Additional repositories
cran.r-universe.dev
Minimum R
≥ 4.1.0
Download size
333 KB

Cite

Cite this package

Run in R for the authors' entry:

citation("kindling")

The package provides a citation file, so citation() returns the authors' own entry.

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 kindling version 0.3.2 [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