R Observatory
Search
install.packages("tidypredict")
CRAN 30-day downloads, method
1,676−21.6% down on the 30 days before, the worse direction
Test coverage, method
84%of lines run by tests

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.

Full 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. Dozens of model classes are supported; see the "Supported models" article at <https://tidypredict.tidymodels.org/articles/models.html> for the current list.

Maintainer
Emil Hvitfeldt
Latest release
18 Oct 2026
First release
17 Jan 2018

Compare with another package

More details
Releases
23
Needs compilation
No
Needs R
>= 4.1
Config/Needs/website
tidyverse/tidytemplate
Config/roxygen2/version
8.0.0
Config/testthat/edition
3
Config/usethis/last-upkeep
2026-08-19
Task views (1)
Collections (1) Method, Collections
  • tidymodels, in the tidymodels organization on GitHub
Subjects (1) Method, Subjects
Cite

Package

Run in R for the authors' preferred citation:

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

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

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.2 [Data set]. HJJB, LLC. Data release v2026-10-26. https://doi.org/10.5281/zenodo.21843040
About

From data release v2026-10-26, which the citation names so these numbers can be found later.

All 13 check platforms pass.

  • r-devel-linux-x86_64-debian-clang

    The unreleased R on Linux, x86_64, debian-clang

    OK

    Version checked
    1.2.2
    Options
    --no-examples --no-tests --no-vignettes
    Time taken
    101 s
  • r-devel-linux-x86_64-debian-gcc

    The unreleased R on Linux, x86_64, debian-gcc

    OK

    Version checked
    1.2.2
    Options
    --no-examples --no-tests --no-vignettes
    Time taken
    69 s
  • r-devel-linux-x86_64-fedora-clang

    The unreleased R on Linux, x86_64, fedora-clang

    OK

    Version checked
    1.2.2
    Time taken
    339 s
  • r-devel-linux-x86_64-fedora-gcc

    The unreleased R on Linux, x86_64, fedora-gcc

    OK

    Version checked
    1.2.2
    Time taken
    349 s
  • r-devel-windows-x86_64

    The unreleased R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    642 s
  • r-oldrel-macos-arm64

    The previous release of R on macOS, arm64

    OK

    Version checked
    1.2.2
    Time taken
    182 s
  • r-oldrel-macos-x86_64

    The previous release of R on macOS, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    1,002 s
  • r-oldrel-windows-x86_64

    The previous release of R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    746 s
  • r-patched-linux-x86_64

    The patched release of R on Linux, x86_64

    OK

    Version checked
    1.2.2
    Options
    --no-examples --no-tests --no-vignettes
    Time taken
    88 s
  • r-release-linux-x86_64

    The current release of R on Linux, x86_64

    OK

    Version checked
    1.2.2
    Options
    --no-examples --no-tests --no-vignettes
    Time taken
    91 s
  • r-release-macos-arm64

    The current release of R on macOS, arm64

    OK

    Version checked
    1.2.2
    Time taken
    131 s
  • r-release-macos-x86_64

    The current release of R on macOS, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    950 s
  • r-release-windows-x86_64

    The current release of R on Windows, x86_64

    OK

    Version checked
    1.2.2
    Time taken
    500 s
  • 13 OK

Over time

No change since 21 Oct 2026

As a list (11)
ChangedWorst statusOKNotesWarningsErrors
21 Oct 2026OK13000
28 Sep 2026Error11002
4 Aug 2026OK13000
1 Aug 2026Note12100
4 Jul 2026OK13000
3 Jul 2026Warning12010
19 Jun 2026OK13000
17 Jun 2026Warning12010
9 Jun 2026OK13000
8 Jun 2026Error12001
10 Mar 2026OK14000

Since March 2026

Check results on CRAN

Total downloads in the last 30 days
2,383−2.3% down on the 30 days before, the worse directionIt is the sum of 5 channels: CRAN, r2u, autoCRAN, conda-forge and c2d4u.

CRAN rank

2,923 of 26,529

CRAN

1,676 downloads in the last 30 days

Rank
2,923 of 26,529
Change
−21.6% down on the 30 days before, the worse direction

It is in the total. Take it out

r2u

31 downloads in the last 30 days

Rank
3,900 of 30,526
Change
+10.7% up on the 30 days before, the better direction

It is in the total. Take it out

autoCRAN

1 downloads in the last 30 days

Rank
25,624 of 29,130
Change
−94.4% down on the 30 days before, the worse direction

It is in the total. Take it out

conda-forge

669 downloads in the last 30 days

Rank
1,274 of 3,828
Change
+182% up on the 30 days before, the better direction

It is in the total. Take it out

c2d4u, no longer updated

6 downloads in the last 30 days

Rank
2,703 of 7,575
Change
−66.7% down on the 30 days before, the worse direction

It is in the total. Take it out

Over time

Compare downloads

Needs
11
Dependent packages
2
Suggested by
1
Needs (11)
Installing it adds
26 packages, 19.6 MB of source
Of those, need compilation
15
Optional extras (48)
Dependent packages (2)
PackageTitleDownloads in 30 days
modeldbFits Models Inside the Database398
dbglmGeneralised Linear Models by Subsampling and One-Step Polishing274
Functions
662
Public exports
42
Lines of R code
14,431
Median complexity
1
Functions (662)
Size and composition

Lines by kind (46,638)

KindLinesShare
R code14,43131%
Tests26,73657%
Documentation1,2623%
Guides4,2099%

Lines by language

LanguageLinesShare
R38,80483%
Vignettes4,1339%
Markdown2,2895%
Rd1,2623%
Other1160.2%
JSON340.1%

Languages are counted from file extensions.

Files
381
R functions
662
Object systems
S3: 259 methods
Deprecated functions
11
Complexity
Median
1
Mean
2.29
Highest
19
Median lines per function
10
About complexity

Cyclomatic complexity counts the independent paths through a function: 1 is a straight line, higher is harder to test. R functions only.

Call graph figures
R functions
662
Calls
922
Unconnected
68
Groups
9
Growth (23 releases)
Total lines by release
1,778 on 17 Jan 201846,638 on 18 Oct 2026
Release changes

The tests ran and coverage was measured.

Lines run by tests
83.8%
Expressions run by tests
84%
Test cases
1,226
Exports named in tests
50%
Coverage by file (54)
Coverage run
Lines counted
6,900
Lines the tests ran
5,779
Tests passed
Yes
Measured with
covr 3.6.5 on R 4.6.1
Test suite
Has tests
Yes
Test frameworks
testthat
Test cases
1,226
Snapshot tests
303
Lines of tests
26,736
Test lines per line of code
1.85

Funded by Posit Software, PBC

tidymodels / tidypredict on github.com

Stars
265+0.38% up on 30 days ago, the better direction
Forks
34
Open issues
4
Last commit
18 Oct 2026
Activity
Commits
626
Open pull requests
0
Tagged releases
18
Latest tagged release
v1.2.2, 18 Oct 2026
In development
Default branch at 1.2.2.9000, ahead of CRAN 1.2.2 (checked 2026-10-25)
Issues closed in
3 days (median)
Pull requests closed in
0 days (median)
Pull requests merged
100%
Created
18 Dec 2017
Licence file reads as
–
Development practices (15)
KindFound
Continuous integrationGitHub Actions, R CMD check workflow
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
Governance and communityCode of conduct, Contributing guide
Docs sourceREADME.Rmd, pkgdown
GitHub Pages site last deployed 2026-10-18
The repository has a site deploy workflow
pkgdown site last built 2026-10-18
CoverageCoverage reporting (Codecov)
CRAN release processcran-comments.md, revdep/, CRAN-SUBMISSION
Lint, format, editorAir, VS Code, RStudio project

Method, repository practices

Across tidymodels

Tools

ToolFirst seenFound
Claude Code11 Feb 2026Seen in the repository.claude.claude/skillsNamed in .Rbuildignore.claude
  • Seen in the repository
  • Named in .Rbuildignore

Across tidymodels

R releases
  • On CRAN
  • Facing archival
  • Release
VersionReleasedREvents
1.2.2 current18 Oct 20264.6.1Fix due 18 Oct 2026
The checks were fixed and the deadline was lifted.
1.2.19 Sep 20264.6.1
1.2.04 Sep 20264.6.1
1.1.124 Aug 20264.6.1
1.1.027 Feb 20264.5.2
1.0.113 Dec 20254.5.2
1.0.029 Nov 20254.5.2
0.5.119 Dec 20244.4.2Maintainer: Emil Hvitfeldt
Earlier versions (15)
VersionReleasedREvents
0.518 Jan 20234.2.2Maintainer: Edgar Ruiz
0.4.925 May 20224.2.0Licence: MIT + file LICENSE
0.4.828 Oct 20204.0.3
0.4.75 Oct 20204.0.2
0.4.623 Jul 20204.0.2
0.4.510 Feb 20203.6.2Maintainer: Max Kuhn
0.4.49 Feb 20203.6.2
0.4.33 Sep 20193.6.1
0.4.215 Jul 20193.6.1
0.4.115 Jul 20193.6.1
0.4.013 Jul 20193.6.1
0.3.010 Jan 20193.5.2
0.2.120 Dec 20183.5.2
0.2.026 Feb 20183.4.3
0.1.017 Jan 20183.4.3

Relicensed from GPL-3 in version 0.4.9.

Release notes (1.2.2)
  • Update vignette to avoid error with new parsnip release.