localPkg-class {reposTools}R Documentation

Class "localPkg": A class to represent locally installed packages

Description

This class is used to represent a package, and the information necessary for repository management

Objects from the Class

Objects can be created by calls of the form new("localPkg", ...).

Slots

Package:
Object of class "character" The name of the package
PkgVersion:
Object of class "VersionNumber" The version of the package
Keywords:
Object of class "character" Keywords for the package
Depends:
Object of class "character" Dependencies for the package
Suggests:
Object of class "character" Suggests level dependencies of the package
Imports:
Object of class "character" Imports level dependencies for the package
Repos:
Object of class "character" The repository that this package was obtained from
Bundle:
Object of class "character" Reports which (if any) package bundle this package is a part of

Methods

Depends
signature(object = "localPkg"): Returns the Depends slot
Keywords
signature(object = "localPkg"): Returns the Keywords slot
Package
signature(object = "localPkg"): Returns the Package slot
PkgVersion
signature(object = "localPkg"): Returns the PkgVersion slot
Repos
signature(object = "localPkg"): Returns the Repos slot
Suggests
signature(object = "localPkg"): Returns the Suggests slot
Imports
signature(object = "localPkg"): Returns the Imports slot
Bundle
signature(object = "localPkg"): Returns the Bundle slot

Author(s)

Jeff Gentry

See Also

syncLocalLibList, install.packages2

Examples






[Package reposTools version 1.8.0 Index]