kindling
0.3.2Higher-Level Interface of 'torch' Package to Auto-Train Neural Networks
Overview
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.
Bug fixes
"linear"used as anactivations/output_activationvalue no longer crashes at training time. It was previously resolved totorch::nnf_linear()(an affine transform requiring its own weight/bias), instead of behaving as an identity/no-op activation."linear"now consistently maps toidentity()(#21).
Documentation
- Added missing
@examplesforact_funs(),args(), andearly_stop(). - Fixed the
{tidymodels}example: loadingIonosphereviabox::use(mlbench[Ionosphere])failed because{mlbench}does not export its datasets throughNAMESPACE/LazyData. The example now usesdata(Ionosphere, package = "mlbench")instead.
Show all changes in 0.3.2Hide the rest of the changes in 0.3.2
- Usage examples from
READMEgets transferred tovignettes/kindling.Rmd.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK13 OK2026-06-09
- ERROR12 OK, 1 ERROR2026-06-08
- OK14 OK2026-03-10
Documentation
- 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
Repository
- 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
Issues over time
PRs over time
Commits over time
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.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-26 · The repository has a site deploy workflow
pkgdown site last built 2026-07-10
Show all practicesHide 2 practices
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-07-03Commits: at least 10 crediting it in the message
- Claude CodePull requests: 7 from outside contributors, first on 2026-08-03, 7 from forks
- Claude Fable 57 commits · Aug 2026
- Claude Sonnet 52 commits · Jul 2026
- Claude Opus 5.51 commit · Sep 2026
Dependencies
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.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 0.3.2Latest
- RR 4.6.0 released · 2026-04-24
- 0.3.12026-03-03 · diff ↗ ·
removed 1 export
vi_modeladded 2 exports
autoplot_diagnostics, plot_diagnostics - 0.3.02026-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.02026-02-04 · diff ↗
- 0.1.02026-01-31
- RR 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.
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.