getReposEntry {reposTools}R Documentation

A function to retrieve a ReposEntry object from a repository

Description

Will retrieve repository information from a specified repository, and pass back a ReposEntry object containing this information.

Usage

getReposEntry(repURL, repFile = "replisting", rddFile =
"repdatadesc.rda", rtFile = "repThemes.rda", method="auto") 

Arguments

repURL URL of the repository
repFile Name of the remote replisting file
rddFile Name of the remote dataframe RDA file.
rtFile Name of the remote theme RDA file.
method Method used for file downloads. See download.file

Details

More often then not, it will be more convenient for a user interacting with an R session to use the function repositories.

The symbolic names used to reference the URLs in the repositories2 option can also be used for the repURL argument.

The latter three options should be left to the defaults in almost all cases.

The remote replisting and (if available) repdatadesc.rda and repThemes.rda files are downloaded from the specified repository and combined to form a ReposEntry object.

Value

The constructed ReposEntry object, or NULL on failure.

Author(s)

Jeff Gentry

See Also

repositories, ReposEntry-class

Examples

  z <- getReposEntry("http://www.bioconductor.org/repository/sample/package")
  z

  a <- getReposEntry("BIOCcdf")
  repURL(a)
  a

[Package reposTools version 1.8.0 Index]