Learn R Programming

Kmisc (version 0.5.0)

prepare_package: Prepare Package

Description

This function prepares the package such that all the C / C++ source files are concatenated into one file (for each source). This decreases compilation time, and produces a tarball that can be used for submission to CRAN.

Usage

prepare_package(build = TRUE, check = TRUE, install = FALSE, copy.tarball = TRUE)

Arguments

build
Build the package with R CMD build?
check
Check the package with R CMD check?
install
Install the package with R CMD INSTALL? Only done if build is TRUE as well.
copy.tarball
If build && copy.tarball, we copy the tarball generated by R CMD build to the "dist" folder.