create.Rcpp.project: Create CMake script for R extension with Rcpp

Description Usage Arguments See Also

View source: R/create.package.R

Description

Create CMake script with: - add $R_HOME/include into include directories - add $R_CPP_ROOT/include into include directories - add R CMD INSTALL as build tools

Usage

1
2
3
4
  create.Rcpp.project(name = "anRpackage", path = ".",
    is_roxygenize = FALSE,
    roclets = c("collate", "namespace", "rd"),
    includes_directory = c())

Arguments

name

name of project

path

the CMakeLists.txt will be created at path/name

is_roxygenize

If call R to execute roxygenize before building or not

roclets

A parameter which will be passed to roxygenize. Please see roxygenize

includes_directory

Additional include directories

See Also

create.R.project


wush978/RCMake documentation built on May 4, 2019, 12:01 p.m.