tidyCpp-package: Tidy C++ Header-Only Definitions for Parts of the C API of R

Description Package Content Maintainer Author(s) Examples

Description

Core parts of the C API of R are wrapped in a C++ namespace via a set of inline functions giving a tidier representation of the underlying data structures and functionality using a header-only implementation without additional dependencies.

Package Content

Index: This package was not yet installed at build time.

Maintainer

Dirk Eddelbuettel <edd@debian.org>

Author(s)

Dirk Eddelbuettel

Examples

1
2
3
4
5
6
7
8
9
## Not run: 
    ## see the source files in the snippets/ directory of the package
    ## check for (optional, only in Suggests:) Rcpp, and also wrapped in a
    ## dontrun as it takes 10s at CRAN (yet only 3.5 here) yielding a NOTE
    if (requireNamespace("Rcpp", quietly=TRUE)) {
        Rcpp::sourceCpp(system.file("snippets", "convolveExample.cpp", package="tidyCpp"))
    }

## End(Not run)

tidyCpp documentation built on March 8, 2021, 1:15 a.m.