Package: decisions Version: 0.1.0 Title: Typed Decisions from Decision Models Description: Sends texts and images to decision models: hosted or local models that return a probability for each allowed answer to a typed question (true or false, a choice, or an ordered score). Supports the web services of 'TypeSafe' , 'OpenAI' , 'OpenRouter' and 'Microsoft Foundry' , which need an API (application programming interface) key and can charge for each call, and any local or hosted server that uses the 'SystemOne' request format. Returns one row for each input in the 'tidymodels' style, saves and scores a complete decision setup, and applies a calibrator fitted with 'probably'. Includes injury reports from the Severe Injury Reports of the U.S. Occupational Safety and Health Administration , food recall reports of the U.S. Food and Drug Administration , and simulated textile images made with 'spc4sts', Bui and Apley (2021) . Authors@R: c( person("Fadel M.", "Megahed", role = c("aut", "cre"), email = "fmegahed@miamioh.edu", comment = c(ORCID = "0000-0003-2194-5110")), person("Ying-Ju", "Chen", role = "aut", email = "ychen4@udayton.edu", comment = c(ORCID = "0000-0002-6444-6859"))) License: MIT + file LICENSE URL: https://github.com/fmegahed/decisions, https://fmegahed.github.io/decisions/ BugReports: https://github.com/fmegahed/decisions/issues Depends: R (>= 4.3.0) Imports: cli (>= 3.6.0), httr2 (>= 1.2.0), jsonlite (>= 1.8.5), purrr (>= 1.0.0), rlang (>= 1.3.0), S7 (>= 0.2.0), stringi, tibble Suggests: dplyr, knitr, magick, mgcv, probably, rmarkdown, rsample, testthat (>= 3.0.0), withr, yardstick Config/testthat/edition: 3 Encoding: UTF-8 Language: en-US VignetteBuilder: knitr, rmarkdown Config/roxygen2/version: 8.0.0 LazyData: true NeedsCompilation: no Packaged: 2026-11-08 20:46:56 UTC; root Author: Fadel M. Megahed [aut, cre] (ORCID: ), Ying-Ju Chen [aut] (ORCID: ) Maintainer: Fadel M. Megahed Repository: https://cran.r-universe.dev Date/Publication: 2026-11-08 19:51:24 UTC RemoteUrl: https://github.com/cran/decisions RemoteRef: HEAD RemoteSha: e3bba03b0e91621468205a134b5b6e6141872cba