Description Usage Arguments Value
dispatch_result
makes the decision whether to return
a wrapped query
object for further narrowing of the query, or
a single_result
object which wraps a single artifact retrieved
from a repository::repository.
new_single_result
creates a simple wrapper around an
artifact. It then dispatches calls to print
and exposes additional
operations via the dollar operator $
.
1 2 3 4 5 6 | dispatch_result(q)
new_single_result(artifact)
## S3 method for class 'single_result'
print(x, ...)
|
q |
a |
artifact |
retrieved from a repository with repository::read_artifacts |
x |
an object used to select a method. |
... |
further arguments passed to or from other methods. |
A single_result object or wrapped query q
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.