Received: by mail.netbsd.org (Postfix, from userid 605) id 22ECC84F5A; Sat, 28 May 2022 23:16:38 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by mail.netbsd.org (Postfix) with ESMTP id 5D98984F58 for ; Sat, 28 May 2022 23:16:37 +0000 (UTC) X-Virus-Scanned: amavisd-new at netbsd.org Received: from mail.netbsd.org ([IPv6:::1]) by localhost (mail.netbsd.org [IPv6:::1]) (amavisd-new, port 10025) with ESMTP id 7_pdOCVBbWyY for ; Sat, 28 May 2022 23:16:36 +0000 (UTC) Received: from cvs.NetBSD.org (ivanova.netbsd.org [199.233.217.197]) by mail.netbsd.org (Postfix) with ESMTP id 70E1A84D51 for ; Sat, 28 May 2022 23:16:36 +0000 (UTC) Received: by cvs.NetBSD.org (Postfix, from userid 500) id 46BB6FAEB; Sat, 28 May 2022 23:17:36 +0000 (UTC) Content-Transfer-Encoding: 7bit Content-Type: multipart/mixed; boundary="_----------=_1653779856187090" MIME-Version: 1.0 Date: Sat, 28 May 2022 23:17:36 +0000 From: "Wen Heping" Subject: CVS commit: pkgsrc/graphics/R-scales To: pkgsrc-changes@NetBSD.org Reply-To: wen@netbsd.org X-Mailer: log_accum Message-Id: <20220528231736.46BB6FAEB@cvs.NetBSD.org> Sender: pkgsrc-changes-owner@NetBSD.org List-Id: Precedence: bulk List-Unsubscribe: This is a multi-part message in MIME format. --_----------=_1653779856187090 Content-Disposition: inline Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset="UTF-8" Module Name: pkgsrc Committed By: wen Date: Sat May 28 23:17:36 UTC 2022 Modified Files: pkgsrc/graphics/R-scales: Makefile distinfo 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). To generate a diff of this commit: cvs rdiff -u -r1.5 -r1.6 pkgsrc/graphics/R-scales/Makefile \ pkgsrc/graphics/R-scales/distinfo Please note that diffs are not public domain; they are subject to the copyright notices on the relevant files. --_----------=_1653779856187090 Content-Disposition: inline Content-Length: 1515 Content-Transfer-Encoding: binary Content-Type: text/x-diff; charset=us-ascii Modified files: Index: pkgsrc/graphics/R-scales/Makefile diff -u pkgsrc/graphics/R-scales/Makefile:1.5 pkgsrc/graphics/R-scales/Makefile:1.6 --- pkgsrc/graphics/R-scales/Makefile:1.5 Fri Jul 31 20:33:40 2020 +++ pkgsrc/graphics/R-scales/Makefile Sat May 28 23:17:36 2022 @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.5 2020/07/31 20:33:40 brook Exp $ +# $NetBSD: Makefile,v 1.6 2022/05/28 23:17:36 wen Exp $ R_PKGNAME= scales -R_PKGVER= 1.1.0 +R_PKGVER= 1.2.0 CATEGORIES= graphics MAINTAINER= minskim@NetBSD.org Index: pkgsrc/graphics/R-scales/distinfo diff -u pkgsrc/graphics/R-scales/distinfo:1.5 pkgsrc/graphics/R-scales/distinfo:1.6 --- pkgsrc/graphics/R-scales/distinfo:1.5 Tue Oct 26 10:45:57 2021 +++ pkgsrc/graphics/R-scales/distinfo Sat May 28 23:17:36 2022 @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.5 2021/10/26 10:45:57 nia Exp $ +$NetBSD: distinfo,v 1.6 2022/05/28 23:17:36 wen Exp $ -BLAKE2s (R/scales_1.1.0.tar.gz) = 30ec0643d8ea2843a925a4d692c0aae464434e9c37ee0932b716e45ade74d14a -SHA512 (R/scales_1.1.0.tar.gz) = 8be54310d02af301277e3b6a4a33bcb98b70411097720db96ff5c4b79f860d6c91774c9f7b8812d9553b883ba116e9dac13dd9eb8b8bd8c1914a5533745143e5 -Size (R/scales_1.1.0.tar.gz) = 510666 bytes +BLAKE2s (R/scales_1.2.0.tar.gz) = 049859f7cca7400f0025e3b4d6463b857529d81cb2c46e8569210c07a26c5f59 +SHA512 (R/scales_1.2.0.tar.gz) = aa87291406e91645817499d6e8ab1067b223e60ff2920efce9e528eb521e256835dfa82d18d84b26643f7f77fa193e0d694d6bb23386bb777ad4249095744202 +Size (R/scales_1.2.0.tar.gz) = 270188 bytes --_----------=_1653779856187090--