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

Description Usage Arguments

Description

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

Usage

1
2
3
4
  create.R.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


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