Skip to content

R package exposing the rapidjsonr c++ header-only library

License

Notifications You must be signed in to change notification settings

SymbolixAU/rapidjsonr

Repository files navigation

CRAN_Status_Badge downloads CRAN RStudio mirror downloads Github Stars Build Status Coverage Status

rapidjsonr

R interface to the C++ header-only Rapidjson library

This package is using v1.2-beta build of rapidjson. This is necessary to overcome gcc compiler warnings on CRAN, which are fixed in this patch

Install

From CRAN

install.packages("rapidjsonr")

Install the development version with

devtools::install_github("SymbolixAU/rapidjsonr")

Using rapidjsonr

To use rapidjsonr in your own package, add a dependency to rapidjsonr to your cpp files before a call to #include <Rcpp.h>

// [[Rcpp::depends(rapidjsonr)]]

#include <Rcpp.h>

License

This package is provided under the MIT license, as per Rapidjson itself.