Skip to content

Commit

Permalink
(misc/R-pillar) Updated 1.6.2 to 1.8.1
Browse files Browse the repository at this point in the history
# pillar 1.8.1

## Features

- New `pillar.advice` option to turn off advice in the footer, see `?pillar_options`. Now off by default in non-interactive mode (#577).


# pillar 1.8.0

## Display

- Column names that are abbreviated in the header gain a footnote and are printed in full in the footer (#483),
after the extra columns (#548). If a column name in the header is abbreviated, all backticks are removed (#525). The new `"pillar.superdigit_sep"` option that determines the string used to separate footnote from column name in the footer (#553).

- The default value of the `pillar.min_title_width` option is changed to 5. This means that effectively the width of a pillar is decided only by the data. Use `options(pillar.min_title_width = 15)` to restore the previous default, see also `?pillar_options` for details (#531).

- Offer advice in the footer on how to print all columns or rows (#567).

- Avoid aligning `NA` inside quotes for very short character vectors (#562).

## Features

- Pick up `"pillar_focus"` attribute on printing to define focus columns (#549).

- New `ctl_new_rowid_pillar()` generic and default method for customizing the appearance of row IDs (#260, #550, @nbenn).

## Bug fixes

- Fix printing of `Surv` and `Surv2` objects (#561).

- Fix wording for corner case `max_extra_cols = 1` (#535).

- Remove excess underlines for `bit64::integer64()` data of different magnitude (#517, #529).

## Documentation

- `ctl_new_pillar_list()` is documented on a separate help page (#516).

- Remove outdated detail in `?tbl_sum` (@IndrajeetPatil, #565).

## Chore

- Drop crayon dependency (#559).

- Import ellipsis from rlang (#554).

- Skip test that requires lubridate if it's not installed (#505, @MichaelChirico).

## API

- Soft-deprecate `colonnade()`, `squeeze()` and `extra_cols()` (#496).

- Require rlang 1.0.1 (#512).


# pillar 1.7.0

## Breaking changes

- `colonnade()` is now soft-deprecated (#485).
- `expect_known_display()` and `is_vector_s3()` are now deprecated (#460, #501).
- `new_pillar()` deprecates `extra` argument (#497).

## Features

- Focus columns specified via the `focus` argument to `tbl_format_setup()` are kept in their original place and shown with the maximum width and with the "type" component underlined (#465).

## Bug fixes

- Update `s3_register()` to use new implementation from rlang, this fixes CRAN checks related to `scale_type()` (#462).

## Internal

- Single pillars constructed with `pillar()` use only as much width as required when printing (#484).


# pillar 1.6.5

## Breaking changes

- New `ctl_new_pillar_list()`, supersedes `ctl_new_compound_pillar()` (#433).

## Features

- If some but not all sub-columns of a data frame or matrix column are shown, the names and types of the remaining columns are displayed in the footer (#365, #444).
- `num(fixed_exponent = ...)` is now represented with the fixed exponent in the pillar header, and in the title in ggplot2 (#307).
- `tbl_format_setup()` gains `focus` argument that expects a character vector of column names. Focus columns are moved to the front and separated from the main columns by a subtle vertical line (#384).
- New `scale_x_num()` and `scale_y_num()`. If a column created with `num()` is used in a ggplot, the x and y scale will be formatted automatically according to to the specification (#400, #404).
- List columns omit size information if horizontal space is insufficient (#392).
- If the column title of a backticked column is abbreviated, the trailing backtick is still printed (#391).
- `new_pillar_shaft_simple()` gains `short_formatted` argument that contains the data to be used if horizontal space is insufficient (#389).
- Default `obj_sum()` method returns abbreviation in attribute of return value (#390).

## Bug fixes

- Extra columns in footer show backticks again if they are non-syntactic (#393).
- Fixed some cases for combinations of printed width and `getOption("width")` (#432).
- Fix support for `nanotime::nanotime()` classes (#378, #380).

## Documentation

- `?num` and `?char` now point to tibble (#382).

## Internal

- Use eager registration via `NAMESPACE` for own methods for classes from other packages.
- Reworked formatting routine, now using a visitor-based approach with in-order iteration over all pillars. The only visible changes are that usage of free space (in the case of limited space) has slightly improved (#435).
- Prepared removal of dependency on the crayon package (#233, #406).
- Use snapshot variants, requires testthat >= 3.1.1 (#387).
- Replace internal `"pillar_vertical"` class with `glue::as_glue()` (#279).


# pillar 1.6.4

## Bug fixes

- Fix printing for some tibbles where a fixed-width column is followed by a column with variable width (#366).
- Avoid nested backtick blocks in vignette.

## Breaking changes

- `num()` requires an integerish `digits` argument (#362).

## Documentation

- Link to tibble vignettes and documentation pages.


# pillar 1.6.3

- Avoid blanket import for lifecycle package for compatibility with upcoming rlang (#368, @romainfrancois).
  • Loading branch information
mef committed Jan 1, 2023
1 parent ad3cae6 commit 89e1491
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 8 deletions.
11 changes: 7 additions & 4 deletions misc/R-pillar/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.8 2021/09/18 14:19:07 mef Exp $
# $NetBSD: Makefile,v 1.9 2023/01/01 05:33:24 mef Exp $

R_PKGNAME= pillar
R_PKGVER= 1.6.2
R_PKGVER= 1.8.1
CATEGORIES= misc

MAINTAINER= minskim@NetBSD.org
Expand All @@ -18,9 +18,12 @@ DEPENDS+= R-utf8>=1.1.3:../../textproc/R-utf8
DEPENDS+= R-lifecycle-[0-9]*:../../devel/R-lifecycle

# Packages suggested but not available:
# 'debugme', 'DiagrammeR','formattable', 'nycflights13',
# 'palmerpenguins'
# 'debugme', 'DiagrammeR', 'formattable', 'nanotime', 'nycflights13',
# 'palmerpenguins', 'vdiffr'

TEST_DEPENDS+= R-dplyr-[0-9]*:../../math/R-dplyr
TEST_DEPENDS+= R-ggplot2-[0-9]*:../../graphics/R-ggplot2
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
TEST_DEPENDS+= R-units-[0-9]*:../../math/R-units


Expand Down
8 changes: 4 additions & 4 deletions misc/R-pillar/distinfo
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
$NetBSD: distinfo,v 1.7 2021/10/26 10:58:56 nia Exp $
$NetBSD: distinfo,v 1.8 2023/01/01 05:33:24 mef Exp $

BLAKE2s (R/pillar_1.6.2.tar.gz) = d061140071a42e45ee3ecfa1decb4c443fd3f5fac0eb6371d81feffdf6272bbb
SHA512 (R/pillar_1.6.2.tar.gz) = 8c62cf4e3c22a944a4236e2cf64a851e251da960d3c8b74157d7292a408eb109cde2ae761eb5cf8fc93dc5884bbd1c15f4cc09c5dba943964111436033669af2
Size (R/pillar_1.6.2.tar.gz) = 1130321 bytes
BLAKE2s (R/pillar_1.8.1.tar.gz) = b30a42e41212a19c23e37d69e7dbc4404f5b0d6182025f238969edd4f5961b28
SHA512 (R/pillar_1.8.1.tar.gz) = 797926a47ead19293945e1068288a49ee43ed157b3385098a9b6349f6f63e8a39d7b787ee1458ea55e2379be3dbfda9e864294bfd043f14b4ecf7229e7b0211a
Size (R/pillar_1.8.1.tar.gz) = 479977 bytes

0 comments on commit 89e1491

Please sign in to comment.