Skip to content

kerasnip

A Bridge Between 'keras' and 'tidymodels'

v0.1.2 · May 2, 2026 · MIT + file LICENSE

Description

Provides a seamless bridge between 'keras' and the 'tidymodels' frameworks. It allows for the dynamic creation of 'parsnip' model specifications for 'keras' models.

Downloads

CRAN

467

Last 30 days

8894th

1.3K

Last 90 days

2.9K

Last year

Trend: -6.6% (30d vs prior 30d)

r2u CRAN

7

Last 30 days

37

Last 90 days

99

Last year

Trend: -61.1% (30d vs prior 30d)

autoCRAN

3

Last 7 days

12

Last 30 days

1

All-time

autoCRAN-only: this name is served only by autoCRAN, so the count is exact.

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Additional Issues

donttest Details →

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
ERROR 12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Jun 8, 2026
ERROR r-devel-linux-x86_64-debian-gcc

package dependencies

Packages required but not available: 'parsnip', 'recipes'

Packages suggested but not available for checking:
  'tidymodels', 'finetune', 'tune', 'workflows', 'rsample', 'probably'

See section ‘The DESCRIPTION file’ in the ‘Writing R Extensions’
manual.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Code

Structure

Lines of code

12,973

Files

124

Compiled share

0%

Has compiled src

No

Language breakdown

R 4,250 (32.8%)Tests 3,095 (23.9%)Docs 1,751 (13.5%)Vignettes 3,877 (29.9%)

API

Exported functions

27

Internal functions

43

Recent export changes

v0.0.3+1 model_exists
v0.0.1+26 compile_keras_grid, create_keras_functional_spec, create_keras_sequential_spec +23 more

Testing & CI

Has tests

Yes

Test-to-code ratio

0.73

testthat edition

3

CI present

No

CI type

[]

PR gated

No

Docs

Return-value doc rate

96%

\dontrun example ratio

71.4%

Roxygen coverage

100%

Has pkgdown

No

NEWS present

No

Health & Security signals

Informational signals; not verdicts.

on.exit coverage

Unsafe pattern score

0

Dep constraint coverage

8.3%

Secret pattern count

0

Bundled 3rd-party code

2 items

Portability & License

Min R version

4.1.0

System requirements

C++ standard

License

MIT + file LICENSE

License flags

SPDX valid, OSI approved

History

Versions

4

First release

2025-09-03

Latest release

2026-05-03

Avg cadence

79 days

Cold removal rate

Dep drift

2

LOC over versions

v0.0.1: 7,646 LOCv0.0.3: 9,105 LOCv0.1.0: 9,145 LOCv0.1.2: 12,973 LOC

Per-file churn detail lives in the source pipeline: https://github.com/r-observatory/cran-code-metrics.

Dependency Network

Dependencies Reverse dependencies abind generics parsnip rlang keras3 tibble purrr dplyr cli recipes reticulate lobstr kerasnip

Version History

5 tracked
updated 0.1.2 ← 0.1.0 diff May 2, 2026
new 0.1.0 Mar 10, 2026
updated 0.1.0 ← 0.0.3 diff Dec 5, 2025
updated 0.0.3 ← 0.0.1 diff Sep 17, 2025
new 0.0.1 Sep 2, 2025