Releases: insightsengineering/formatters
Releases · insightsengineering/formatters
v0.5.12
- Added
"default"format label which behaves like"xx"informat_valuebut indicates formatting behavior can be inherited from parent structures in upstream code. round_type = "sas"no longer displays a negative sign when negative values are rounded to zero.- Added new
round_type,"iec_mod". Provides IEC style rounding but will not display negative sign when rounding to zero. - New exported
valid_round_typeobject for use as default value/withmatch.argin upstream packages. - New
obj_round_typeandobj_round_type<-generics for objects which carry around a round_type. - Updated default round type value to retrieve the object's round type for all generics and relevant methods which accept round_type.
What's Changed
- Optimize .compress_mat by @Melkiades in #353
- Fix pagination listings with newlines by @Melkiades in #356
- Update .revdeprefs.yaml by @shajoezhu in #357
- Update DESCRIPTION by @shajoezhu in #362
- 363 default format label by @gmbecker in #364
- 1040 rtables round type by @iaugusty in #366
- Release v0.5.12 [skip vbump] by @edelarua in #367
New Contributors
Full Changelog: v0.5.11...v0.5.12
v0.5.11
- Fixed a bug in
mform_handle_newlinesthat 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
paginateargument in theexport_as_rtffunction. - Added
round_typeargument 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 <dgarolini@gmail.com>
v0.5.11-rc1
DESCRIPTION
v0.5.10 cran
- Fixed a bug in
mf_update_cinfocausing an error whenexport_as_txtwas applied to empty listings. - Fixed a bug in
mform_handle_newlinesthat 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_newlinesthat 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_valuethat caused multipleNAvalues to be associated with the wrongna_strvalues.
What's Changed
- Improve
format_valueerror 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
TrueTypefont support to pagination and word-wrapping machinery by @gmbecker. - Fixed a bug where
col_gapwas 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
lifecyclebadge files for documentation. - Fixed a bug causing recursive appending of page number text during pagination.
- Deprecated
width,heightandfontsizearguments ofexport_as_pdf()usinglifecyclepackage.
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
\rrecursive 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_widthfor pagination, exports, andtoString. - Fixed bug in
format_valuecausing a warning for vectors containing both NA and non-NA values. - Fixed issue with
var_labelassignment that needed to be of non-named strings. - Included indentation and split rows with their
LabelRowassignment inbasic_matrix_form. - Allowed tables with content rows in the end be exported.
- Moved new line expansion for decorations from
rtables'matrix_formtoformatters' constructorMatrixPrintFormso to cover alsorlistings. - Improved relevant information feedback during pagination.
- Updated
export_as_txtto allow lists of tables/listings as input. This enables listing pagination with pages by parameter. - Removed the possibility of setting
min_siblings > 0when dealing with listings. This allows smooth pagination when there are only 2 lines. - Removed redundant references to
matrix_print_formconstructor (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_valuecausing 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_mffor 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