Skip to contents

Lists functions that are defined in multiple artaverse packages currently attached to the search path. When a function exists in multiple packages, the version from the package loaded last takes precedence.

Usage

artaverse_conflicts(only_artaverse = TRUE)

Arguments

only_artaverse

Logical. If TRUE (default), only shows conflicts between artaverse packages. If FALSE, also shows conflicts with non-artaverse packages.

Value

Invisibly returns a data.table with columns:

  • func: Function name

  • winner: Package whose version is active (loaded last)

  • loser: Package(s) whose version is masked

Prints a formatted summary to the console.

Examples

if (FALSE) { # \dontrun{
# Show conflicts between artaverse packages
artaverse_conflicts()

# Show all conflicts (including base R and other packages)
artaverse_conflicts(only_artaverse = FALSE)
} # }