Learn R Programming

repo.data (version 0.1.5)

duplicated_alias: Report duplicated alias

Description

Report duplicated alias

Usage

duplicated_alias(alias)

Value

A sorted data.frame with the Target, Package and Source of the duplicate alias.

Arguments

alias

The output of cran_alias() or base_alias()

See Also

Other utilities: cran_date(), cran_doom(), cran_snapshot(), package_date(), package_repos(), repos_dependencies(), update_dependencies()

Examples

Run this code
# Checking the overlap between to seemingly unrelated packages:
alias <- cran_alias(c("fect", "gsynth"))
if (length(alias) >= 1L) {
   dup_alias <- duplicated_alias(alias)
   head(dup_alias)
}

Run the code above in your browser using DataLab