The R Project SVN R

Rev

Rev 34282 | Rev 42333 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 34282 Rev 35431
Line 18... Line 18...
18
  \item{fields}{a character vector giving the tags of fields to return
18
  \item{fields}{a character vector giving the tags of fields to return
19
    (if other fields occur in the file they are ignored).}
19
    (if other fields occur in the file they are ignored).}
20
  \item{drop}{If \code{TRUE} and the length of \code{fields} is 1, then
20
  \item{drop}{If \code{TRUE} and the length of \code{fields} is 1, then
21
    a single character string with the value of the respective field is
21
    a single character string with the value of the respective field is
22
    returned instead of an object of class \code{"packageDescription"}.}
22
    returned instead of an object of class \code{"packageDescription"}.}
23
  \item{encoding}{If there is an \code{Encoding} field, what re-encoding
23
  \item{encoding}{If there is an \code{Encoding} field, to what encoding
24
    should be attempted?  If \code{NA}, no re-encoding.}
24
    should re-encodong be attempted?  If \code{NA}, no re-encoding.  The
-
 
25
    other values are as used by \code{\link{iconv}}, so the default
-
 
26
    \code{""} indicates the encoding of the current locale.}
25
}
27
}
26
\details{
28
\details{
27
  A package will not be \sQuote{found} unless it has a \file{DESCRIPTION} file
29
  A package will not be \sQuote{found} unless it has a \file{DESCRIPTION} file
28
  which contains a valid \code{Version} field.  Different warnings are
30
  which contains a valid \code{Version} field.  Different warnings are
29
  given when no package directory is found and when there is a suitable
31
  given when no package directory is found and when there is a suitable