Skip to content

Check for a dependency

Usage

desc_has_dep(package, type = c("any", desc::dep_types), file = ".")

Arguments

package

The package name.

type

A dependency type or ``any`.

file

DESCRIPTION file to use. By default the DESCRIPTION file of the current package (i.e. the package the working directory is part of) is used.

Value

A logical scalar.

See also