Deprecated lifecycle

These functions have been deprecated in rlang 0.2.0. Please use as_data_mask() and new_data_mask() instead. We no longer require the mask to be cleaned up so overscope_clean() does not have a replacement.

as_overscope(quo, data = NULL)

new_overscope(bottom, top = NULL, enclosure = NULL)

overscope_clean(overscope)

Arguments

quo

A quosure.

data

A data frame or named vector of masking data.

bottom

The environment containing masking objects if the data mask is one environment deep. The bottom environment if the data mask comprises multiple environment.

If you haven't supplied top, this must be an environment that you own, i.e. that you have created yourself.

top

The last environment of the data mask. If the data mask is only one environment deep, top should be the same as bottom.

This must be an environment that you own, i.e. that you have created yourself. The parent of top will be changed by the tidy eval engine and should be considered undetermined. Never make assumption about the parent of top.

enclosure

The parent argument of new_data_mask().

overscope

A data mask.