Skip to content
CRAN requires the check problems on this package to be fixed before Oct 18 or it will be archived. See the check details

tidypredict

1.2.1Package record

Run Predictions Inside the Database

2packages dependsuggested by 1
20.5Kdownloads / year
83.8%test coverage
8/13flavors OK

Overview

About

It parses a fitted 'R' model object, and returns a formula in 'Tidy Eval' code that calculates the predictions. It works with several databases back-ends because it leverages 'dplyr' and 'dbplyr' for the final 'SQL' translation of the algorithm. Dozens of model classes are supported; see the "Supported models" article at https://tidypredict.tidymodels.org/articles/models.html for the current list.

Changes in 1.2.1
  • vignettes/h2o.Rmd now shuts down the H2O cluster it starts, so the Java process it spawns no longer outlives the vignette build (leftover processes were flagged on CRAN's check systems).

From NEWS.md in the release

Install

Health

CRAN checks
5ERROR8OK
Check messages
ERRORre-building of vignette outputsr-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-oldrel-windows-x86_64, r-release-windows-x86_64

r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc

Error(s) in re-building vignettes:
--- re-building ‘C5.0.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘C5.0.Rmd’

--- re-building ‘aorsf.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘aorsf.Rmd’

--- re-building ‘bagging.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘bagging.Rmd’

--- re-building ‘bart.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘bart.Rmd’

--- re-building ‘cubist.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘cubist.Rmd’

--- re-building ‘fda.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘fda.Rmd’

--- re-building ‘float-precisio
...[truncated]...
-mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘sparsediscrim.Rmd’

--- re-building ‘sql.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘sql.Rmd’

--- re-building ‘tree-internals.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘tree-internals.Rmd’

--- re-building ‘tree.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘tree.Rmd’

--- re-building ‘xgboost.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘xgboost.Rmd’

--- re-building ‘xrf.Rmd’ using rmarkdown
[WARNING] Deprecated: --mathjax. Use --math-method=mathjax[:URL] instead.
--- finished re-building ‘xrf.Rmd’

SUMMARY: processing the following file failed:
  ‘lm.Rmd’

Error: Vignette re-building failed.
Execution halted

r-devel-windows-x86_64, r-release-windows-x86_64

Error(s) in re-building vignettes:
--- re-building 'C5.0.Rmd' using rmarkdown
--- finished re-building 'C5.0.Rmd'

--- re-building 'aorsf.Rmd' using rmarkdown
--- finished re-building 'aorsf.Rmd'

--- re-building 'bagging.Rmd' using rmarkdown
--- finished re-building 'bagging.Rmd'

--- re-building 'bart.Rmd' using rmarkdown
--- finished re-building 'bart.Rmd'

--- re-building 'cubist.Rmd' using rmarkdown
--- finished re-building 'cubist.Rmd'

--- re-building 'fda.Rmd' using rmarkdown
--- finished re-building 'fda.Rmd'

--- re-building 'float-precision.Rmd' using rmarkdown
--- finished re-building 'float-precision.Rmd'

--- re-building 'glm.Rmd' using rmarkdown
--- finished re-building 'glm.Rmd'

--- re-building 'glmnet.Rmd' using rmarkdown
--- finished re-building 'glmnet.Rmd'

--- re-building 'h2o.Rmd' using rmarkdown
openjdk version "11.0.18" 2023-01-17
OpenJDK Runtime Environment Temurin-11.0.18+10 (build 11.0.18+10)
OpenJDK 64-Bit Server VM Temurin-11.0.18+10 (build 11.0.18+10, mix
...[truncated]...
rmarkdown
--- finished re-building 'regression.Rmd'

--- re-building 'rf.Rmd' using rmarkdown
--- finished re-building 'rf.Rmd'

--- re-building 'rpart.Rmd' using rmarkdown
--- finished re-building 'rpart.Rmd'

--- re-building 'save.Rmd' using rmarkdown
--- finished re-building 'save.Rmd'

--- re-building 'sda.Rmd' using rmarkdown
--- finished re-building 'sda.Rmd'

--- re-building 'sparsediscrim.Rmd' using rmarkdown
--- finished re-building 'sparsediscrim.Rmd'

--- re-building 'sql.Rmd' using rmarkdown
--- finished re-building 'sql.Rmd'

--- re-building 'tree-internals.Rmd' using rmarkdown
--- finished re-building 'tree-internals.Rmd'

--- re-building 'tree.Rmd' using rmarkdown
--- finished re-building 'tree.Rmd'

--- re-building 'xgboost.Rmd' using rmarkdown
--- finished re-building 'xgboost.Rmd'

--- re-building 'xrf.Rmd' using rmarkdown
--- finished re-building 'xrf.Rmd'

SUMMARY: processing the following file failed:
  'lm.Rmd'

Error: Vignette re-building failed.
Execution halted

r-oldrel-windows-x86_64

Error(s) in re-building vignettes:
--- re-building 'C5.0.Rmd' using rmarkdown
--- finished re-building 'C5.0.Rmd'

--- re-building 'aorsf.Rmd' using rmarkdown
--- finished re-building 'aorsf.Rmd'

--- re-building 'bagging.Rmd' using rmarkdown
--- finished re-building 'bagging.Rmd'

--- re-building 'bart.Rmd' using rmarkdown
--- finished re-building 'bart.Rmd'

--- re-building 'cubist.Rmd' using rmarkdown
--- finished re-building 'cubist.Rmd'

--- re-building 'fda.Rmd' using rmarkdown
--- finished re-building 'fda.Rmd'

--- re-building 'float-precision.Rmd' using rmarkdown
--- finished re-building 'float-precision.Rmd'

--- re-building 'glm.Rmd' using rmarkdown
--- finished re-building 'glm.Rmd'

--- re-building 'glmnet.Rmd' using rmarkdown
--- finished re-building 'glmnet.Rmd'

--- re-building 'h2o.Rmd' using rmarkdown
openjdk version "11.0.11" 2021-04-20
OpenJDK Runtime Environment AdoptOpenJDK-11.0.11+9 (build 11.0.11+9)
OpenJDK 64-Bit Server VM AdoptOpenJDK-11.0.11+9 (build 11.0.11+
...[truncated]...
rmarkdown
--- finished re-building 'regression.Rmd'

--- re-building 'rf.Rmd' using rmarkdown
--- finished re-building 'rf.Rmd'

--- re-building 'rpart.Rmd' using rmarkdown
--- finished re-building 'rpart.Rmd'

--- re-building 'save.Rmd' using rmarkdown
--- finished re-building 'save.Rmd'

--- re-building 'sda.Rmd' using rmarkdown
--- finished re-building 'sda.Rmd'

--- re-building 'sparsediscrim.Rmd' using rmarkdown
--- finished re-building 'sparsediscrim.Rmd'

--- re-building 'sql.Rmd' using rmarkdown
--- finished re-building 'sql.Rmd'

--- re-building 'tree-internals.Rmd' using rmarkdown
--- finished re-building 'tree-internals.Rmd'

--- re-building 'tree.Rmd' using rmarkdown
--- finished re-building 'tree.Rmd'

--- re-building 'xgboost.Rmd' using rmarkdown
--- finished re-building 'xgboost.Rmd'

--- re-building 'xrf.Rmd' using rmarkdown
--- finished re-building 'xrf.Rmd'

SUMMARY: processing the following file failed:
  'lm.Rmd'

Error: Vignette re-building failed.
Execution halted
Additional issues

CRAN check page ↗

Slowest check: 12.2 min · r-oldrel-windows-x86_64
Status changes
  • ERROR8 OK, 5 ERRORNow
  • ERROR11 OK, 2 ERROR2026-09-28
  • OK13 OK2026-08-04
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK13 OK2026-07-04
  • WARNING12 OK, 1 WARNING2026-07-03
Show 5 earlier changesHide 5 earlier changes
  • OK13 OK2026-06-19
  • WARNING12 OK, 1 WARNING2026-06-17
  • OK13 OK2026-06-09
  • ERROR12 OK, 1 ERROR2026-06-08
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.2.1
READMEYes · 774 wordsVignettesYes · 37 · evaluation depends on the environmentNEWSYes · 100% structured · mentions 1.2.1Citation fileNoWebsiteYes · pkgdown

The repository also keeps web-only articles.

Help pages
37 (22 internal)includes a package overview page
Examples that run
100%15 run in a plain check (6 of them under a condition)
Exported functions with examples
54%
Documented parameters
100%
Return-value docs
58%
Help pages citing references
0%

Downloads

20.5K
CRAN downloads in the past year
Rank #2,892 · ~56/day · ~1.7K/mo
Daily download trend is not available in this view yet.
1.6K30 days
4.9K90 days
20.5K1 year
Compare downloads with other packages →
Also on205 r2u3 autocran3.8K conda_forge132 c2d4u

Repository

265Stars
34Forks
5Open issues
0Open PRs
17Releases
623Commits
21Commit identities
rlangdplyrdbplyrpurrrr
623 commits · Last activity 2026-10-16 · +0.4% stars, 30d · The default branch showed an older version (1.2.0.9000) than CRAN on 2026-10-11
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
4
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-10-12 · 2572026-09-30 · 265
PracticesBeta

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

Checks run against github.com/tidymodels/tidypredict 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-04 · The repository has a site deploy workflow

pkgdown site last built 2026-09-04, before release 1.2.1 (2026-09-09)

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 2 practices
CRAN release process (3)
cran-comments.mdrevdep/CRAN-SUBMISSION
Lint, format, editor (3)
AirVS 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-02-11
    Seen in the repository: .claude, .claude/skills
    Named in .Rbuildignore: .claude
How this is detected·Detection ruleset v4 (updated 2026-09-27)

Dependencies

Declared dependencies
53 external dependencies (excludes base and recommended)

Installing tidypredict adds 26 packages (15 with compiled code, 20 MB of source tarballs). Heaviest: stringi 11 MB, jsonlite 1.0 MB, vctrs 1.0 MB.

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

People & History

People (4)
Author, Maintainer since 0.5.1 (2024) · added in 0.5.1
Author · added in 0.4.5
Copyright holder, Funder · added in 1.2.0

Previously maintained by Edgar Ruiz (0.5) and Max Kuhn (0.4.5 to 0.4.9).

Releases (22)
Submitted 1.2.2, in pending since 2026-10-17 17:40 UTC, as of the 2026-10-17 17:40 UTC queue snapshot. See the queue →

Pick two releases to compare their code metrics.

  • 1.2.1Latest
    record
    2026-09-09 · current release · diff ↗
  • 1.2.0
    record
    2026-09-04 · diff ↗ ·
    added 15 exports
    .c50_tree_info_full, .extract_bagger_classprob, .extract_bagger_trees, .extract_bart_scaling, .extract_bart_trees, tidypredict_class_exprs, tidypredict_class_trees, tidypredict_combine_trees, tidypredict_load, tidypredict_n_trees, tidypredict_normalized, tidypredict_outcome_levels, tidypredict_output_type, tidypredict_save, tidypredict_trees
  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.1
    record
    2026-02-27 · diff ↗
  • 1.1.0
    record
    2026-02-27 · diff ↗ ·
    added 15 exports
    .build_case_when_tree, .build_linear_pred, .build_nested_case_when_tree, .extract_catboost_trees, .extract_earth_multiclass, .extract_glmnet_multiclass, .extract_lgb_trees, .extract_ranger_classprob, .extract_ranger_trees, .extract_rf_classprob, .extract_rf_trees, .extract_rpart_classprob, .partykit_tree_info_full, .rpart_tree_info_full, set_catboost_categories
  • 1.0.1
    record
    2025-12-13 · diff ↗
  • 1.0.0
    record
    2025-11-29 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.1
    record
    2024-12-19 · diff ↗ ·
    added 2 exports
    .extract_partykit_classprob, .extract_xgb_trees
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5
    record
    2023-01-18 · diff ↗
  • 0.4.9
    record
    2022-05-25 · diff ↗
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 0.4.8
    record
    2020-10-28 · diff ↗
Show 16 earlier eventsHide 16 earlier events

Package metadata

First published
2018-01-17
Total releases
22 / 8 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-3 in 0.4.9
Minimum R
≥ 4.1
Download size
698 KB
Appears in task views

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("tidypredict")
Hvitfeldt, E., Posit Software, PBC, Kuhn, M., & Ruiz, E. (2026). tidypredict: Run Predictions Inside the Database (Version 1.2.1) [Computer software]. https://doi.org/10.32614/CRAN.package.tidypredict

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 tidypredict version 1.2.1 [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