Package 'tidymodels'

Title: Easily Install and Load the 'Tidymodels' Packages
Description: The tidy modeling "verse" is a collection of packages for modeling and statistical analysis that share the underlying design philosophy, grammar, and data structures of the tidyverse.
Authors: Max Kuhn [aut, cre] , Hadley Wickham [aut], Posit Software, PBC [cph, fnd]
Maintainer: Max Kuhn <[email protected]>
License: MIT + file LICENSE
Version: 1.2.0.9000
Built: 2024-11-15 06:24:40 UTC
Source: https://github.com/tidymodels/tidymodels

Help Index


List all dependencies

Description

List all dependencies

Usage

pkg_deps(x = "tidymodels", recursive = FALSE)

Arguments

x

A character string for the packages being evaluated.

recursive

If TRUE, will also list all dependencies of tidymodels packages.


Facilities for loading and updating other packages

Description

The tidymodels metapackage contains a set of tags for specific topics in modeling and analysis. These can be used to load packages in groups.

Usage

tag_show()

tag_attach(tag)

tag_update(tag)

Arguments

tag

A character strong for the tag. Current options are: 'Bayesian analysis', 'deep learning', 'ensembles', 'extra models', 'extra recipes', 'feature engineering', 'interpretation', 'parallel processing', 'parameter tuning', 'resampling', 'text analysis', 'time series', and 'visualization'.

Examples

tag_show()

Conflicts between the tidymodels and other packages

Description

This function lists all the conflicts between packages in the tidymodels and other packages that you have loaded.

Usage

tidymodels_conflicts()

Details

There are four conflicts that are deliberately ignored: intersect, union, setequal, and setdiff from dplyr. These functions make the base equivalents generic, so shouldn't negatively affect any existing code.

To manage conflicts, you can use the conflicted package. To prefer tidymodels functions over other functions, use tidymodels_prefer().

See Also

tidymodels_prefer()

Examples

tidymodels_conflicts()

List all packages in the tidymodels

Description

List all packages in the tidymodels

Usage

tidymodels_packages(include_self = TRUE)

Arguments

include_self

Include tidymodels in the list?

Examples

tidymodels_packages()

Resolve conflicts between tidymodels packages and others

Description

tidymodels_prefer() uses the conflicted package to handle common conflicts with tidymodels and other packages.

Usage

tidymodels_prefer(quiet = TRUE)

Arguments

quiet

If TRUE, all output will be suppressed

Details

The list of conflicts includes several dozen that are known issues with other packages.

Note that the conflicted package is used to manage which packages take precedence. Using tidymodels_prefer() will turn on general conflict resolution during the R session.

See Also

tidymodels_conflicts()

Examples

tidymodels_prefer(quiet = FALSE)

Update tidymodels packages

Description

This will check to see if all tidymodels packages (and optionally, their dependencies) are up-to-date, and will install after an interactive confirmation.

Usage

tidymodels_update(pkg = "tidymodels", recursive = FALSE, ...)

Arguments

pkg

A character string for the model being updated.

recursive

If TRUE, will also check all dependencies of tidymodels packages.

...

Extra arguments to pass to utils::install.packages()

Value

Nothing is returned but a message is printed to the console about which packages (if any) should be installed along with code to do so.

Examples

## Not run: 
tidymodels_update()

## End(Not run)