- Fixed a problem parsing Chinese characters due to the encoding (#284).
- Fixed get_code documentation (#247).
- Update maintainer.
- Fix a problem detecting dependencies when using subassignemnts reusing the same object (#276).
- Introduced
get_outputsfunction to fetch objects which have been printed or plotted in theqenvcode.
- Fix a problem detecting co-occurrences when expression has multiple lines (#249).
- Fix a assignment bug
withincurly expression (#252).
eval_codeusesevaluate::evaluateand stores returned outputs in the code's attribute.- Refactor
eval_codemethod signature to allow for more flexibility when extending theeval_code/withinfunctions. get_var(qenv, ...)andjoin(qenv, ...)are hard deprecated.
- Fix an infinite recursion happening when lhs contains two or more symbols occurring in the rhs of the same call.
- Introduced
[.qenvfunction to subsetqenvobject (code and environment) to specified object names. get_code()was extended withnamesparameter and allows the code extraction to be limited to objects stored inqenvbut 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().qenvinherits from theenvironmentclass, allowing to usels(),names(),as.environment()and other functions onqenvobjects.
join()method is deprecated, please usec()insteadget_var()method is deprecated, please useget,[[or$instead.- Remove deprecated function
new_qenv. - Numerous bug fixes
qenvobjects should now be created withqenv()rather thannew_qenv(). The new constructor always creates an empty object.new_qenvis now deprecated.
- Exported the
qenvclass from the package. - The
@codefield in theqenvclass now holdscharacter, notexpression. - The
get_codemethod returns a single concatenated string of the code. - Added
withinsupport forqenv.errorclass. - Added
get_envmethod that allows to extract environment stored inqenv@envslot.
- Fix NEWS
- Updated usage and installation instructions in
README. - Updated phrasing of the
qenvvignette. - Specified minimal version of package dependencies.
- Added
withinmethod forqenvfor convenient passing of inline code toeval_code.
chunkshave been removed. The newqenvobject should be used instead. See the newqenvvignette in the package for further details.
dev_suppresshas been added to suppress rendering of plots on IDE.
chunkshave now been deprecated and will be removed from the package in a future release. The newqenvobject should be used instead. See the newqenvvignette in the package for further details.
- Added
concatmethod to theqenvto offer the concatenate functionality.
- Removed the
%<chunk%operator. Please usechunks_pushinstead.
- New wrapper function
chunks_deep_cloneto make a deep (i.e. completely independent) copy of achunksobjects. - Added a new wrapper
chunks_newforchunksinitialization.
- Added a template to the
pkgdownsite. - Added a vignette to explain the advanced features of the
chunksobject.
- Initial release of
teal.code, a package for code storage and execution class for teal applications.