Skip to content

Commit a4e240d

Browse files
committed
fix
1 parent 2f7f5e8 commit a4e240d

3 files changed

Lines changed: 5 additions & 4 deletions

File tree

NEWS.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
## rlistings 0.2.11.9000
2+
* Added parameter `align_colnames` to `as_listings()`, along with post-processing functions `align_colnames()` and `align_colnames()<-`. This flag allows to align colnames as the column content is aligned.
23

34
## rlistings 0.2.11
45
* Added parameter `sort_cols` to `as_listing` to specify columns to sort the listing by. Previously listings were always sorted by key columns.

R/rlistings.R

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,8 +30,8 @@ setOldClass(c("MatrixPrintForm", "list"))
3030
#' columns when rendering the listing. Each name-value pair consists of a name corresponding to a column name and a
3131
#' value of type `fmt_config` with the formatting configuration that should be implemented for that column. Objects
3232
#' of type `fmt_config` can take 3 arguments: `format`, `na_str`, and `align`. Defaults to `NULL`.
33-
#' @param align_colnames (`flag`)\cr whether the column titles should have the same alignment as their columns. All titles
34-
#' default to `"center"` alignment if `FALSE` (default). This can be changed with `align_colnames()`.
33+
#' @param align_colnames (`flag`)\cr whether the column titles should have the same alignment as their columns. All
34+
#' titles default to `"center"` alignment if `FALSE` (default). This can be changed with `align_colnames()`.
3535
#' @param add_trailing_sep (`character` or `numeric` or `NULL`)\cr If it is assigned to one or more column names,
3636
#' a trailing separator will be added between groups with identical values for that column. Numeric option allows
3737
#' the user to specify in which rows it can be added. Defaults to `NULL`.

man/listings.Rd

Lines changed: 2 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)