read_cargo_metadata {rextendr}R Documentation

Retrieve metadata for packages and workspaces

Description

Retrieve metadata for packages and workspaces

Usage

read_cargo_metadata(path = ".", dependencies = FALSE, echo = FALSE)

Arguments

path

character scalar, the R package directory

dependencies

Default FALSE. A logical scalar, whether to include all recursive dependencies in stdout.

echo

Default FALSE. A logical scalar, should cargo command and outputs be printed to the console.

Details

For more details, see Cargo docs for cargo-metadata. See especially "JSON Format" to get a sense of what you can expect to find in the returned list.

Value

A list including the following elements:

Examples

## Not run: 
read_cargo_metadata()

## End(Not run)


[Package rextendr version 0.4.1 Index]