audit: Search for Package Vulnerabilities

Description Usage Arguments Examples

View source: R/audit.R

Description

Search the OSS Index for known package vulnerabilities in any of the supported ecosystems— e.g. CRAN, PyPI, Conda, NPM, Maven, etc. see https://ossindex.sonatype.org/ecosystems for full list.

Usage

1
audit(pkg, version, type, verbose = TRUE)

Arguments

pkg

A vector of package names to search in the OSS Index.

version

The specific package version to search for. By default it will search all known versions. If not *, must be the same length as pkg.

type

The package management environment. For R packages, set equal to "cran". This defaults to "cran". See https://ossindex.sonatype.org/ecosystems.

verbose

Default TRUE.

Examples

1
2
3
pkg = c("abind", "acepack")
version = c("1.4-5", "1.4.1")
audit(pkg, version, type = "cran")

oysteR documentation built on Jan. 11, 2021, 1:36 a.m.

Related to audit in oysteR...