The R Project SVN R

Rev

Rev 89557 | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed

Rev 89557 Rev 90242
Line 14... Line 14...
14
}
14
}
15
\usage{
15
\usage{
16
package.skeleton(name = "anRpackage", list,
16
package.skeleton(name = "anRpackage", list,
17
                 environment = .GlobalEnv,
17
                 environment = .GlobalEnv,
18
                 path = ".", force = FALSE,
18
                 path = ".", force = FALSE,
19
                 code_files = character(), encoding = "unknown")
19
                 code_files = character(), encoding = "UTF-8")
20
}
20
}
21
\arguments{
21
\arguments{
22
  \item{name}{character string: the package name and directory name for
22
  \item{name}{character string: the package name and directory name for
23
    your package.  Must be a valid package name.}
23
    your package.  Must be a valid package name.}
24
  \item{list}{character vector naming the \R objects to put in the
24
  \item{list}{character vector naming the \R objects to put in the
Line 28... Line 28...
28
    \sQuote{Details}.}
28
    \sQuote{Details}.}
29
  \item{path}{path to put the package directory in.}
29
  \item{path}{path to put the package directory in.}
30
  \item{force}{logical: if \code{FALSE} will not overwrite an existing directory.}
30
  \item{force}{logical: if \code{FALSE} will not overwrite an existing directory.}
31
  \item{code_files}{a character vector with the paths to R code files to
31
  \item{code_files}{a character vector with the paths to R code files to
32
    build the package around.  See \sQuote{Details}.}
32
    build the package around.  See \sQuote{Details}.}
33
  \item{encoding}{optionally a character string specifying an
33
  \item{encoding}{a character string specifying the package encoding.
34
    \link{Encoding} for the package \file{DESCRIPTION} when
-
 
35
    non-ASCII characters will be used; often \code{"UTF-8"}.}
34
    Use \code{"unknown"} if only ASCII characters will be used.}
36
}
35
}
37
\value{
36
\value{
38
  Used for its side-effects.
37
  Used for its side-effects.
39
  Invisibly returns the path of the created package directory.
38
  Invisibly returns the path of the created package directory.
40
}
39
}