extract-dependencies: Dependencies

DependenciesR Documentation

Dependencies

Description

Extracts all the dependencies defined in DESCRIPTION files for a given dependency type.

Usage

Dependencies(descfiles, types)
ExtractDependencies(db="rdata", host="mongodb://localhost")

Arguments

descfiles

A data.table containing DESCRIPTION files (like the one returned by ReadDescFiles).

types

List of dependency types whose values are keys and names are type.name.

db

MongoDB database.

host

MongoDB host.

Value

ExtractDependencies returns a six columns data.table containing package name, version, the type of the dependency, the package in depends on (dependency), the constraint type (constraint.type) which is either >, >=, <, <=, == or nothing, and the constraint version (constraint.version) if any.

ParseDependencies parses a dependency string into a three columns data.table with the dependency name and its constraint type and version if provided.

ExtractDependencies extract all dependencies from descfiles that match types.

ExtractDependencies extracts all dependencies missing in MongoDB.

Author(s)

Maëlick Claes <himself@maelick.net>


ecos-umons/extractoR documentation built on June 26, 2022, 2:21 p.m.