Releases: insightsengineering/teal.code
Releases · insightsengineering/teal.code
v0.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_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.
What's Changed
- Creates special case for '=' processing by @averissimo in #253
- Fixes bug in execution with multiple assignments inside expression by @averissimo in #250
{teal}module returns ateal_reportobject that extends fromteal_databy @averissimo in #255- Use evaluate by @gogonzo in #258
- 262 Fix improper code dependency by @m7pr in #264
- Update lifecycle badges by @m7pr in #268
- [skip vbump] upversion v0.7.0 by @donyunardi in #270
Full Changelog: v0.6.1...v0.7.0
v0.6.1-rc1
[skip vbump] upversion 0.6.1
v0.6.1
Bug fixes
- Fix an infinite recursion happening when lhs contains two or more symbols occurring in the rhs of the same call.
v0.6.0
Enhancements
- 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 in
qenvbut 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.
Miscellaneous
join()method is deprecated, please usec()insteadget_var()method is deprecated, please useget,[[or$instead.- Remove deprecated function
new_qenv. - Numerous bug fixes
What's Changed
- rename test file by @pawelru in #193
- update deps of roxygenize hook by @pawelru in #196
- Propagate files from insightsengineering/.github by @insights-engineering-bot in #198
- [skip actions] Propagate files from insightsengineering/.github by @insights-engineering-bot in #199
- options for strict tests by @pawelru in #195
- Workflow propagation by @walkowif in #202
- Bumps
{rmarkdown}minimal version by @averissimo in #203 - Workflow propagations by @walkowif in #205
- 206 fix failed pipeline by @donyunardi in #207
- update readme by @pawelru in #208
- Workflow propagations by @walkowif in #209
- 210 bring
get_code_dependencyby @m7pr in #214 - update testthat version by @donyunardi in #220
- Remove
new_qenvby @llrs-roche in #222 - Change
qenvasenvironment"type" -- addsnames(qenv/qenv.error),get()and$S3 methods by @averissimo in #218 - 211
[.qenvS3 method + replacement of@id,@warnings, and@messagesfields by @m7pr in #216 - Remove magrittr dependency by @llrs-roche in #225
- Fixes integer shorthand regression by @averissimo in #227
- id as names by @gogonzo in #232
- fix call breaks by @gogonzo in #229
- fix code parser for
:=operator by @m7pr in #234 - Fix
‘sym_cond > ass_cond’: longer objectby @m7pr in #236 - add setup-r-dependencies by @donyunardi in #238
- datanames in vignettes by @gogonzo in #239
- [skip vbump] upversion to 0.6.0 by @donyunardi in #242
New Contributors
- @llrs-roche made their first contribution in #222
Full Changelog: v0.5.0...v0.6.0
v0.6.0-rc1
[skip vbump] upversion to 0.6.0
v0.5.0
Breaking Change
qenvobjects should now be created withqenv()rather thannew_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.
What's Changed
- 127 introduce
within.qenvby @chlebowa in #149 - #133 code parser alternative by @m7pr in #146
- add no_browser hook in pre-commit by @donyunardi in #155
- Introduce teal_data class by @gogonzo in #153
- library calls possible within a call by @gogonzo in #157
- add code masking by @chlebowa in #160
- remove replace_code from pkgdown by @chlebowa in #162
- remove
get_code_dependency+ friends by @m7pr in #167 - 168 extend
get_codewith...by @m7pr in #169 - Add
...toget_code.qenv.errorby @m7pr in #177 - update repo roster link by @donyunardi in #171
- Remove residual code and their dependencies by @vedhav in #179
- 145 create qenvs empty by @chlebowa in #156
- 150 collate documentation by @chlebowa in #166
- 180 missing method
within.qenv.errorby @chlebowa in #182 - refactor branch for teal.code by @kartikeyakirar in #174
- Workflow propagation by @walkowif in #184
- 94
get_varinherits = FALSEby @chlebowa in #186 - remove
replace_codefunction by @chlebowa in #163 - collate seealso fields by @chlebowa in #185
- 165 trim trace for qenv.error@main by @m7pr in #183
- 175 ls(qenv) by @m7pr in #187
- Pre-release activities by @kartikeyakirar in #189
- Removing old rd syntax by @kartikeyakirar in #191
- [skip vbump] CRAN Release v0.5.0 by @donyunardi in #192
New Contributors
Full Changelog: v0.4.1...v0.5.0
v0.4.1
Miscellaneous
- Fix NEWS
- Updated usage and installation instructions in
README. - Updated phrasing of the
qenvvignette. - Specified minimal version of package dependencies.
What's Changed
- Workflow propagation by @walkowif in #135
- fix news by @donyunardi in #138
- Add CRAN release template by @walkowif in #140
- add .pre-commit-config.yaml cleanup by @averissimo in #141
- Adds min package version by @averissimo in #123
- 132 CRAN pre-release cleanup by @m7pr in #142
- CRAN Release [skip vbump] by @donyunardi in #143
New Contributors
- @averissimo made their first contribution in #141
Full Changelog: v0.4.0...v0.4.1
v0.4.0
Breaking Change
chunkshave been removed. The newqenvobject should be used instead. See the newqenvvignette in the package for further details.
Miscellaneous
dev_suppresshas been added to suppress rendering of plots on IDE.
What's Changed
- [skip vbump] Add dev version following release by @cicdguy in #106
- Update check as-cran and default landing page by @walkowif in #108
- Fix #109 by @Kunal-debug-png in #113
- Add styler to
format_expressionby @Melkiades in #115 - Workflow updates by @walkowif in #110
- Update workflows by @walkowif in #117
- reduce the amount of spelling issues / WORDLIST by @m7pr in #119
- Workflow propagations by @walkowif in #120
- 77 remove chunks completely by @m7pr in #121
- restart cicd by @gogonzo in #122
- 84 qenv prints plots to the device when running shiny app by @kartikeyakirar in #124
- release 0.4.0 [skip vbump] [skip spelling] by @donyunardi in #131
New Contributors
- @Kunal-debug-png made their first contribution in #113
- @Melkiades made their first contribution in #115
- @m7pr made their first contribution in #119
- @kartikeyakirar made their first contribution in #124
Full Changelog: v0.3.0...v0.4.0
v0.3.0
Major breaking change
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.
New features
- Added
concatmethod to theqenvto offer the concatenate functionality.
What's Changed
- [skip vbump] Dev version with 9xxx by @arkadiuszbeer in #83
- Teal refactor by @pawelru in #66
- Add coverage badge by @walkowif in #90
- Enable checks for
workflow_dispatchevent by @walkowif in #91 - improve join docs by @donyunardi in #92
- Multiple warnings for the same code are not separated by new line characters by @chlebowa in #97
- concatenate method - qenv by @Polkas in #95
- update
remove_enclosing_curly_bracesby @nikolas-burkoff in #98 - Badges and contribution guidelines by @insights-engineering-bot in #99
- Use rlang::env_print by @nikolas-burkoff in #101
- update the value of
deprecate_warn(where=)by @donyunardi in #103 - [skip vbump] v0.3.0 Release by @cicdguy in #105
New Contributors
- @walkowif made their first contribution in #90
- @donyunardi made their first contribution in #92
- @chlebowa made their first contribution in #97
Full Changelog: v0.2.0...v0.3.0
v0.2.0
Miscellaneous
- Removed the
%<chunk%operator. Please usechunks_pushinstead.
What's Changed
- fix news by @gogonzo in #46
- refactor!: removed
chunks_pipeby @kpagacz in #47 - Contribution guide updates by @insights-engineering-bot in #48
- DESC and README by @denisovan31415 in #50
- Update Rbuildignore and add auto-updates by @insights-engineering-bot in #51
- Update pre-commit config to detect
_pkgdown.y[a]mlby @insights-engineering-bot in #52 - Update font awesome icon labels for FA 6 by @cicdguy in #53
- Update documentation workflow by @insights-engineering-bot in #54
- Update check.yaml by @arkadiuszbeer in #58
- fixes by @mhallal1 in #64
- [skip vbump] Release for version 0.2.0 by @insights-engineering-bot in #81
Full Changelog: v0.1.1...v0.2.0