Generic print method for snapshot collections
print.snapshot_collection.RdShared S3 print method that renders any building-block collection: a
header with the kind and item count, one bullet per item with a
per-kind summary, and a friendly message when the collection is
empty. Per-item summary lines and per-kind labels are dispatched to
internal generics collection_kind_info() and
collection_item_label(), each with one method per collection class.
Usage
# S3 method for class 'snapshot_collection'
print(x, n = 5, ...)Arguments
- x
A snapshot collection (a
snapshot_collectionnamed list).- n
Maximum number of items to display before truncating with "... and X more". Honoured only when the collection's
collection_kind_info()method returnstruncate = TRUE; the default is to show every item. Currently only theobserved_data_collectionopts in.- ...
Additional arguments passed to print methods.