print.ors_api uses str to compactly display the structure of the openrouteservice API response object.

# S3 method for class 'ors_api'
print(x, give.attr = FALSE, list.len = 6L, ...)

Arguments

x

object of class ors_api.

give.attr

logical; if TRUE (default), show attributes as sub structures.

list.len

numeric; maximum number of list elements to display within a level.

...

further arguments passed to str.

Value

print.ors_api prints its argument and returns it invisibly.