use_cpp11: Use C++ via the cpp11 package

View source: R/cpp11.R

use_cpp11R Documentation

Use C++ via the cpp11 package

Description

Adds infrastructure needed to use the cpp11 package, a header-only R package that helps R package developers handle R objects with C++ code. compiled code:

  • Creates src/

  • Adds cpp11 to DESCRIPTION

  • Creates src/code.cpp, an initial placeholder .cpp file

Usage

use_cpp11()

usethis documentation built on May 28, 2022, 1:09 a.m.