teal.code 0.7.0
Enhancements
- Introduced get_outputsfunction to fetch objects which
have been printed or plotted in theqenvcode.
Bug fixes
- Fix a problem detecting co-occurrences when expression has multiple
lines (#249).
- Fix a assignment bug withincurly expression
(#252).
Miscellaneous
- eval_codeuses- evaluate::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, ...)and- join(qenv, ...)are
hard deprecated.
teal.code 0.6.1
Bug fixes
- Fix an infinite recursion happening when lhs contains two or more
symbols occurring in the rhs of the same call.
teal.code 0.6.0
Enhancements
- Introduced [.qenvfunction to subsetqenvobject (code and environment) to specified object names.
- get_code()was extended with- namesparameter and allows the code extraction to be limited to objects stored
in- qenvbut limited to- names.
- Introduced get_messages()to get messages produced
during code evaluation.
- get_code()returns original code formatting (white
spaces and comments) passed to- eval_code().
- qenvinherits from the- environmentclass,
allowing to use- ls(),- names(),- as.environment()and other functions on- qenvobjects.
Miscellaneous
- join()method is deprecated, please use- c()instead
- get_var()method is deprecated, please use- get,- [[or- $instead.
- Remove deprecated function new_qenv.
- Numerous bug fixes
teal.code 0.5.0
Breaking Change
- qenvobjects should now be created with- qenv()rather than- new_qenv(). The new
constructor always creates an empty object.- new_qenvis now
deprecated.
Miscellaneous
- 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.
teal.code 0.4.1
Miscellaneous
- 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.
teal.code 0.4.0
Breaking Change
- chunkshave been removed. The new- qenvobject should be used instead. See the new- qenvvignette in
the package for further details.
Miscellaneous
- dev_suppresshas been added to suppress rendering of
plots on IDE.
teal.code 0.3.0
Major breaking change
- chunkshave now been deprecated and will be removed
from the package in a future release. The new- qenvobject
should be used instead. See the new- qenvvignette in the
package for further details.
New features
- Added concatmethod to theqenvto offer
the concatenate functionality.
teal.code 0.2.0
Miscellaneous
- Removed the %<chunk%operator. Please usechunks_pushinstead.
teal.code 0.1.1
Enhancements
- New wrapper function chunks_deep_cloneto make a deep
(i.e. completely independent) copy of achunksobjects.
- Added a new wrapper chunks_newforchunksinitialization.
Miscellaneous
- Added a template to the pkgdownsite.
- Added a vignette to explain the advanced features of the
chunksobject.
teal.code 0.1.0
- Initial release of teal.code, a package for code
storage and execution class for teal applications.