conflicted-package: conflicted: An Alternative Conflict Resolution Strategy

conflicted-packageR Documentation

conflicted: An Alternative Conflict Resolution Strategy

Description

R's default conflict management system gives the most recently loaded package precedence. This can make it hard to detect conflicts, particularly when they arise because a package update creates ambiguity that did not previously exist. 'conflicted' takes a different approach, making every conflict an error and forcing you to choose which function to use.

Resolving conflicts

To permanently resolve a conflict within a session, use assignment:

library(conflicted)
library(dplyr)

filter <- dplyr::filter

Author(s)

Maintainer: Hadley Wickham hadley@posit.co

Other contributors:

  • Posit Software, PBC [copyright holder, funder]

See Also

Useful links:


r-lib/conflicted documentation built on Feb. 27, 2024, 8:58 p.m.