Skip to contents

This function setups the package to use the distops package. It first creates the DESCRIPTION file adding the Rcpp and RcppParallel packages to both the Imports: and LinkingTo: fields and the distops package to the LinkingTo: field. It also adds the SystemRequirements: GNU make field. It then creates the NAMESPACE file adding the importFrom() directives for the Rcpp and RcppParallel packages and the useDynLib() directive for packages with compiled code. It finally creates the src/Makevars and src/Makevars.win files with the appropriate compilation flags.

Usage

use_distops()

Value

Nothing.

Examples

# \donttest{
use_distops()
#> NULL
# }