buildPkgInfo {reposTools}R Documentation

A constructor function for the pkgInfo class

Description

Returns a created pkgInfo object

Usage

buildPkgInfo(name, vers, path = "", relLevel="release",
             contains=character())

Arguments

name Name of the package
vers Package version
path Path to the package on the system
relLevel The release level of the package
contains If this a bundle, what packages it contains

Details

Argument 'vers' can be either a character string or of the class 'VersionNumber'. If the former, it will be coerced into a 'VersionNumber' object.

Author(s)

Jeff Gentry

See Also

pkgInfo

Examples

a <- buildPkgInfo("foo","1.2.3")

[Package reposTools version 1.8.0 Index]