tune Package hex logo. A black sticker with technicolor dials representing varying parameter values.

R-CMD-check Codecov test coverage Lifecycle: experimental CRAN status


The goal of tune is to facilitate hyperparameter tuning for the tidymodels packages. It relies heavily on recipes, parsnip, and dials.


Install from CRAN:

install.packages("tune", repos = "http://cran.r-project.org") #or your local mirror

or you can install the current development version using:

# install.packages("pak")


There are several package vignettes, as well as articles available at tidymodels.org, demonstrating how to use tune.

Good places to begin include:

More advanced resources available are:


This project is released with a Contributor Code of Conduct. By contributing to this project, you agree to abide by its terms.