Skip to content

tidypredict

1.1.0

Run Predictions Inside the Database

3packages depend
21.3Kdownloads / year
70.5%test coverage
13/13checks pass

Overview

About
Maintained by Emil HvitfeldtFirst published 2018-01-1719 releasesCRAN page ↗GitHub ↗

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.

Install

Health

CRAN checks
13OK
Slowest check: 6.9 min · r-oldrel-macos-x86_64
Code health
Yes
Tests · ratio 1.82
70.5%
Coverage · measured lines
100%
Documentation · exports
9
Dependencies · direct
Check history
  • OK2026-07-04
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-07-03
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-19
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
  • WARNING2026-06-17
    12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE
  • OK2026-06-09
    13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE
Show 2 earlier snapshots
  • ERROR2026-06-08
    12 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE
  • OK2026-03-10
    14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE

Documentation

Documentation
READMEYes · 827 wordsVignettesYes · dynamicpkgdown siteNoNEWSYes · 100% structuredCode of conductNoContributing guideNo
Examples that run
88%
Documented parameters
100%
Return-value docs
7%
References docs
0%

Downloads

21.3K
CRAN downloads in the past year
Rank #3,180 · ~58/day · ~1.8K/mo
Daily download trend is not available in this view yet.
1.2K30 days
4K90 days
21.3K1 year
Compare downloads with other packages →
Also on178 r2u1 autocran3.8K conda_forge56 c2d4u

Repository

Repository
264Stars
33Forks
3Open issues
1Open PRs
14Releases
506Commits
20Contributors
rlangdplyrdbplyrpurrrr
506 commits · Last activity 2026-07-29 · 0% stars, 30d

Stars over time

2025-04-07 · 2562026-07-07 · 264

Repository practices

Upstream repositoryBeta

8 development-tooling and community-health practices detected across 5 families in the upstream repository

Checks run against github.com/tidymodels/tidypredict on 2026-07-30.

Continuous integration (1)
GitHub Actions
CRAN release process (2)
cran-comments.mdrevdep/
Docs source (1)
README.Rmd
Lint, format, editor (3)
AirVS CodeRStudio project
Show all practices
Coverage (1)
Codecov
How this is detected·Detection ruleset v1 (2026-07-18)

Dependencies

Declared dependencies
30 external dependencies (excludes base and recommended)
Depends (1)
R >= 3.6
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
3direct
0indirect

Code & Tests

People & History

People (3)
Maintainer (1)
Author, Maintainer · added in 0.5.1
Authors (3)
Author, Maintainer · added in 0.5.1
Author · added in 0.4.5
Package Timeline

19 releases. Pick two to compare their code metrics. R releases are shown for context.

  • R
    R 4.6.0 released · 2026-04-24
  • 1.1.0Latest
    2026-02-27 · current release · diff ↗
  • 1.0.1
    2025-12-13 · diff ↗
  • 1.0.0
    2025-11-29 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 0.5.1
    2024-12-19 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • 0.5
    2023-01-18 · diff ↗
  • 0.4.9
    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
    2020-10-28 · diff ↗
  • 0.4.7
    2020-10-05 · diff ↗
  • 0.4.6
    2020-07-23 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
Show 13 earlier events
  • 0.4.5
    2020-02-10 · diff ↗
  • 0.4.4
    2020-02-09 · diff ↗
  • 0.4.3
    2019-09-03 · diff ↗
  • 0.4.2
    2019-07-15 · diff ↗
  • 0.4.1
    2019-07-15 · diff ↗
  • 0.4.0
    2019-07-13 · diff ↗
  • R
    R 3.6.0 released · 2019-04-26
  • 0.3.0
    2019-01-10 · diff ↗
  • 0.2.1
    2018-12-20 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • 0.2.0
    2018-02-26 · diff ↗
  • 0.1.0
    2018-01-17
  • R
    R 3.4.0 released · 2017-04-21

Package metadata

First published
2018-01-17
Total releases
19 / 8 yrs
License
MIT + file LICENSE OSI
Minimum R
≥ 3.6
Download size
336 KB
Installed size
not tracked yet
With dependencies
not tracked yet
Appears in task views
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