print.oc_agent: Print result of oc_agent()

Description Usage Arguments Value See Also Examples

View source: R/oc_agent.R

Description

Print a structured return of the oc_agent() function.

Usage

1
2
## S3 method for class 'oc_agent'
print(x, ...)

Arguments

x

The return of the function this print function relates to.

...

Possible further options to the print function.

Value

A structured print of the return by the oc_agent() function.

See Also

oc_agent

Examples

1
2
3
4
5
6
7
8
9
Sys.setenv(OPENCAST_HOST = "https://legacy.opencast.org")
Sys.setenv(OPENCAST_USERNAME = "admin")
Sys.setenv(OPENCAST_PASSWORD = "opencast")

agents <- oc_list_agents()

resp <- oc_agent(agents$content$agent_id)

resp

opencastR documentation built on March 19, 2020, 5:12 p.m.