Skip to content

Releases: pharmaverse/formatters

v0.5.13

Choose a tag to compare

@github-actions github-actions released this 15 Sep 05:07
  • Export mf_col_widths accessor (getter and setter).
  • Fixed a bug in listing pagination where the logical index of empty key columns was recycled across all columns, selecting the wrong columns for repeated key labels and (on recent R-devel) emitting a subscript-recycling warning that caused CRAN test failures.

What's Changed

New Contributors

Full Changelog: v0.5.12...v0.5.13

v0.5.12

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 08 Dec 10:56
d581c8a
  • 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

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 09 Apr 13:11
1d34f8a
  • 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

Choose a tag to compare

@github-actions github-actions released this 08 Apr 20:39
empty

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

Choose a tag to compare

@github-actions github-actions released this 08 Apr 14:57
788d4d4
Signed-off-by: Davide Garolini <dgarolini@gmail.com>

v0.5.11-rc1

Choose a tag to compare

@github-actions github-actions released this 07 Apr 15:28
DESCRIPTION

v0.5.10 cran

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 09 Jan 02:57
a0df3c4
  • 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

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 13 Sep 11:41
2e4807d
  • 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

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 19 Jun 16:20
c275f63
  • 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

Choose a tag to compare

@insights-engineering-bot insights-engineering-bot released this 29 May 12:19
ec2c5c9
  • 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