Learn R Programming

downlit (version 0.4.4)

href_topic: Generate url for topic/article/package

Description

Generate url for topic/article/package

Usage

href_topic(topic, package = NULL, is_fun = FALSE)

href_article(article, package = NULL)

href_package(package)

Value

URL topic or article; NA if can't find one.

Arguments

topic, article

Topic/article name

package

Optional package name. If not supplied, will search in all attached packages.

is_fun

Only return topics that are (probably) for functions.

Examples

Run this code
href_topic("t")
href_topic("DOESN'T EXIST")
href_topic("href_topic", "downlit")

href_package("downlit")

Run the code above in your browser using DataLab