dickoa / cgalh

R package exposing CGAL C++ header-only library
Other
2 stars 1 forks source link

GitLab CI Build
Status

cgalh

This package provides an R interface to the header-only C++ CGAL library

This package is using the latest stable release of CGAL.

Install

Install the development version with the remotes R package

remotes::install_gitlab("dickoa/cgalh")

Using cgalh

In order to use cgalh in your own R package, you need to add it to the LinkingTo field in the DESCRIPTION field of your R package. More information here:

https://cran.r-project.org/doc/manuals/r-release/R-exts.html#Linking-to-native-routines-in-other-packages

You will have more information on how to use CGAL in your own code through its official documentation.

If you are using Rcpp don't forget to add a dependency to cgalh to your cpp files before a call to #include <Rcpp.h>

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

#include <Rcpp.h>

License

This package is provided under the GPL-3.

The CGAL library uses the dual license GPL-3. | LGPL-3. More information can be found at https://www.cgal.org/license.html.