pkgListing-class {reposTools}R Documentation

A class to coordinate repository package information

Description

Coordinates package information from multiple repositories, maintaining a list of packages, version information and which versions of which packages are from which repositories.

Objects from the Class

Objects can be created by calls of the form new("pkgListing", ...). Also, a convenience function, buildPkgListing has been provided which will construct the pkgListing from just a reposList object.

Slots

pkgList:
A list, detailing packages and versions
repList:
Object of class "ReposList", defines the known repositories.

Methods

show
signature(object = "pkgListing"): Summarizes information stored.
downloadRepFile
signature(object = "pkgListing"): Downloads a given file from one of the known repositories.
getRepEntry
signature(object = "pkgListing"): Retrieves a specific repEntry object from the repository listing.
getRepURL
signature(object = "pkgListing"): Retrieves the URL for a specific repository in the object
packages
signature(object = "pkgListing"): Lists available packages in the known repositories.
pkgList
signature(object = "pkgListing"): Retrieves the pkgList slot
pkgVersionList
signature(object = "pkgListing"): Returns a more formatted list representing the information in the pkgList slot, allowing for the names to be replaced with repository names or URLs as well.
repListing
signature(object = "pkgListing"): Retrieves a replisting slot from one of the known repositories.
repList
signature(object = "pkgListing"): Retrieves the repList slot.
summary
signature(object = "pkgListing"): A briefer summary of contents then show

Author(s)

Jeff Gentry

See Also

buildPkgListing, ReposList, ReposEntry

Examples

##---- Should be DIRECTLY executable !! ----

[Package reposTools version 1.8.0 Index]