'Rcpp' Package Illustrating Header-Only Access to 'NLopt'
Overview
An example package which shows use of 'NLopt' functionality from C++ via 'Rcpp' without requiring linking, and relying just on 'nloptr' thanks to the exporting API added there by Jelmer Ypma. This package is a fully functioning, updated, and expanded version of the initial example by Julien Chiquet at https://github.com/jchiquet/RcppArmadilloNLoptExample also containing a large earlier pull request of mine.
- Updated tolerance in simple test as newer upstream
nloptchange behaviour ever so slightly leading to an other spurious failure - Numerous small and standard updates to DESCRIPTION, README.md, badges, and continuous integration setup
From inst/NEWS.Rd in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-04-22
- ERROR13 OK, 1 ERROR2026-04-18
- OK14 OK2026-03-10
Documentation
- Help pages
- 1
- Examples that run
- 100%1 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 0
- Median days to close, 50 most recently updated closed PRs
- 0
Stars over time
Forks over time
3 development-tooling and community-health practices detected across 3 families in the upstream repository
Checks run against github.com/eddelbuettel/rcppnloptexample on 2026-10-11.
The repository owner accepts GitHub Sponsors
Dependencies
Code & Tests
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- RR 4.5.0 released · 2025-04-11
- 0.0.2Latest
- RR 4.4.0 released · 2024-04-24
- RR 4.3.0 released · 2023-04-21
- RR 4.2.0 released · 2022-04-22
- RR 4.1.0 released · 2021-05-18
- RR 4.0.0 released · 2020-04-24
- RR 3.6.0 released · 2019-04-26
- 0.0.12018-10-12
- RR 3.5.0 released · 2018-04-23
Package metadata
- First published
- 2018-10-12
- Total releases
- 2 / 8 yrs
- License
- GPL (>= 2) OSI
- Minimum R
- ≥ 3.0.2
- Download size
- 5.2 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RcppNLoptExample")This package has no citation file, so citation() returns this entry built from DESCRIPTION.
Cite the R Observatory
For a number measured here: a download total, a coverage figure, an archival date.
From data release v2026-10-19, which the citation names so these numbers can be found later. More on citing and the projects behind them.