Skip to content

Commit

Permalink
Merged cran-1.6.5 into main
Browse files Browse the repository at this point in the history
  • Loading branch information
krlmlr committed Jan 26, 2022
2 parents c918aea + cc5c53e commit b0111be
Show file tree
Hide file tree
Showing 4 changed files with 24 additions and 36 deletions.
46 changes: 15 additions & 31 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,54 +7,38 @@

# pillar 1.6.5

- Same as previous version.


# pillar 1.6.4.9005

- Work around clash between cli and RNeXML.
- Use eager registration via `NAMESPACE` for own methods for classes from other packages.
- Protect against `format_type_sum()` returning strings too wide, e.g. from the units package.
## Breaking changes

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

# pillar 1.6.4.9004
## 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).
- Fix corner case for display of packed columns (#443).
- `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).


# pillar 1.6.4.9003

- Reworked formatting routine, now using an event-based approach with in-order iteration over all pillars. The only visible changes are that usage of free space if space is limited has slightly improved (#435).
- New `ctl_new_pillar_list()`, supersedes `ctl_new_compound_pillar()` (#433).
- Fixed some cases for combinations of printed width and `getOption("width")` (#432).
- Remove dependency on the crayon package (#233, #406).


# pillar 1.6.4.9002

- List columns omit size information if horizontal space is insufficient (#392).
- Extra columns in footer show backticks again if they are non-syntactic (#393).
- 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).
- Use snapshot variants, requires testthat >= 3.1.1 (#387).
- Breaking: packed columns are no longer distributed over multiple tiers (#386).
- `?num` and `?char` now point to tibble (#382).
- Replace internal `"pillar_vertical"` class with `glue::as_glue()` (#279).

## Bug fixes

# pillar 1.6.4.9001

- 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

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

- Same as previous version.
## 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
Expand Down
3 changes: 3 additions & 0 deletions R/ggplot2.R
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
#' Scale that supports formatted numbers
#'
#' @description
#' `r lifecycle::badge("experimental")`
#'
#' This scale is used by default in ggplot2 with columns created with [num()].
#'
#' @inheritDotParams ggplot2::continuous_scale
Expand Down
9 changes: 4 additions & 5 deletions cran-comments.md
Original file line number Diff line number Diff line change
@@ -1,16 +1,15 @@
pillar 1.6.4
pillar 1.6.5

## Cran Repository Policy

- [x] Reviewed CRP last edited 2021-09-25.

## R CMD check results

- [x] Checked locally, R 4.1.1
- [x] Checked on CI system, R 4.1.1
- [x] Checked locally, R 4.1.2
- [x] Checked on CI system, R 4.1.2
- [x] Checked on win-builder, R devel

## Current CRAN check results

- [x] Checked on 2021-10-17, problems found: https://cran.r-project.org/web/checks/check_results_pillar.html
- [x] WARN: r-devel-linux-x86_64-debian-clang, r-devel-linux-x86_64-debian-gcc, r-patched-linux-x86_64, r-release-linux-x86_64, r-devel-linux-x86_64-fedora-clang, r-devel-linux-x86_64-fedora-gcc, r-devel-windows-x86_64, r-devel-windows-x86_64-gcc10-UCRT, r-release-windows-ix86+x86_64, r-oldrel-windows-ix86+x86_64: fixed vignette building errors
- [x] Checked on 2022-01-25, no problems found.
2 changes: 2 additions & 0 deletions man/scale_x_num.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit b0111be

Please sign in to comment.