diff --git a/DESCRIPTION b/DESCRIPTION index 0c0e8a8a..dc9964bb 100644 --- a/DESCRIPTION +++ b/DESCRIPTION @@ -1,6 +1,6 @@ Package: rlistings Title: Clinical Trial Style Data Readout Listings -Version: 0.2.8.9003 +Version: 0.2.9 Date: 2024-06-11 Authors@R: c( person("Gabriel", "Becker", , "gabembecker@gmail.com", role = "aut", @@ -21,7 +21,7 @@ URL: https://insightsengineering.github.io/rlistings/, https://github.com/insightsengineering/rlistings/ BugReports: https://github.com/insightsengineering/rlistings/issues Depends: - formatters (>= 0.5.7.9000), + formatters (>= 0.5.8), methods, tibble (>= 2.0.0) Imports: diff --git a/NEWS.md b/NEWS.md index 7ee32db0..6ce74171 100644 --- a/NEWS.md +++ b/NEWS.md @@ -1,7 +1,7 @@ -## rlistings 0.2.8.9003 - * Added truetype font support based on new `formatters` api, by @gmbecker. - * `paginate_listing` now accepts `col_gap` argument and passes it down correctly to pagination machinery in `formatters`, by @gmbecker. +## rlistings 0.2.9 + * Added `truetype` font support based on new `formatters` api, by @gmbecker. * Fixed tests so that paginations based on different fonts and page sizes can be compared, by @gmbecker. + * `paginate_listing` now accepts `col_gap` argument and passes it down correctly to pagination machinery in `formatters`, by @gmbecker. ## rlistings 0.2.8 * Added relevant tests for pagination when key columns need to be repeated in each page and when they are all empty. diff --git a/R/rlistings.R b/R/rlistings.R index 031e8614..11be12e4 100644 --- a/R/rlistings.R +++ b/R/rlistings.R @@ -269,7 +269,7 @@ get_keycols <- function(df) { #' @param expand_newlines (`flag`)\cr this should always be `TRUE` for listings. We keep it #' for debugging reasons. #' -#' @return a [`MatrixPrintForm`] object. +#' @return a [formatters::MatrixPrintForm] object. #' #' @seealso [formatters::matrix_form()] #' diff --git a/R/rlistings_methods.R b/R/rlistings_methods.R index 11a85653..d5ca8d6f 100644 --- a/R/rlistings_methods.R +++ b/R/rlistings_methods.R @@ -4,7 +4,7 @@ dflt_courier <- font_spec("Courier", 9, 1) #' Methods for `listing_df` objects #' -#' See core documentation in [`formatters`] for descriptions of these functions. +#' See core documentation in [formatters::formatters-package] for descriptions of these functions. #' #' @inheritParams formatters::toString #' @param x (`listing_df`)\cr the listing. diff --git a/man/listing_methods.Rd b/man/listing_methods.Rd index 8a97e3a9..e4dd1e5e 100644 --- a/man/listing_methods.Rd +++ b/man/listing_methods.Rd @@ -91,7 +91,7 @@ calculating string widths and heights, as returned by \code{\link[formatters:fon } } \description{ -See core documentation in \code{\link{formatters}} for descriptions of these functions. +See core documentation in \link[formatters:formatters-package]{formatters::formatters-package} for descriptions of these functions. } \examples{ lsting <- as_listing(mtcars) diff --git a/man/matrix_form-listing_df-method.Rd b/man/matrix_form-listing_df-method.Rd index 9dabd22c..35e42b4b 100644 --- a/man/matrix_form-listing_df-method.Rd +++ b/man/matrix_form-listing_df-method.Rd @@ -28,7 +28,7 @@ calculating string widths and heights, as returned by \code{\link[formatters:fon font specified by \code{fontspec}.} } \value{ -a \code{\link{MatrixPrintForm}} object. +a \link[formatters:MatrixPrintForm]{formatters::MatrixPrintForm} object. } \description{ Although \code{rtable}s are represented as a tree data structure when outputting the table to ASCII or HTML,