Releases: insightsengineering/formatters
Releases · insightsengineering/formatters
v0.5.10 cran
- Fixed a bug in
mf_update_cinfo
causing an error whenexport_as_txt
was applied to empty listings. - Fixed a bug in
mform_handle_newlines
that did not allow printing to console a table that has top left information, new lines in the column names and contained only one row. - Fixed a bug in
mform_handle_newlines
that did not allow for empty strings to be present in top left information. - Fixed a bug with top left information not being printed when more lines are present than header lines.
What's Changed
- Workflow propagations by @walkowif in #317
- Fix empty listing export bug by @edelarua in #323
- rm staged deps by @shajoezhu in #325
- Fix bug in printing table with only one row, topleft information and column names with newlines by @Melkiades in #326
- Fix small bug in topleft information by @Melkiades in #328
- Compress logo by @llrs-roche in #329
- Replace logo.png by logo.svg by @llrs-roche in #330
- preparing new release [skip vbump] by @shajoezhu in #332
New Contributors
- @llrs-roche made their first contribution in #329
Full Changelog: v0.5.9...v0.5.10
v0.5.9 cran
- Fixed bug in
format_value
that caused multipleNA
values to be associated with the wrongna_str
values.
What's Changed
- Improve
format_value
error messaging by @edelarua in #307 - Workflow propagations by @walkowif in #305
- fix na_str format values by @Melkiades in #309
- update readme by @pawelru in #315
- green ci by @shajoezhu in #313
- udpate tests by @shajoezhu in #316
- updating to 0.5.9 [skip vbump] by @shajoezhu in #320
Full Changelog: v0.5.8...v0.5.9
v0.5.8 cran
- Added
TrueType
font support to pagination and word-wrapping machinery by @gmbecker. - Fixed a bug where
col_gap
was not correctly taken into account during horizontal pagination (#249) by @gmbecker.
What's Changed
- Add Truetype support and fix col_gap bug by @gmbecker in #296
- Fix windows times new roman font name. passes winbuilder forme by @gmbecker in #303
- update version to 0.5.8, [skip vbump] by @shajoezhu in #304
Full Changelog: v0.5.7...v0.5.8
v0.5.7
- Added
lifecycle
badge files for documentation. - Fixed a bug causing recursive appending of page number text during pagination.
- Deprecated
width
,height
andfontsize
arguments ofexport_as_pdf()
usinglifecycle
package.
What's Changed
- Trial fix req validation by @Melkiades in #277
- Add missing propagations by @walkowif in #279
- Add snapshot testing job by @cicdguy in #281
- deprecate args using lifecycle by @pawelru in #283
- Bumps
{rmarkdown}
minimal version by @averissimo in #284 - Fix recursive page numbering bug by @edelarua in #287
- Hot fix for page number bug by @edelarua in #290
- Fix pagination LBT01 issue count by @Melkiades in #292
- [skip vbump] preping for release tag 0.5.7 by @shajoezhu in #294
Full Changelog: v0.5.6...v0.5.7
v0.5.6 cran
- Added "N=xx" format and unit test for it.
- Added error catch for
\r
recursive special character. - Fixed pagination unexpected counts for
rlistings
' pagination by removing the manual subsetting workaround and fixinginsightsengineering/rlistings#155
. - Fixed mismatch between pagination and exports regarding the value assigned to parameter
max_width
. Introduced general handler.handle_max_width
for pagination, exports, andtoString
. - Fixed bug in
format_value
causing a warning for vectors containing both NA and non-NA values. - Fixed issue with
var_label
assignment that needed to be of non-named strings. - Included indentation and split rows with their
LabelRow
assignment inbasic_matrix_form
. - Allowed tables with content rows in the end be exported.
- Moved new line expansion for decorations from
rtables
'matrix_form
toformatters
' constructorMatrixPrintForm
so to cover alsorlistings
. - Improved relevant information feedback during pagination.
- Updated
export_as_txt
to allow lists of tables/listings as input. This enables listing pagination with pages by parameter. - Removed the possibility of setting
min_siblings > 0
when dealing with listings. This allows smooth pagination when there are only 2 lines. - Removed redundant references to
matrix_print_form
constructor (now onlyMatrixPrintForm
).
What's Changed
- Workflow propagation by @walkowif in #239
- Add "N=xx" format to exactly match FDA example shells, with test updates by @gmbecker in #241
- snapshot fix for new format by @Melkiades in #245
- allow content row in the end by @clarkliming in #226
- Fix of newlines in footers; towards fixing pagination for rlistings by @Melkiades in #246
- Fix bug in
format_value
causing warning for NAs by @edelarua in #250 - fix deps of roxygenize pre-commit hook by @pawelru in #254
- Fix pkgdown redirect by @vedhav in #256
- Propagate files from insightsengineering/.github by @insights-engineering-bot in #257
- [skip actions] Propagate files from insightsengineering/.github by @insights-engineering-bot in #258
- Fix oneliner error and addition of
basic_listing_mf
for testing by @Melkiades in #260 - strict options in tests; few minor enhancements by @pawelru in #253
- add page number by @clarkliming in #227
- Fix var labels when named by @Melkiades in #263
- Verdepcheck fixes by @pawelru in #267
- Add code of conduct by @martincadek in #268
- Workflow propagation by @walkowif in #266
- Support pagination of lists of rtables/rlistings objects by @edelarua in #213
- Hot-fix for list pagination for {rtables} tests by @Melkiades in #273
- Clean up documentation by @edelarua in #272
- Add installation instructions by @cicdguy in #274
- Adding more details to test mock examples by @Melkiades in #276
- update version number to 0.5.6, preping for cran release [skip vbump] by @shajoezhu in #275
New Contributors
- @clarkliming made their first contribution in #226
- @vedhav made their first contribution in #256
- @martincadek made their first contribution in #268
Full Changelog: v0.5.5...v0.5.6
v0.5.5 CRAN
- Applied
styler
and resolved package lint. Changed default indentation from 4 spaces to 2. - Added the possibility of setting a general default using
set_default_hsep()
that sets up the optiongetOption("formatters_default_hsep")
. - Allowed section divider between header and table body.
- Added support for combining duplicate referential footnotes.
- Migrated
export_as_pdf
fromrtables
. Now usingpaginate_to_mpfs
function. Madefont_lcpi
function internal. - Fixed wrapping and section dividers error.
- Fixed infinite loop in
wrap_string
that was caused by a bug instringi::stri_wrap
not wrapping small
strings with dots and spaces correctly.
What's Changed
- Remove old references by @cicdguy in #217
- Apply styler, fix lint by @edelarua in #219
- Support for combining duplicate ref footnotes by @edelarua in #225
- Fix separator div in case of wrapping by @Melkiades in #224
- Adding possibility to change
hsep
globally by @Melkiades in #228 - Fixing infinite loop for specific strings (e.g. "10 . 4", width of 2) by @Melkiades in #231
- Generate pkgdown site favicon by @edelarua in #236
- 94 internalize function@main by @ayogasekaram in #234
- checking news and description preparing for new release [skip vbump] by @shajoezhu in #237
Full Changelog: v0.5.4...v0.5.5
v0.5.4
- Fixed a bug in
paginate_to_mpfs()
so that formatting in listings key columns is retained with paginationinsightsengineering/rlistings#155
. - Improved error message for pagination when
cpp
orlpp
is too small in comparison to the column or row widths. - Added full support of newline characters in any part of
rtables
objects. - Modified default vertical alignment for top left information to bottom.
- Rework of
wrap_string
so to allow space characters to be used and wrapped.
What's Changed
- 205 paginate mpfs listing@main by @anajens in #206
- 202 fix trimming@main by @ayogasekaram in #203
- Support for newlines by @Melkiades in #214
- Improve pagination error print (re-do with verbose + details) by @Melkiades in #210
- Add newline character support for ref footnotes by @Melkiades in #215
- [skip vbump] Release candidate v0.5.4 by @Melkiades in #216
New Contributors
Full Changelog: v0.5.3...v0.5.4
v0.5.3
- Decimal alignment now throws informative error if scientific notation is used.
- Specified minimal version of package dependencies.
- Updated hex sticker logo.
What's Changed
- Add CRAN release template by @walkowif in #196
- Adds min package version by @averissimo in #182
- Error handling for scientific notation by @Melkiades in #199
- [skip vbump] Internal release candidate 0.5.3 by @Melkiades in #204
New Contributors
- @averissimo made their first contribution in #182
Full Changelog: v0.5.2...v0.5.3
v0.5.2 CRAN
paginate_to_mpfs
can handle single column tables and listings.- Added decimal alignment support with
decimal
,dec_right
, anddec_left
. - Updated
export_as_txt
to passrep_cols
argument to pagination function. - Added
list_valid_aligns()
that lists the available alignments. - Set default values for
na_str
andalign
toNULL
in the format configuration functionfmt_config
. - Fixed a bug that threw warning when
prov_footer
length is greater than1
insightsengineering/rtables#705
.
What's Changed
- 447 remove formatters from teal packages by @m7pr in #183
- Decimal Alignment main by @Melkiades in #173
- add rep_cols argument to export_as_txt by @ayogasekaram in #186
- 188 single col fix@main by @ayogasekaram in #190
- Workflow propagation by @walkowif in #189
- Fix bug that threw warning when prov_footer len > 1 (rtables#705) by @gmbecker in #192
- 194 main footer documentation@main by @ayogasekaram in #195
- prep for cran release, tag to 0.5.2, [skip vbump] by @shajoezhu in #191
New Contributors
- @ayogasekaram made their first contribution in #186
Full Changelog: v0.5.1...v0.5.2
v0.5.1
- Updated
export_as_txt
to print split label when usingpage_by
with only one level. - Reduced the amount of spelling issues.
- New generic
getter
andsetter
foralign
(obj_align
andobj_align<-
). - New
fmt_config
class to bundle togetherformat
,na_str
, andalign
instructions. - Reverting default for alignment (from
NULL
tocenter
) andna_str
fromNULL
to"NA"
. This affects onlyrlistings
, where the new default takes effect.
What's Changed
- rename test file to testthat.R by @gmbecker in #158
- Update workflows by @walkowif in #161
- Fix NEWS version after release [skip vbump] by @edelarua in #164
- reduce the amount of spelling issues / WORDLIST by @m7pr in #166
- Workflow propagations by @walkowif in #169
- Update
export_as_txt
to print split label when usingpage_by
with one level by @edelarua in #174 - Create
obj_align
,fmt_config
constructor/class by @edelarua in #176 - align standard is NULL to be set in rlistings by @Melkiades in #179
- Revert defaults to avoid
NULL
assigns beforerlistings
' PR by @Melkiades in #181 - updating description, news, change version to 0.5.1, [skip vbump] by @shajoezhu in #177
New Contributors
Full Changelog: v0.5.0...v0.5.1