Skip to content

Releases: insightsengineering/formatters

v0.5.12

08 Dec 10:56
d581c8a

Choose a tag to compare

  • Added "default" format label which behaves like "xx" in format_value but 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_type object for use as default value/with match.arg in upstream packages.
  • New obj_round_type and obj_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

New Contributors

Full Changelog: v0.5.11...v0.5.12

v0.5.11

09 Apr 13:11
1d34f8a

Choose a tag to compare

  • 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 the export_as_rtf function.
  • Added round_type argument to indicate IEC (default) or SAS (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

08 Apr 20:39

Choose a tag to compare

empty

v0.5.11-rc2: Merge branch 'main' into release-candidate-v0.5.11

08 Apr 14:57
788d4d4

Choose a tag to compare

Signed-off-by: Davide Garolini <dgarolini@gmail.com>

v0.5.11-rc1

07 Apr 15:28

Choose a tag to compare

DESCRIPTION

v0.5.10 cran

09 Jan 02:57
a0df3c4

Choose a tag to compare

  • Fixed a bug in mf_update_cinfo causing an error when export_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

New Contributors

Full Changelog: v0.5.9...v0.5.10

v0.5.9 cran

13 Sep 11:41
2e4807d

Choose a tag to compare

  • Fixed bug in format_value that caused multiple NA values to be associated with the wrong na_str values.

What's Changed

Full Changelog: v0.5.8...v0.5.9

v0.5.8 cran

19 Jun 16:20
c275f63

Choose a tag to compare

  • 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

29 May 12:19
ec2c5c9

Choose a tag to compare

  • Added lifecycle badge files for documentation.
  • Fixed a bug causing recursive appending of page number text during pagination.
  • Deprecated width, height and fontsize arguments of export_as_pdf() using lifecycle package.

What's Changed

Full Changelog: v0.5.6...v0.5.7

v0.5.6 cran

15 Apr 07:38
c9ac9b2

Choose a tag to compare

  • 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 fixing insightsengineering/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, and toString.
  • 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 in basic_matrix_form.
  • Allowed tables with content rows in the end be exported.
  • Moved new line expansion for decorations from rtables' matrix_form to formatters' constructor MatrixPrintForm so to cover also rlistings.
  • 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 only MatrixPrintForm).

What's Changed

New Contributors

Full Changelog: v0.5.5...v0.5.6