Skip to contents

Retrieve links on CRAN packages' R documentation files.

Usage

cran_links(packages = NULL)

Arguments

packages

A vector with packages or NULL for all packages.

Value

A data.frame with the links on CRAN's packages. It has 4 columns: Package, Anchor, Target and Source.

See also

The raw source of the data is: CRAN_rdxrefs_db().

Other links from CRAN: cran_pages_links(), cran_pkges_links(), cran_targets_links()

Other meta info from CRAN: cran_alias(), cran_archive(), cran_comments(), cran_history()

Examples

cl <- cran_links("CytoSimplex")
head(cl)
#>       Package            Source                 Anchor                Target
#> 1 CytoSimplex     plotBinary.Rd                                  plotTernary
#> 2 CytoSimplex     plotBinary.Rd                ggplot2            geom_point
#> 3 CytoSimplex plotQuaternary.Rd                                  plotTernary
#> 4 CytoSimplex plotQuaternary.Rd                           writeQuaternaryGIF
#> 5 CytoSimplex plotQuaternary.Rd =plotQuaternary.simMat plotQuaternary.simMat
#> 6 CytoSimplex plotQuaternary.Rd                   grid                 arrow