Releases: insightsengineering/formatters
Releases · insightsengineering/formatters
v0.5.11
- Fixed a bug in
mform_handle_newlines
that caused string matrix column names to be removed. This prevented paginated listing key column info from being repeated when vertically spanning multiple pages. - Fixed a minor bug with the
paginate
argument in theexport_as_rtf
function. - Added
round_type
argument to indicateIEC
(default) orSAS
(nearest value, 5 goes up) rounding to all formatting machinery. - Added support for new 2- and 3-d formats.
What's Changed
- Listing key columns info not repeated when vertically spanning multiple pages by @edelarua in #339
- Tazovsky patch 1 by @shajoezhu in #343
- implement optional 'sas' rounding, pass round_type and na_str to fmt fun by @gmbecker in #337
- Update .revdeprefs.yaml by @shajoezhu in #345
- [Only for testing revdeps] Update .revdeprefs.yaml by @shajoezhu in #348
- [skip vbump] Release candidate v0.5.11 by @Melkiades in #347
Full Changelog: v0.5.10...v0.5.11
v0.5.11-rc3
empty
v0.5.11-rc2: Merge branch 'main' into release-candidate-v0.5.11
Signed-off-by: Davide Garolini <[email protected]>
v0.5.11-rc1
DESCRIPTION
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