packageDescription(pkg, lib.loc=NULL, fields=NULL, drop=TRUE, encoding="")
pkg
is installed.
The default searches the standard library locations.
TRUE,
and the length of
fields is one,
then a single character string is returned instead of an object
of class
"packageDescription"..
"packageDescription".
There is a
print method to display this.
The object
"packageDescription" object includes
a
"file" attribute that indicates the file system
location of the DESCRIPTION file.
If
drop=TRUE and the
fields is of length one,
a single character string containing the
fields
value from the DESCRIPTION file is returned.
packageDescription("main") # the main S+ package description
packageDescription("maps") # the maps package description