Skip to content
Prev 391580 / 398498 Next

[External] Building promise evaluations

Promises are an internal implementation detail that could change or
even disappear at any time. They should not be directly visible at the
R or package C level, the fact that they currently might be in some
case notwithstanding. delayedAssign is the only tool you can use for
programmatically creating delayed bindings in an environment (which
happen to currently be implemented via promises, but that could
change). Deferred evaluations should only exist in environments, not
anywhere else. So you should arrange what your are trying to do to
create a deferred binding in an environment in which you evaluate your
call.

Best,

luke
On Thu, 12 May 2022, Andrew Simmons wrote: