ReposEntry-class {reposTools}R Documentation

A class to represent a repository

Description

This class models all key information for a server side repository, which can then be passed on to clients. It provides access to both the basic administrative information as well as the dataframe itself.

Objects from the Class

The helper function buildReposEntry should be used to create objects of this class.

Slots

replisting:
Object of class "replisting" The administrative information for the repository
repdatadesc:
Object of class "repdatadesc" The representative dataframe for this repository
reopsThemes:
Object of class "list" The list of themes for this repository.

Methods

show
signature(object = "ReposEntry"): A verbose output of the repository
summary
signature(object = "ReposEntry"): A brief output of the repository
repdatadesc
signature(object = "ReposEntry"): Returns the repdatadesc object
repdataframe
signature(object = "ReposEntry"): Returns the raw dataframe stored in repdatadesc
replisting
signature(object = "ReposEntry"): Returns the replisting object
reposThemes
signature(object = "ReposEntry"): Returns the reposThemes slot
repName
signature(object = "ReposEntry"): Returns the name of the repository
repReleaseLevel
signature(object = "ReposEntry"): Returns the release level of this repository.
repObjects
signature(object = "ReposEntry"): Returns a listing of all distributable objects contained in the repository
repPkgInfos
signature(object = "ReposEntry"): Returns a list of PkgInfo objects for packages stored in the repository
repType
signature(object = "ReposEntry"): Returns a string representing the type of data stored in the repository
repURL
signature(object = "ReposEntry"): Returns the URL of the repository
depends
signature(object = "ReposEntry"): Returns the dependencies for a given package
suggests
signature(object = "ReposEntry"): Returns the suggests field for a given package
imports
signature(object = "ReposEntry"): Returns the imports field for a given package
keywords
signature(object = "ReposEntry"): Returns the keywords field for a given package
numSubReps
signature(object = "ReposEntry"): Returns the number of available subrepositories
getSubRep
signature(object = "ReposEntry"): Returns a ReposEntry object for a given subrepository
getSubRepList
signature(object = "ReposEntry"): Returns a ReposList object for all subrepositories
hasFiles
signature(object = "ReposEntry"): Whether or not this repository has any downloadable files
pkgRVersion
signature(object = "ReposEntry"): Returns the version of R that a package was built under
downloadFile
signature(object = "ReposEntry"): Will download a requested file and return the new filename

Author(s)

Jeff Gentry

See Also

repdatadesc-class,replisting-class, buildReposEntry, ReposList

Examples

   ## TBD

[Package reposTools version 1.8.0 Index]