compiles a package

Share:

Description

From the standard directory containing the package sources, launches the checking and building by R itself. Pdf manual and tar ball can be placed in another directory.

Usage

1
2
3
4
5
 
  compile8pkg(pkg,pkgdir,
              chkdir=getwd(),resdir=getwd(),
              what="pz",
              display=FALSE) 

Arguments

pkg

Name of the package.

pkgdir

Directory where the building of the package has been prepared. Probably by the function prepare8pkg.

chkdir

Directory where to put the directory where "R" makes the checking. Must exist.

resdir

Directory where to copy the resulting files. Must exist.

what

character(1). Which resulting file to copy: p for the pdf manual and z for the tar.gz ball.

display

Must indications about the process progress be displayed on the screen?

Value

Nothing but the check, the compilation, [the copy of the manual, the tar.gz] are performed.

Future

Make display more efficient when FALSE.

See Also

prepare8pkg