get_package: Get package metadata

Description Usage Arguments Details See Also Examples

Description

Missing properties are returned filled with their default values (see Details). An error is returned if the resources property is empty.

Usage

1
get_package(x, name = NULL, inline_data = TRUE)

Arguments

x

Object.

name

(character) Package name to return if not set explicitly.

inline_data

(logical) Whether to include the contents of x as inline data ($data).

Details

Unless set explicity, the following defaults are returned:

See Also

Other resource functions: get_resource, resource, set_resources, set_resource

Examples

1
2
x <- list(data = data.frame(id = 1L, value = 1.1))
get_package(x, inline_data = FALSE)

ezwelty/dpkg documentation built on May 30, 2019, 7:19 a.m.