pkg_browse: Open URL(s) of packages in a browser

Description Usage Arguments Details Value Note

View source: R/info.R

Description

Opens the URLs of the given packages in the web browser. If package versions are also given, then the URLs are taken from the specified versions of the packages.

Usage

1
pkg_browse(pkgs, browser = getOption("browser"))

Arguments

pkgs

The package(s), optionally with version numbers after a dash.

browser

Passed to utils::browseURL.

Details

If a package has multiple URLs, then all are opnened.

Value

The URLs of the packages, in a list, invisibly.

Note

On OSX, there seems to be bug that prevents opening more than three tabs within a short period of time, so some URLs might not open.


metacran/rpkg documentation built on May 22, 2017, 4:23 a.m.