File: use_cpp11.Rd

package info (click to toggle)
r-cran-usethis 3.1.0-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 2,228 kB
  • sloc: sh: 26; makefile: 17; cpp: 6; ansic: 3
file content (18 lines) | stat: -rw-r--r-- 522 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/cpp11.R
\name{use_cpp11}
\alias{use_cpp11}
\title{Use C++ via the cpp11 package}
\usage{
use_cpp11()
}
\description{
Adds infrastructure needed to use the \href{https://cpp11.r-lib.org}{cpp11}
package, a header-only R package that helps R package developers handle R
objects with C++ code:
\itemize{
\item Creates \verb{src/}
\item Adds cpp11 to \code{DESCRIPTION}
\item Creates \code{src/code.cpp}, an initial placeholder \code{.cpp} file
}
}