Skip to content

desirability2

0.2.0Package record

Desirability Functions for Multiparameter Optimization

2packages depend
6.7Kdownloads / year
88.0%test coverage
13/13flavors OK

Overview

About

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.

Changes in 0.2.0
  • Export a helper function (make_desirability_cols()) to make it easier for other packages to import and use desirability2.
  • The .use_data default for desirability() was changed to TRUE.
  • When use_data = TRUE is 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

CRAN checks
13OK
Slowest check: 1.5 min · r-oldrel-windows-x86_64
Status changes
  • OK13 OK2026-08-05
  • NOTE12 OK, 1 NOTE2026-08-01
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 0.2.0
READMEYes · 534 wordsVignettesNoNEWSYes · 100% structured · mentions 0.2.0Citation fileNoWebsiteYes · pkgdown
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

6.7K
CRAN downloads in the past year
Rank #6,175 · ~18/day · ~562/mo
Daily download trend is not available in this view yet.
52030 days
1.3K90 days
6.7K1 year
Compare downloads with other packages →
Also on85 r2u2 autocran

Repository

15Stars
2Forks
1Open issues
0Open PRs
3Releases
54Commits
6Commit identities
54 commits · Last activity 2025-11-14 · 0% stars, 30d · Default branch at 0.2.0.9000, ahead of CRAN 0.2.0 (checked 2026-10-18)
Responsiveness
How these are sampled
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

2025-08-02 · 142026-09-11 · 15
PracticesBeta

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.

Continuous integration (2)
GitHub ActionsR CMD check workflow

The R CMD check workflow runs on Linux, macOS and Windows, and on R-devel

Governance and community (2)
Code of conductContributing guide
Docs source (4)
README.Rmdpkgdown

GitHub Pages site last deployed 2025-11-14 · The repository has a site deploy workflow

pkgdown site last built 2025-08-22

Coverage (1)
Coverage reporting (Codecov)
Show all practicesHide 1 practice
Lint, format, editor (3)
AirVS CodeRStudio project
How this is detected·Detection ruleset v3 (2026-09-26)

Dependencies

Declared dependencies
11 external dependencies (excludes base and recommended)

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.

Depends (1)
R >= 4.1.0
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
2direct
0indirect
Imports 2
Depends, Imports or LinkingTo, most downloaded first

Datasets

People & History

People (2)
Author, Maintainer since 0.0.1 (2023)
Copyright holder, Funder
Releases (3)

Pick two releases to compare their code metrics.

  • R
    R 4.6.0 released · 2026-04-24
  • 0.2.0Latest
    record
    2025-08-22 · current release · diff ↗ ·
    added 1 export
    make_desirability_cols
  • 0.1.0
    record
    2025-07-23 · diff ↗ ·
    added 8 exports
    category, constrain, desirability, maximize, minimize, select_best_desirability, show_best_desirability, target
  • R
    R 4.5.0 released · 2025-04-11
  • R
    R 4.4.0 released · 2024-04-24
  • 0.0.1
    record
    2023-05-11
  • R
    R 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")
Kuhn, M., & Posit Software, PBC. (2025). desirability2: Desirability Functions for Multiparameter Optimization (Version 0.2.0) [Computer software]. https://doi.org/10.32614/CRAN.package.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.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for desirability2 version 0.2.0 [Data set]. HJJB, LLC. Data release v2026-10-21. https://doi.org/10.5281/zenodo.21843040

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.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy