Skip to content

tidypredict

Run Predictions Inside the Database

v1.1.0 · Feb 26, 2026 · MIT + file LICENSE

Description

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. It currently supports lm(), glm(), randomForest(), ranger(), rpart(), earth(), xgb.Booster.complete(), lgb.Booster(), catboost.Model(), cubist(), and ctree() models.

Downloads

1.5K

Last 30 days

3199th

4.4K

Last 90 days

21K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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

Check History

OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (3)

imports

suggests

Dependency Network

Dependencies Reverse dependencies cli dplyr generics jsonlite knitr purrr rlang tibble tidyr dbglm modeldb orbital tidypredict

Version History

new 1.1.0 Mar 10, 2026
updated 1.1.0 ← 1.0.1 diff Feb 26, 2026
updated 1.0.1 ← 1.0.0 diff Dec 12, 2025
updated 1.0.0 ← 0.5.1 diff Nov 28, 2025
updated 0.5.1 ← 0.5 diff Dec 18, 2024
updated 0.5 ← 0.4.9 diff Jan 17, 2023
updated 0.4.9 ← 0.4.8 diff May 24, 2022
updated 0.4.8 ← 0.4.7 diff Oct 27, 2020
updated 0.4.7 ← 0.4.6 diff Oct 4, 2020
updated 0.4.6 ← 0.4.5 diff Jul 22, 2020
updated 0.4.5 ← 0.4.4 diff Feb 9, 2020
updated 0.4.4 ← 0.4.3 diff Feb 8, 2020
updated 0.4.3 ← 0.4.2 diff Sep 2, 2019
updated 0.4.1 ← 0.4.0 diff Jul 14, 2019
updated 0.4.2 ← 0.4.1 diff Jul 14, 2019
updated 0.4.0 ← 0.3.0 diff Jul 12, 2019
updated 0.3.0 ← 0.2.1 diff Jan 9, 2019
updated 0.2.1 ← 0.2.0 diff Dec 19, 2018
updated 0.2.0 ← 0.1.0 diff Feb 25, 2018
new 0.1.0 Jan 16, 2018