pkgsUsing: Download Source for Packages Importing othe Specified...

Description Usage Arguments Value

Description

Given the names of candidate packages in pkgs, this function downloads the source from the default repository. Chosen packages are expanded into directories under destdir, by default the current working directory. If mustuse is supplied, only packages specifying one of these in their "Imports" directive will be retained.

Usage

1
pkgsUsing(pkgs, mustUse = character(), destdir = ".")

Arguments

pkgs

The names of the candidate packages.

mustUse

The names of the required packages; only those candidates having one or more of these in the "Imports" directive are retained. Note that the packages are not installed; only presence in the directive is tested.

destdir

The directory under which subdirectories will be created for the retained packages, containing the package source. These are created by expanding the “"tar.gz"” file.

Value

The subset of pkgs retained.


johnmchambers/XRtools documentation built on May 19, 2019, 5:16 p.m.