normalize_pypi_pkg: Normalize package name to PyPI expectation

View source: R/utils.R

normalize_pypi_pkgR Documentation

Normalize package name to PyPI expectation

Description

Perform package name formatting as PyPI is case insensitive and long runs of underscore, period, and hyphens are not recognized (- is same as –).

Usage

normalize_pypi_pkg(pkg_name)

Arguments

pkg_name

Character vector of package names.

Value

Character vector of normalized PyPI package names

See Also

PyPI Package Normalization

Examples

normalize_pypi_pkg(c('Dask', 'TenSorFlow'))


rosv documentation built on May 29, 2024, 2:58 a.m.