Skip to contents

Explore the relationship between CRAN packages and other packages. If the target package is ambiguous it is omitted.

Usage

cran_pkges_links(packages = NULL)

Arguments

packages

A vector with packages or NULL for all packages.

Value

A data.frame with 6 columns: from_pkg, to_pkg, n (Number of links). NA if not able to collect the data from CRAN.

See also

Examples

# \donttest{
cpkl <- cran_pkges_links()
#> Warning: Some packages are not currently available. Omitting packages:
#> ‘bartMachineJARs’, ‘BEACH’, ‘clean’, ‘fontBitstreamVera’, ‘fontLiberation’, ‘free1way.docreg’, ‘GreedyExperimentalDesignJARs’, ‘hse’, ‘LifeInsuranceContracts’, ‘openNLPdata’, ‘RKEAjars’, ‘RMOAjars’, ‘ROI.plugin.cplex’, ‘ROI.plugin.glpk’, ‘ROI.plugin.ipop’, ‘ROI.plugin.symphony’, ‘rsparkling’, ‘RWekajars’, ‘Sejong’.
#> Warning: Some packages are not currently available. Omitting packages:
#> ‘bartMachineJARs’, ‘BEACH’, ‘clean’, ‘fontBitstreamVera’, ‘fontLiberation’, ‘free1way.docreg’, ‘GreedyExperimentalDesignJARs’, ‘hse’, ‘LifeInsuranceContracts’, ‘openNLPdata’, ‘RKEAjars’, ‘RMOAjars’, ‘ROI.plugin.cplex’, ‘ROI.plugin.glpk’, ‘ROI.plugin.ipop’, ‘ROI.plugin.symphony’, ‘rsparkling’, ‘RWekajars’, ‘Sejong’.
#> Warning: Some links are distinct depending on the OS.
head(cpkl)
#>     from_pkg     to_pkg  n
#> 1   AATtools   AATtools  3
#> 2 ABCDscores ABCDscores  3
#> 3   ABCoptim   graphics  3
#> 4   ABCoptim      stats  3
#> 5        ABM        ABM 39
#> 6       ACDm     Rsolnp  3
# }