File: parse_env_subset.Rd

package info (click to toggle)
r-cran-listenv 0.8.0+dfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: bullseye, sid
  • size: 308 kB
  • sloc: sh: 14; makefile: 2
file content (34 lines) | stat: -rw-r--r-- 1,093 bytes parent folder | download | duplicates (2)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/parse_env_subset.R
\name{parse_env_subset}
\alias{parse_env_subset}
\title{Helper function to infer target from expression and environment}
\usage{
parse_env_subset(expr, envir = parent.frame(), substitute = TRUE)
}
\arguments{
\item{expr}{An expression.}

\item{envir}{An environment.}

\item{substitute}{If \code{TRUE}, then the expression is \code{\link[base:substitute]{base::substitute()}}:ed,
otherwise not.}
}
\value{
A named list with elements:
\describe{
\item{\code{envir}}{An environment (defaults to argument \code{envir})}
\item{\code{name}}{A character vector. ...}
\item{\code{op}}{...}
\item{\code{subset}}{A list of \code{NULL}. ...}
\item{\code{idx}}{An integer vector or \code{NULL}. ...}
\item{\code{exists}}{A logical vector of length \code{length(idx)} with \code{TRUE}
and \code{FALSE} values.}
\item{\code{code}}{The deparsed expression \code{expr} coerced to a single character
string.}
}
}
\description{
Helper function to infer target from expression and environment
}
\keyword{internal}