Retrieve links of repository packages to other packages' documentation.
Value
A data.frame with the links on packages. It has 4 columns: Package, Anchor, Target and Source. NA if not able to collect the data from the repository.
See also
Other links from CRAN:
cran_links(),
cran_pages_links(),
cran_pkges_links(),
cran_targets_links()
Other meta info from CRAN:
cran_alias(),
cran_archive(),
cran_comments(),
cran_history(),
cran_links()
Examples
oldrepos <- getOption("repos")
setRepositories(ind = c(1, 2), addURLs = "https://cran.r-project.org")
head(links(c("ggplot2", "BiocCheck")))
#> Package Source Anchor Target
#> 1 ggplot2 Coord.Rd =ggproto ggproto()
#> 2 ggplot2 Coord.Rd Layout
#> 3 ggplot2 Coord.Rd =complete_theme complete theme
#> 4 ggplot2 Coord.Rd =complete_theme complete theme
#> 5 ggplot2 Coord.Rd =complete_theme complete theme
#> 6 ggplot2 Coord.Rd =complete_theme complete theme
# Clean up
options(repos = oldrepos)