Package 'tidyCpp'

Title: Tidy C++ Header-Only Definitions for Parts of the C API of R
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.
Authors: Dirk Eddelbuettel [aut, cre]
Maintainer: Dirk Eddelbuettel <[email protected]>
License: GPL (>= 2)
Version: 0.0.7
Built: 2024-11-18 01:22:58 UTC
Source: https://github.com/eddelbuettel/tidycpp

Help Index


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

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 of help topics:

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

Maintainer

Dirk Eddelbuettel <[email protected]>

Author(s)

Dirk Eddelbuettel [aut, cre] (<https://orcid.org/0000-0001-6419-907X>)

Examples

## 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)