Combined Evaluation and Split Access of Functions
Overview
Some R functions, such as optim(), require a function its gradient passed as separate arguments. When these are expensive to calculate it may be much faster to calculate the function (fn) and gradient (gr) together since they often share many calculations (chain rule). This package allows the user to pass in a single function that returns both the function and gradient, then splits (hence 'splitfngr') them so the results can be accessed separately. The functions provided allow this to be done with any number of functions/values, not just for functions and gradients.
Adding nlminb_share.
From NEWS.md in the release
Install
Health
NOTECRAN incoming feasibilityr-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc
Maintainer: ‘Collin Erickson <collinberickson@gmail.com>’
No Authors@R field in DESCRIPTION.
Please add one, modifying
Authors@R: person(given = "Collin",
family = "Erickson",
role = c("aut", "cre"),
email = "collinberickson@gmail.com")
as necessary.- NOTE11 OK, 2 NOTENow
- NOTE9 OK, 5 NOTE2026-03-10
Documentation
- Help pages
- 6
- Examples that run
- 100%6 run in a plain check
- Exported functions with examples
- 100%
- Documented parameters
- 100%
- Return-value docs
- 100%
- Help pages citing references
- 0%
Downloads
Dependencies
Installing splitfngr adds 2 packages (2 with compiled code, 3.9 MB of source tarballs). Heaviest: lbfgs 2.1 MB, Rcpp 1.8 MB.
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
- 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.1.2Latest
- RR 3.5.0 released · 2018-04-23
- RR 3.4.0 released · 2017-04-21
- 0.1.12016-09-16 · diff ↗
- 0.1.02016-09-14
- RR 3.3.0 released · 2016-05-03
Package metadata
- First published
- 2016-09-14
- Total releases
- 3 / 10 yrs
- License
- GPL-3 OSI
- Download size
- 4.9 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("splitfngr")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.