Thread-Safe C++ Port of the 'trust' Trust Region Optimizer
Overview
Does local optimization using two derivatives and trust regions. Guaranteed to converge to a local minimum of the objective function. This is a thread-safe C++ port of the algorithm in the 'trust' package by Charles J. Geyer, exposed both as a drop-in R function and as a C-callable, thread-safe entry point (with function pointers registered for other packages to call without linking against this package's shared library) so it can be used from parallel C++ code such as in 'nlmixr2est'.
Install
Health
- OK13 OKNow
- OK4 OK2026-09-08
Documentation
- Help pages
- 2
- Examples that run
- no examples
- Exported functions with examples
- 0%
- Documented parameters
- 91%
- 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
- not measured
- Median days to close, 50 most recently updated closed PRs
- 4
Releases over time
PRs over time
Commits over time
8 development-tooling and community-health practices detected across 4 families in the upstream repository
Checks run against github.com/nlmixr2/rcpptrust on 2026-10-21.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2026-09-17 · The repository has a site deploy workflow
This repository shows signs of AI coding tools.
- Claude Codefirst seen 2026-10-14Pull request it wrote: opened by a project member
Dependencies
Installing RcppTrust adds 3 packages (2 with compiled code, 17 MB of source tarballs). Heaviest: BH 14 MB, Rcpp 1.8 MB, RcppArmadillo 1.0 MB.
Code & Tests
People & History
- 0.1.0Latest2026-09-07 · current release
- RR 4.6.0 released · 2026-04-24
Package metadata
- First published
- 2026-09-07
- Total releases
- 1 / 1 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.2.0
- Download size
- 150 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("RcppTrust")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-25, which the citation names so these numbers can be found later. More on citing and the projects behind them.