Skip to content

Releases: insightsengineering/rlistings

v0.2.8 cran

15 Apr 15:08
b9e3eac
Compare
Choose a tag to compare
  • Added relevant tests for pagination when key columns need to be repeated in each page and when they are all empty.
  • Added relevant tests for new line characters' handling in footnotes and titles.
  • Added a cheatsheet.
  • Added function split_into_pages_by_var to split a listing into a list of listings according to values of a given
    variable. This enables page splits by variable when paginating.
  • Removed defunct function pag_listing_indices.
  • Changed title of "Getting Started with rlistings" vignette to "Getting Started".
  • Refactored paginate_listing to use directly paginate_to_mpfs function from formatters package.

What's Changed

New Contributors

Full Changelog: v0.2.7...v0.2.8

v0.2.7

06 Dec 15:33
1fe5b82
Compare
Choose a tag to compare
  • Applied styler and resolved package lint. Changed default indentation from 4 spaces to 2.
  • Fixed bug in add_listing_col when both a function and a format are specified.
  • Added a vignette on referential footnotes workaround.
  • Added a vignette on formatting columns.
  • Added a vignette on pagination.

What's Changed

Full Changelog: v0.2.6...v0.2.7

v0.2.6

19 Oct 13:50
ff75720
Compare
Choose a tag to compare
  • Fixed bug in pagination preventing key column values to appear in paginated listings when export_as_txt was used.
  • Added tests to cover for export_as_txt outputs.
  • Integrated support for newline characters.

What's Changed

  • Close #155 and add test for export_as_txt by @anajens in #162
  • Fixes after wrap_string refactoring by @Melkiades in #163
  • fix vec_nlines and complete support newline character by @Melkiades in #167
  • adding tests to fix infinite loop and export_as_txt colwidths that were hidden by @Melkiades in #170

New Contributors

Full Changelog: v0.2.5...v0.2.6

v0.2.5

04 Oct 12:09
10f5fd8
Compare
Choose a tag to compare
  • Fixed bug in as_listing preventing custom formatting from being applied to key columns.
  • Updated matrix_form to allow NA values in key columns.
  • Updated as_listing to trim any rows containing only NA values and print an informative message.

What's Changed

New Contributors

Full Changelog: v0.2.4...v0.2.5

v0.2.4 CRAN

31 Aug 15:22
0d7bd19
Compare
Choose a tag to compare
  • Added num_rep_cols method for listings. Resolves error with key column repetition during pagination .
  • Fixed a bug when exporting a degenerative list, which is a data frame of a single row and a single column.

What's Changed

Full Changelog: v0.2.3...v0.2.4

v0.2.3

20 Jul 15:09
b4751d1
Compare
Choose a tag to compare
  • Added new arguments default_formatting and col_formatting to as_listing to specify column format configurations.
  • Added new argument unique_rows to as_listing to remove duplicate rows from listing.
  • Default alignment is now left across all types. Reinstate NA as default.
  • Introduced testthat edition 3.

What's Changed

Full Changelog: v0.2.2...v0.2.3

v0.2.2 CRAN

19 May 14:34
3b2427b
Compare
Choose a tag to compare
  • Moved export_as_txt to formatters. Added to reexports.

What's Changed

Full Changelog: v0.2.1...v0.2.2

rlistings v0.2.1 - CRAN release

17 Mar 19:46
8a65c97
Compare
Choose a tag to compare

Enhancements

  • Extend page-size machinery in pagination by allowing the page specification (page_type, pg_width,
    pg_height, font_family, font_size) to be transformed into lpp (lines per page) and cpp (characters per page).
  • New function export_as_txt to support output saved in plain text.
  • cols argument renamed to disp_cols in the function as_listing.
  • New argument non_disp_cols in the function as_listing.
  • disp_cols argument now defaults to all columns not included in key_cols.
  • Columns named in key_cols no longer need to also be listed in disp_cols.
  • Pagination is now calculated based on formatted cells values (including wrapping) rather than raw cell contents.
  • Key columns are now guaranteed to be the leftmost columns (both stored and displayed) in listing_df objects.
  • Added tests for paginate_listing.
  • Added development cycle with lifecycle support, and experimental badges.
  • Added initial installments for checkmate assertion support.
  • Added a main package page with all the relevant imports and descriptions (rlistings-package).
  • Added "Get Started" vignette and updated README.
  • Added markdown support to all functions.

Bug fixes

  • matrix_form(lsting, TRUE) no longer throws an error.

v0.2.0

15 Mar 16:29
b072107
Compare
Choose a tag to compare

Enhancements

  • Extend page-size machinery in pagination by allowing the page specification (page_type, pg_width,
    pg_height, font_family, font_size) to be transformed into lpp (lines per page) and cpp (characters per page).
  • New function export_as_txt to support output saved in plain text.
  • cols argument renamed to disp_cols in the function as_listing.
  • New argument non_disp_cols in the function as_listing.
  • disp_cols argument now defaults to all columns not included in key_cols.
  • Columns named in key_cols no longer need to also be listed in disp_cols.
  • Pagination is now calculated based on formatted cells values (including wrapping) rather than raw cell contents.
  • Key columns are now guaranteed to be the leftmost columns (both stored and displayed) in listing_df objects.
  • Added tests for paginate_listing.
  • Added development cycle with lifecycle support, and experimental badges.
  • Added initial installments for checkmate assertion support.
  • Added a main package page with all the relevant imports and descriptions (rlistings-package).
  • Added "Get Started" vignette and updated README.
  • Added markdown support to all functions.

Bug fixes

  • matrix_form(lsting, TRUE) no longer throws an error.

What's Changed

New Contributors

Full Changelog: v0.1.1...v0.2.0

v0.1.1

14 Oct 01:27
5427bb3
Compare
Choose a tag to compare
  • add title, subtitle, and (main and prov) footer support
  • now depends on dplyr instea dof magrittr to hopefully avoid var_labels droppage issues
  • paginate_listing now supports pagination in both directions

What's Changed

New Contributors

Full Changelog: https://github.com/insightsengineering/rlistings/commits/v0.1.1