Desirability Functions for Multiparameter Optimization
Overview
In-line functions for multivariate optimization via desirability functions (Derringer and Suich, 1980, doi:10.1080/00224065.1980.11980968) with easy use within 'dplyr' pipelines.
- Export a helper function (
make_desirability_cols()) to make it easier for other packages to import and use desirability2. - The
.use_datadefault fordesirability()was changed toTRUE. - When
use_data = TRUEis used in the individual desirability functions - Infinite values are ignored when computing limits.
- The estimated low and/or high values are nudged in different directions to avoid them having the same value.
From NEWS.md in the release
Install
Health
- OK13 OK2026-08-05
- NOTE12 OK, 1 NOTE2026-08-01
- OK14 OK2026-03-10
Documentation
- Help pages
- 8 (4 internal)includes a package overview page
- Examples that run
- 100%4 run in a plain check (2 of them under a condition)
- Exported functions with examples
- 50%
- Documented parameters
- 79%
- Return-value docs
- 83%
- Help pages citing references
- 25%
Downloads
Repository
- PRs merged (all time)
- 100%
- Median days to close, 50 most recently updated closed issues
- 564
- 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
12 development-tooling and community-health practices detected across 5 families in the upstream repository
Checks run against github.com/tidymodels/desirability2 on 2026-10-18.
The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel
GitHub Pages site last deployed 2025-11-14 · The repository has a site deploy workflow
pkgdown site last built 2025-08-22
Show all practicesHide 1 practice
Dependencies
Installing desirability2 adds 17 packages (11 with compiled code, 5.6 MB of source tarballs). Heaviest: vctrs 1.0 MB, dplyr 902 KB, rlang 766 KB.
Code & Tests
Datasets
People & History
Pick two releases to compare their code metrics.
- RR 4.6.0 released · 2026-04-24
- 0.2.0Latest
- 0.1.02025-07-23 · diff ↗ ·
added 8 exports
category, constrain, desirability, maximize, minimize, select_best_desirability, show_best_desirability, target - RR 4.5.0 released · 2025-04-11
- RR 4.4.0 released · 2024-04-24
- 0.0.12023-05-11
- RR 4.3.0 released · 2023-04-21
Package metadata
- First published
- 2023-05-11
- Total releases
- 3 / 3 yrs
- License
- MIT + file LICENSE OSI
- Minimum R
- ≥ 4.1.0
- Bundled data
- 8.2 KB / 1 file
- Download size
- 308 KB
Cite
Cite this package
Run in R for the authors' preferred citation:
citation("desirability2")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-21, which the citation names so these numbers can be found later. More on citing and the projects behind them.