Skip to contents

Build an SBOM

sbom()
Build an SBOM for a project folder
sbom_package() sbom_installed()
Build an SBOM for a package or an R library
sbom_renv()
Build an SBOM from an renv lockfile
sbom_rsconnect()
Build an SBOM from a Posit Connect manifest
sbom_shiny()
Build an SBOM for a Shiny app
sbom_nix()
Build an SBOM from a Nix environment file

Write, read and validate

write_sbom()
Write an SBOM to disk
read_sbom()
Read an SBOM file
validate_sbom() print(<sbom_validation>) as.data.frame(<sbom_validation>)
Validate an SBOM
sbom_formats()
List the SBOM formats this package can write

Inspect and compare

sbom_components() sbom_dependencies() sbom_issues() print(<sbom>)
Read the tables of an sbom object
summary(<sbom>) print(<sbom_summary>)
Summarize an SBOM
sbom_tree()
Print the dependency tree of an SBOM
sbom_advisories()
List the security advisories in an SBOM
sbom_diff() print(<sbom_diff>) as.data.frame(<sbom_diff>)
Compare two SBOMs

Identifiers and licenses

purl() cran_doi()
Package URLs and CRAN DOIs
license_spdx()
Translate a License field into an SPDX expression

Examples

sbom_example()
Example projects and files

Package

sbom-package
sbom: Create, Read and Validate Software Bills of Materials