Changelog
Source:NEWS.md
rlistings 0.2.9
CRAN release: 2024-06-20
- Added
truetype
font support based on newformatters
api, by @gmbecker. - Fixed tests so that paginations based on different fonts and page sizes can be compared, by @gmbecker.
-
paginate_listing
now acceptscol_gap
argument and passes it down correctly to pagination machinery informatters
, by @gmbecker.
rlistings 0.2.8
CRAN release: 2024-04-15
- 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 directlypaginate_to_mpfs
function fromformatters
package.
rlistings 0.2.7
CRAN release: 2023-12-06
- 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.
rlistings 0.2.6
- 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.
rlistings 0.2.5
- Fixed bug in
as_listing
preventing custom formatting from being applied to key columns. - Updated
matrix_form
to allowNA
values in key columns. - Updated
as_listing
to trim any rows containing only NA values and print an informative message.
rlistings 0.2.4
CRAN release: 2023-08-26
- 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.
- Specified minimal version of package dependencies.
rlistings 0.2.3
- Added new arguments
default_formatting
andcol_formatting
toas_listing
to specify column format configurations. - Added new argument
unique_rows
toas_listing
to remove duplicate rows from listing. - Default alignment is now
left
across all types. ReinstateNA
as default. - Introduced
testthat
edition 3.
rlistings 0.2.1
CRAN release: 2023-03-17
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 intolpp
(lines per page) andcpp
(characters per page). - New function
export_as_txt
to support output saved in plain text. -
cols
argument renamed todisp_cols
in the functionas_listing
. - New argument
non_disp_cols
in the functionas_listing
. -
disp_cols
argument now defaults to all columns not included inkey_cols
. - Columns named in
key_cols
no longer need to also be listed indisp_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.