foundryR: Data Frame Workflows for 'Microsoft Foundry'

Work with 'Microsoft Foundry' from data-frame-oriented 'R' workflows. Provides data-frame-returning helpers for 'Azure AI Content Safety', 'Azure OpenAI' Responses API calls, strict structured extraction, vector representations, files, batch jobs, audio, media, and chat completions. Supports research annotation, safety gates, semantic search, and 'tidymodels' recipes. Helps teams keep model workflows inside their 'Azure' environment while preserving analyzable outputs. See the Microsoft Foundry REST API documentation <https://learn.microsoft.com/rest/api/microsoft-foundry/> and Azure AI Content Safety documentation <https://learn.microsoft.com/azure/ai-services/content-safety/>.

Version: 1.0.0
Depends: R (≥ 4.1.0)
Imports: cli, curl, digest, dplyr, generics, httr2 (≥ 1.1.1), jsonlite, lifecycle, magrittr, purrr, rlang, tibble
Suggests: AzureAuth, base64enc, ellmer, ggplot2, gt, httptest2, irlba, janeaustenr, knitr, recipes, rmarkdown, S7, testthat (≥ 3.0.0), tidymodels, tidyr, withr, yardstick
Published: 2026-10-01
DOI: 10.32614/CRAN.package.foundryR
Author: Alex Farach [aut, cre, cph]
Maintainer: Alex Farach <alexfarach at microsoft.com>
BugReports: https://github.com/farach/foundryR/issues
License: MIT + file LICENSE
URL: https://github.com/farach/foundryR, https://farach.github.io/foundryR/
NeedsCompilation: no
Materials: README, NEWS
CRAN checks: foundryR results

Documentation:

Reference manual: foundryR.html , foundryR.pdf
Vignettes: From text to defensible estimates (source, R code)
API support matrix (source)
Transcribe and translate audio (source, R code)
Content Safety gates in a research pipeline (source, R code)
Embeddings for research (source, R code)
Analyze evaluation results with uncertainty (source, R code)
Evaluate models and agents in Microsoft Foundry (source, R code)
Annotate at scale with the Batch API (source, R code)
Get started with foundryR (source, R code)
Generate images (source, R code)
Responses API, structured extraction, and web search (source, R code)
Embeddings in tidymodels recipes (source, R code)

Downloads:

Package source: foundryR_1.0.0.tar.gz
Windows binaries: r-devel: foundryR_0.1.0.zip, r-release: foundryR_0.1.0.zip, r-oldrel: foundryR_0.1.0.zip
macOS binaries: r-release (arm64): foundryR_0.1.0.tgz, r-oldrel (arm64): foundryR_0.1.0.tgz, r-release (x86_64): foundryR_1.0.0.tgz, r-oldrel (x86_64): foundryR_1.0.0.tgz
Old sources: foundryR archive

Linking:

Please use the canonical form https://CRAN.R-project.org/package=foundryR to link to this page.