R: Collect HTML Links from Package Documentation: Collect HTML Links from Package Documentation

Description

Compute relative file paths for URLs to other package's installed HTML documentation.

Usage

1
findHTMLlinks(pkgDir = "", lib.loc = NULL, level = 0:2)

Arguments

pkgDir

the top-level directory of an installed package. The default indicates no package.

lib.loc

character vector describing the location of R library trees to scan: the default indicates .libPaths().

level

Which level(s) to include.

Details

findHTMLlinks tries to resolve links from one help page to another. It uses in decreasing priority

Value

A named character vector of file paths, relative to the ‘html’ directory of an installed package. So these are of the form ‘"../../somepkg/html/sometopic.html"’.

Author(s)

Duncan Murdoch, Brian Ripley

Questions? Problems? Suggestions? or email at ian@mutexlabs.com.

All documentation is copyright its authors; we didn't write any of that.