- Fix an infinite recursion happening when lhs contains two or more symbols occurring in the rhs of the same call.
- Introduced
[.qenv
function to subsetqenv
object (code and environment) to specified object names. get_code()
was extended withnames
parameter and allows the code extraction to be limited to objects stored inqenv
but limited tonames
.- Introduced
get_messages()
to get messages produced during code evaluation. get_code()
returns original code formatting (white spaces and comments) passed toeval_code()
.qenv
inherits from theenvironment
class, allowing to usels()
,names()
,as.environment()
and other functions onqenv
objects.
join()
method is deprecated, please usec()
insteadget_var()
method is deprecated, please useget
,[[
or$
instead.- Remove deprecated function
new_qenv
. - Numerous bug fixes
qenv
objects should now be created withqenv()
rather thannew_qenv()
. The new constructor always creates an empty object.new_qenv
is now deprecated.
- Exported the
qenv
class from the package. - The
@code
field in theqenv
class now holdscharacter
, notexpression
. - The
get_code
method returns a single concatenated string of the code. - Added
within
support forqenv.error
class. - Added
get_env
method that allows to extract environment stored inqenv@env
slot.
- Fix NEWS
- Updated usage and installation instructions in
README
. - Updated phrasing of the
qenv
vignette. - Specified minimal version of package dependencies.
- Added
within
method forqenv
for convenient passing of inline code toeval_code
.
chunks
have been removed. The newqenv
object should be used instead. See the newqenv
vignette in the package for further details.
dev_suppress
has been added to suppress rendering of plots on IDE.
chunks
have now been deprecated and will be removed from the package in a future release. The newqenv
object should be used instead. See the newqenv
vignette in the package for further details.
- Added
concat
method to theqenv
to offer the concatenate functionality.
- Removed the
%<chunk%
operator. Please usechunks_push
instead.
- New wrapper function
chunks_deep_clone
to make a deep (i.e. completely independent) copy of achunks
objects. - Added a new wrapper
chunks_new
forchunks
initialization.
- Added a template to the
pkgdown
site. - Added a vignette to explain the advanced features of the
chunks
object.
- Initial release of
teal.code
, a package for code storage and execution class for teal applications.