'Rcpp' Integration for 'CGAL'
Overview
Creates a header only package to link to the 'CGAL' (Computational Geometry Algorithms Library) header files in 'Rcpp'. There are a variety of potential uses for the software such as Hilbert sorting, K-D Tree nearest neighbors, and convex hull algorithms. For more information about how to use the header files, see the 'CGAL' documentation at https://www.cgal.org. Currently downloads version 6.2.1 of the 'CGAL' header files.
- Updated stale vignette html files.
- Added
lifecycleto imports to allow deprecation badges and messages cgal_version()soft-deprecated in favor ofcgal_header_info()- Added
cgal_bundled_version()to return the version number of
the bundled header files
- Found a bunch of other CRAN banned functions (e.g.,
assert,rand) and changed patch functions to catch and change them using std::cerr;(andcout/clog) in CGAL headers now become aliases to R's streams, so unqualifiedcerr << ...(e.g., inMin_sphere_of_spheres_d) compiles again (#29)- Patched the Garland-Heckbert simplification policies to zero-initialize their cost matrices, removing an "is used uninitialized" warning that R CMD check reports in downstream packages (CGAL/cgal#9667; thanks @MichaelChirico, #28)
- Patched
repair_polygon_soup()'s canonical-polygon copy to avoid GCC-Wstringop-overflow/-Warray-boundsfalse positives; GCC 13 reports the former as a significant R CMD check warning in downstream packages (CGAL/cgal#9669; #28)
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK12 OK2026-04-25
- NOTE11 OK, 3 NOTE2026-03-10
Documentation
- Help pages
- 7includes a package overview page
- Examples that run
- 67%4 run in a plain check · 2 never run
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 14%
- Installation HTML
Downloads
Repository
- PRs merged (all time)
- 91%
- Median days to close, 50 most recently updated closed issues
- 8
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
Releases over time
Issues over time
PRs over time
Commits over time
Commit identities over time
4 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/ericdunipace/rcppcgal on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-10-07Commits: at least 8 crediting it in the message
- Claude Opus 5.58 commits · Oct 2026
Dependencies
Installing RcppCGAL adds 4 packages (3 with compiled code, 3.3 MB of source tarballs). Heaviest: Rcpp 1.8 MB, rlang 766 KB, cli 629 KB.
Code & Tests
People & History
Pick two releases to compare their code metrics.
- 6.2.1.1Latest2026-10-13 · current release · diff ↗ ··
added 2 exports
cgal_bundled_version, cgal_header_info4 hours in CRAN's queue
Listed in CRAN's incoming queue from 2026-10-08 20:25 to 2026-10-09 00:53 UTC, in 2 readings. - 6.2.12026-09-05 · diff ↗
- RR 4.6.0 released · 2026-04-24
- 6.12025-10-09 · diff ↗
- RR 4.5.0 released · 2025-04-11
- 6.0.12025-01-09 · diff ↗
- 6.02024-12-11 · diff ↗
- 5.6.42024-07-05 · diff ↗
- 5.6.32024-04-30 · diff ↗
- RR 4.4.0 released · 2024-04-24
- 5.6.22024-01-29 · diff ↗
- 5.6.12024-01-17 · diff ↗
- unarchivedReturned to CRAN2023-12-08
- 5.6.0
- archivedRemoved from CRAN2023-08-28issues were not corrected Downloads a non-fixed version and updates caused other packages to fail
- 5.5.32023-06-18 · diff ↗
Show 8 earlier eventsHide 8 earlier events
Package metadata
- First published
- 2021-12-17
- Total releases
- 16 / 5 yrs
- License
- GPL-3 OSI
- Download size
- 5.0 MB
Cite
Cite this package
Run in R for the authors' entry:
citation("RcppCGAL")The package provides a citation file, so citation() returns the authors' own entry.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.