use_cpp11: Use C++ via the cpp11 package

View source: R/cpp11.R

use_cpp11R Documentation

Use C++ via the cpp11 package


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

  • Creates ⁠src/⁠

  • Adds cpp11 to DESCRIPTION

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



usethis documentation built on July 9, 2023, 7:23 p.m.