go: Showing information about a package

View source: R/packagefinder.r

goR Documentation

Showing information about a package

Description

Allows to inspect a package found with findPackage() by showing detailed CRAN information on the package, opening its manual (PDF) or pulling up the package's website. Also allows to install the package right away.

Usage

go(package, where.to = "details", index = NULL)

Arguments

package

Either the name of the package (capitalization does generally not matter) or the search result number shown in the results of findPackage() (the number in the GO column).

where.to

Either "details" (default), "manual", "website", or "install". With "details", go() presents a set of CRAN information on the package, where.to = "manual" opens the package's PDF manual from the web and where.to = "website" pulls up the package's website(s), if any website is provided by the package maintainer. where.to = "install" installs the package (including dependencies).

index

Either a path (or URL) to a search index, or a search index that is already loaded. If no index is provided, go() creates an ad hoc search index.

Details

go() is made to inspect a package found with findPackage() and to decide whether or not this package serves the intended purposes.

Value

No return value.

Author(s)

Joachim Zuckarelli joachim@zuckarelli.de


packagefinder documentation built on Aug. 8, 2023, 5:14 p.m.