Skip to contents

These functions still work but emit a deprecation warning and will be removed in a future release. Use the replacements instead:

Usage

peek_overlaps(x, start, end, bounds = NULL)

peek_all_overlaps(x, start, end, bounds = NULL, as_list = FALSE)

pop_overlaps(x, start, end, bounds = NULL)

pop_all_overlaps(x, start, end, bounds = NULL)

Arguments

x

An interval_index.

start

Query interval start.

end

Query interval end.

bounds

Optional boundary override. One of "[)", "[]", "()", "(]".

as_list

Passed to peek_all_overlapping().

Value

The same value as the replacement function.

Details

The *_overlaps names were renamed in version 1.2.0 so that the single-match functions read as singular, matching peek_containing() and peek_within().