Construct an outpack query, typically then passed through to
orderly_search()
Arguments
- expr
The query expression. A
NULLexpression matches everything.- name
Optionally, the name of the packet to scope the query on. This will be intersected with
scopearg and is a shorthand way of runningscope = list(name = "name")- scope
Optionally, a scope query to limit the packets searched by
pars- subquery
Optionally, named list of subqueries which can be referenced by name from the
expr.
Value
An orderly_query object, which should not be modified,
but which can be passed to orderly_search()
See also
vignette("dependencies") and vignette("query"), which
discuss relationships between dependencies and the query DSL in
more detail.
Examples
orderly_query(quote(latest(name == "data")))
#> <orderly_query>: `latest(name == "data")`
