Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

use_cpp11

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

Automate Package and Project Setup

v2.0.1
MIT + file LICENSE
Authors
Hadley Wickham [aut] (<https://orcid.org/0000-0003-4757-117X>), Jennifer Bryan [aut, cre] (<https://orcid.org/0000-0002-6983-2759>), RStudio [cph, fnd]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.