pkgsnap (version 1.0.0)

get_deps: Extract (hard) package dependencies from an R package tarball

Description

Hard dependencies include Imports, Depends and LinkingTo.

Usage

get_deps(package_file)

Arguments

package_file

Path and name of the tarball.

Value

A character vector of depended packages. Version numbers are not included, as we don't need them for the current purposes of this package.