get_content_packages {connectapi} | R Documentation |
Package dependencies for a content item
Description
Get a data frame of package dependencies used by a content item.
Usage
get_content_packages(content)
Arguments
content |
A content item |
Value
A data frame with the following columns:
-
language
: Language ecosystem the package belongs to (r
orpython
) -
name
: The package name -
version
: The package version -
hash
: For R packages, the packageDESCRIPTION
hash
See Also
Other packages functions:
get_packages()
Examples
## Not run:
client <- connect()
item <- content_item(client, "951bf3ad-82d0-4bca-bba8-9b27e35c49fa")
packages <- get_content_packages(item)
## End(Not run)
[Package connectapi version 0.7.0 Index]