Print a structured return of the oc_agent() function.

# S3 method for 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

Examples

# \donttest{ 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)
#> Error in if (agentId == "") { stop("No agentId specified.", call. = FALSE)}: argument is of length zero
resp
#> Error in eval(expr, envir, enclos): object 'resp' not found
# }