| pkgStatusList-class {reposTools} | R Documentation |
Class "pkgStatusList", maintains status for multiple packages
Description
Maintains a set of pkgStatus objects, and methods
for interacting with them.
Objects from the Class
Objects can be created by calls of the form new("pkgStatusList", ...).
Slots
statusList:- Object of class
"list", a list of
pkgStatus objects
matchesList:- Object of class
"list", a list
detailing any potential matches found for packages that were not
found, in the event there were typos.
Methods
- show
- Summarizes the information stored in the listing
- statusList
- Returns the
statusList slot
- statusList<-
- Edits the
statusList slot. User can pass
in another pkgStatusList, a pkgStatus object, or a
list. Appends that information on to the current
statusList
- matchesList
- Returns the
matchesList slot
- matchesList<-
- Edits the
matchesList slot. User can
pass in a list, and the information will be appended to the
current.
- packages
- Returns the names of all packages being handled
- found
- Returns a numerical vector representing which positions
in the
statusList have been found
- notFound
- Returns a numerical vector representing which
positions have not been found
- updated
- Returns a numerical vector representing which
positions have been updated
- notUpdated
- Returns a numerical vector representing which
positions have not been updated
- urls
- Returns the urls from all of the contained
pkgStatus instances
- pkgVersions
- Returns the version number of all handled
packages
- foundPkgs
- Returns the names of the found packages
- notFoundPkgs
- Returns the names of the packages that were not
found
- updatedPkgs
- Returns the names of the updated packages
- getPackage
- Gets the name of a particular package
- getFound
- Retrieves the
found slot for a particular
position
- getUpdated
- Whether or not a particular package was updated
- getUrl
- A particular package's url
- getPkgVersion
- A particular package's version number
Author(s)
Jeff Gentry
See Also
pkgStatus
Examples
##---- Should be DIRECTLY executable !! ----
[Package
reposTools version 1.5.14
Index]