./graphics/R-scales, Scale functions for visualization

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.0, Package name: R-scales-1.2.0, Maintainer: minskim

Graphical scales map data to aesthetics, and provide methods for
automatically determining breaks and labels for axes and legends.


Required to run:
[math/R] [math/R-RColorBrewer] [math/R-plyr] [devel/R-Rcpp] [devel/R-R6] [graphics/R-dichromat] [graphics/R-munsell] [graphics/R-labeling] [graphics/R-viridisLite]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2022-05-29 01:17:36 by Wen Heping | Files touched by this commit (2)
Log message:
Update to 1.2.0

Upstream changes:
scales 1.2.0
New features

    label_number():

        New style_positive and style_negative argument control how positive and \ 
negative numbers are styled (#249, #262).

        The prefix comes after the negative sign, rather than before it, \ 
yielding (e.g) the correct -$1 instead of $-1.

        New scale_cut argument enables independent scaling of different parts of \ 
the range. This is useful in label_dollar() to support scaling of large numbers \ 
by suffix (e.g. “M” for million, “B” for billion). It can be used with \ 
cut_short_scale() when billion = thousand million and cut_long_scale() when \ 
billion = million million (initial implementation provided by @davidchall). \ 
Additionally, the accuracy is now computed per scale category, so rescaled \ 
values can have different numbers of decimal places (#339).

        label_number_si() is deprecated because it previously used short scale \ 
abbreviations instead of the correct SI prefixes. You can mimic the previous \ 
results with label_number(scale_cut = cut_scale_short()) or get real SI labels \ 
with label_number(scale_cut = cut_SI("m")) (#339, with help from \ 
@davidchall).

    label_bytes() now correctly accounts for the scale argument when choosing \ 
auto units (@davidchall, #235).

    label_date() and label_time() gain a locale argument that allows you to set \ 
the locale used to generate day and month names (#309).

    New label_log() displays the base and a superscript exponent, for use with \ 
logarithmic axes (@davidchall, #312).

    New compose_trans() allows arbitrary composition of transformers. This is \ 
mostly easily achieved by passing a character vector whenever you might \ 
previously have passed the name of a single transformer. For example, \ 
scale_y_continuous(trans = c("log10", "reverse")) will \ 
create a reverse log-10 scale (#287).

Bug fixes and minor improvements

    breaks_width() now supports units like "3 months" in the offset \ 
argument.

    col_quantile() no longer errors if data is sufficiently skewed that we \ 
can’t generate the requested number of unique colours (#294).

    dollar(negative_parens) is deprecated in favour of style_negative = \ 
"parens".

    hue_pal() respects h.start once again (#288).

    label_number_auto() correctly formats single numbers that are greater than \ 
1e+06 without an error (@karawoo, #321)

    manual_pal() now always returns an unnamed colour vector, which is easy to \ 
use with ggplot2::discrete_scale() (@yutannihilation, #284).

    time_trans() and date_trans() have domains of the correct type so that they \ 
can be transformed without error (#298).

    Internal precision(), used when accuracy = NULL, now avoids displaying \ 
unnecessary digits (@davidchall, #304).

scales 1.1.1

    breaks_width() now handles difftime/hms objects (@bhogan-mitre, #244).

    hue_pal() now correctly inverts color palettes when direction = -1 \ 
(@dpseidel, #252).

    Internal precision(), used when accuracy = NULL, now does a better job when \ 
duplicate values are present (@teunbrand, #251). It also does a better job when \ 
there’s a mix of finite and non-finite values (#257).

    New oob_keep() to keep data outside range, allowing for zoom-limits when \ 
oob_keep is used as oob argument in scales. Existing out of bounds functions \ 
have been renamed with the oob_-prefix to indicate their role (@teunbrand, \ 
#255).

    ordinal_french() gains plural and gender arguments (@stephLH, #256).
   2021-10-26 12:47:26 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes
   2021-10-07 16:13:27 by Nia Alarie | Files touched by this commit (800)
Log message:
graphics: Remove SHA1 hashes for distfiles
   2020-07-31 22:33:40 by Brook Milligan | Files touched by this commit (2) | Package updated
Log message:
R-scales: update to 1.1.0.
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
Update all R packages to canonical form.

The canonical form [1] of an R package Makefile includes the
following:

- The first stanza includes R_PKGNAME, R_PKGVER, PKGREVISION (as
  needed), and CATEGORIES.

- HOMEPAGE is not present but defined in math/R/Makefile.extension to
  refer to the CRAN web page describing the package.  Other relevant
  web pages are often linked from there via the URL field.

This updates all current R packages to this form, which will make
regular updates _much_ easier, especially using pkgtools/R2pkg.

[1] http://mail-index.netbsd.org/tech-pkg/2019/08/02/msg021711.html
   2018-07-28 16:40:53 by Brook Milligan | Files touched by this commit (126)
Log message:
Remove MASTER_SITES= from individual R package Makefiles.

Each R package should include ../../math/R/Makefile.extension, which also
defines MASTER_SITES.  Consequently, it is redundant for the individual
packages to do the same.  Package-specific definitions also prevent
redefining MASTER_SITES in a single common place.
   2018-03-12 16:47:48 by Min Sik Kim | Files touched by this commit (3)
Log message:
graphics/R-scales: Import version 0.5.0

Graphical scales map data to aesthetics, and provide methods for
automatically determining breaks and labels for axes and legends.