get_rdeps: get_rdeps

Description Usage Arguments Value

Description

Automatically obtain source code for all dependencies of a given R package, either by opening associated web sites in browser, or downloading .tar.gz files.

Usage

1
get_rdeps(pkg, fmt, suggests = FALSE)

Arguments

pkg

Name of package for which dependencies are to be obtained

fmt

If not given, dependencies are returned as simple text list. Otherwise one of:

  • url to open all URLs of dependencies where these exist. Dependencies without associated URLs will also be listed.

  • tar to download .tar.gz files of all dependencies.

suggests

If TRUE, extract packages which suggest the nominated package, rather than the default behaviour of imports.

Value

Character vector listing all dependencies


mpadge/rdeps documentation built on May 23, 2019, 6:24 a.m.