File: common_env.Rd

package info (click to toggle)
r-cran-lazyeval 0.2.2-1
  • links: PTS, VCS
  • area: main
  • in suites: bookworm, bullseye, forky, sid, trixie
  • size: 596 kB
  • sloc: ansic: 310; sh: 9; makefile: 2
file content (22 lines) | stat: -rw-r--r-- 478 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
% Generated by roxygen2: do not edit by hand
% Please edit documentation in R/lazy-call.R
\name{common_env}
\alias{common_env}
\title{Find common environment in list of lazy objects.}
\usage{
common_env(dots)
}
\arguments{
\item{dots}{A list of lazy objects}
}
\description{
If no common environment is found, will return \code{baseenv()}.
}
\examples{
common_env(lazy_dots(a, b, c))

f <- function(x) ~x
common_env(list(f(1)))
common_env(list(f(1), f(2)))
}
\keyword{internal}