desc_has_dep: Check for a dependency

desc_has_depR Documentation

Check for a dependency

Description

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

Other dependencies: desc_del_deps(), desc_del_dep(), desc_get_deps(), desc_set_deps(), desc_set_dep()


r-lib/desc documentation built on Aug. 29, 2024, 5:23 p.m.