R: Helper function to infer target from expression and...

parse_env_subset {listenv} | R Documentation

## Helper function to infer target from expression and environment

### Description

Helper function to infer target from expression and environment

### Usage

    parse_env_subset(expr, envir = parent.frame(), substitute = TRUE)

### Arguments

`expr` | An expression.
`envir` | An environment.
`substitute` | If `TRUE`, then the expression is `base::substitute()`:ed, otherwise not.

### Value

A named list with elements:

`envir`

  An environment (defaults to argument `envir`)

`name`

  A character vector. ...

`op`

  ...

`subset`

  A list of `NULL`. ...

`idx`

  An integer vector or `NULL`. ...

`exists`

  A logical vector of length `length(idx)` with `TRUE` and `FALSE` values.

`code`

  The deparsed expression `expr` coerced to a single character string.

[Package listenv version 0.7.0 Index]