Learn R Programming

pkgDepTools (version 1.38.0)

cleanPkgField: Clean Packages Names from a DESCRIPTION File Field

Description

Given the value from a field like 'Depends' in a package's DESCRIPTION file, return a character vector of package names with the version restrictions stripped and R removed.

Usage

cleanPkgField(val)

Arguments

val
character string parsed from a package's DESCRIPTION file containing package names and possible version specifiers.

Warning

FIXME: uses a private function from tools

Details

Internal function