powered by
S3 method for utils::str() that displays the structure of an Automerge document in a human-readable format.
utils::str()
# S3 method for am_doc str(object, max.level = 2, ...)
Invisibly returns NULL.
NULL
An automerge document object.
Maximum depth to recurse into nested structures. Default 2.
Additional arguments (ignored).
doc <- am_create() doc$name <- "Alice" doc$data <- list(x = 1L, y = 2L) str(doc) str(doc, max.level = 1) am_close(doc)
Run the code above in your browser using DataLab