head	1.8;
access;
symbols
	pkgsrc-2026Q1:1.8.0.16
	pkgsrc-2026Q1-base:1.8
	pkgsrc-2025Q4:1.8.0.14
	pkgsrc-2025Q4-base:1.8
	pkgsrc-2025Q3:1.8.0.12
	pkgsrc-2025Q3-base:1.8
	pkgsrc-2025Q2:1.8.0.10
	pkgsrc-2025Q2-base:1.8
	pkgsrc-2025Q1:1.8.0.8
	pkgsrc-2025Q1-base:1.8
	pkgsrc-2024Q4:1.8.0.6
	pkgsrc-2024Q4-base:1.8
	pkgsrc-2024Q3:1.8.0.4
	pkgsrc-2024Q3-base:1.8
	pkgsrc-2024Q2:1.8.0.2
	pkgsrc-2024Q2-base:1.8
	pkgsrc-2024Q1:1.7.0.8
	pkgsrc-2024Q1-base:1.7
	pkgsrc-2023Q4:1.7.0.6
	pkgsrc-2023Q4-base:1.7
	pkgsrc-2023Q3:1.7.0.4
	pkgsrc-2023Q3-base:1.7
	pkgsrc-2023Q2:1.7.0.2
	pkgsrc-2023Q2-base:1.7
	pkgsrc-2023Q1:1.6.0.8
	pkgsrc-2023Q1-base:1.6
	pkgsrc-2022Q4:1.6.0.6
	pkgsrc-2022Q4-base:1.6
	pkgsrc-2022Q3:1.6.0.4
	pkgsrc-2022Q3-base:1.6
	pkgsrc-2022Q2:1.6.0.2
	pkgsrc-2022Q2-base:1.6
	pkgsrc-2022Q1:1.5.0.14
	pkgsrc-2022Q1-base:1.5
	pkgsrc-2021Q4:1.5.0.12
	pkgsrc-2021Q4-base:1.5
	pkgsrc-2021Q3:1.5.0.10
	pkgsrc-2021Q3-base:1.5
	pkgsrc-2021Q2:1.5.0.8
	pkgsrc-2021Q2-base:1.5
	pkgsrc-2021Q1:1.5.0.6
	pkgsrc-2021Q1-base:1.5
	pkgsrc-2020Q4:1.5.0.4
	pkgsrc-2020Q4-base:1.5
	pkgsrc-2020Q3:1.5.0.2
	pkgsrc-2020Q3-base:1.5
	pkgsrc-2020Q2:1.4.0.8
	pkgsrc-2020Q2-base:1.4
	pkgsrc-2020Q1:1.4.0.4
	pkgsrc-2020Q1-base:1.4
	pkgsrc-2019Q4:1.4.0.6
	pkgsrc-2019Q4-base:1.4
	pkgsrc-2019Q3:1.4.0.2
	pkgsrc-2019Q3-base:1.4
	pkgsrc-2019Q2:1.2.0.8
	pkgsrc-2019Q2-base:1.2
	pkgsrc-2019Q1:1.2.0.6
	pkgsrc-2019Q1-base:1.2
	pkgsrc-2018Q4:1.2.0.4
	pkgsrc-2018Q4-base:1.2
	pkgsrc-2018Q3:1.2.0.2
	pkgsrc-2018Q3-base:1.2
	pkgsrc-2018Q2:1.1.0.4
	pkgsrc-2018Q2-base:1.1
	pkgsrc-2018Q1:1.1.0.2
	pkgsrc-2018Q1-base:1.1;
locks; strict;
comment	@# @;


1.8
date	2024.06.05.11.56.12;	author mef;	state Exp;
branches;
next	1.7;
commitid	HwqCSASoX9QMYMcF;

1.7
date	2023.06.11.11.23.31;	author mef;	state Exp;
branches;
next	1.6;
commitid	Vy5YU8Ebs1RKmwsE;

1.6
date	2022.05.28.23.17.36;	author wen;	state Exp;
branches;
next	1.5;
commitid	Ki36VgXUIn73vSFD;

1.5
date	2020.07.31.20.33.40;	author brook;	state Exp;
branches;
next	1.4;
commitid	PgyUjX4Kmvah0hiC;

1.4
date	2019.08.08.19.53.43;	author brook;	state Exp;
branches;
next	1.3;
commitid	K2VPfA0XCw7xfgyB;

1.3
date	2019.07.31.16.11.55;	author brook;	state Exp;
branches;
next	1.2;
commitid	jNHCvWTdcfpXjdxB;

1.2
date	2018.07.28.14.40.45;	author brook;	state Exp;
branches;
next	1.1;
commitid	hIRYb3oU4xMfBULA;

1.1
date	2018.03.12.15.47.48;	author minskim;	state Exp;
branches;
next	;
commitid	UEIhEnqa4Zo8sbuA;


desc
@@


1.8
log
@(graphics/R-scales) Updated 1.2.1 to 1.3.0

# scales 1.3.0

## Better type support
* `rescale(I(x), ...)` and `rescale_mid(I(x), ...)` return `I(x)` unaltered
  (@@teunbrand, #403).
* Add a rescale method for `difftime` objects (#382)
* Add better support for `difftime` objects. `label_timespan()` adds
  functionality for adding correct unit suffix to timespan data,
  `breaks_timespan()` adds functionality for finding pleasant breakpoints across
  the various bases in time units, while `transform_timespan()` wraps it all
  together and provides an alternative to `transform_hms()` (#212)

## Ranges
* `train_continuous()` coerces `new` to numeric before calculating range
  (@@teunbrand, #369).
* Training on factor data no longer sorts the range after multiple training
  passes if the new `fct` argument of `train_discrete()` is used (#383)
* The `DiscreteRange` class now keeps track on whether it has been trained on
  factor data.
* Attempt to make the sort behavior of the range consistent for character
  vectors during training. Mixing of character and factor data will make the
  factor level order take precedence no matter if the training starts with a
  charactor vector

## Transformations
* Transformation function have been renamed to `transform_*`-prefixed names
  instead of `*_trans`-suffixed names. This allows for a better tab-completion
  search of transformations. The S3 class of transformations has been
  renamed from `"trans"` to `"transform"`. `new_transform()` replaces
  `trans_new()` and `trim_to_domain()` replaces `trans_range()`. All old
  functions are kept for posterity.
* `transform_sqrt()` no longer returns an inverse for values outside of its
  domain (#214)
* Add an inverse (area) hyperbolic sine transformation `transform_asinh()`,
  which provides a logarithm-like transformation of a space, but which
  accommodates negative values (#297)
* Correct the domain calculation for `transform_compose()` (@@mjskay, #408).
* Transformation objects can optionally include the derivatives of the transform
  and the inverse transform (@@mjskay, #322).

## Misc
* The `scale_cut` argument in `number()` now works as advertised for values
  below the lowest cut value (#346)
* `scale_cut` will now choose a more appropriate cut in the case of the first
  cut creating an irrational-ish number.
* Added a new option to the `style_positive` argument in `label_*()` functions.
  Setting this to `"space"` will add a figure space in front of the number to
  make it easier to align positive and negative values as figure space takes up
  the same amount of space as `-` (#366)
* `label_dollar()` has been superseeded by `label_currency()` for clarity (#344)
* Palette functions now have the `pal_`-prefix. The old `_pal`-suffixed versions
  are kept for backward compatibility.
@
text
@# $NetBSD: Makefile,v 1.7 2023/06/11 11:23:31 mef Exp $

R_PKGNAME=	scales
R_PKGVER=	1.3.0
CATEGORIES=	graphics

MAINTAINER=	minskim@@NetBSD.org
COMMENT=	Scale functions for visualization
LICENSE=	mit

DEPENDS+=	R-R6>=2.4.1:../../devel/R-R6
DEPENDS+=	R-lifecycle>=0.2.0:../../devel/R-lifecycle
DEPENDS+=	R-dichromat-[0-9]*:../../graphics/R-dichromat
DEPENDS+=	R-farver>=2.0.3:../../graphics/R-farver
DEPENDS+=	R-labeling>=0.3:../../graphics/R-labeling
DEPENDS+=	R-munsell>=0.5:../../graphics/R-munsell
DEPENDS+=	R-viridisLite>=0.3.0:../../graphics/R-viridisLite
DEPENDS+=	R-RColorBrewer>=1.1.2:../../math/R-RColorBrewer
DEPENDS+=	R-plyr-[0-9]*:../../math/R-plyr

USE_LANGUAGES=	c++

.include "../../math/R/Makefile.extension"
.include "../../devel/R-Rcpp/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
@


1.7
log
@(graphics/R-scales) Updated 1.2.0 to 1.2.1

# scales 1.2.1

* Re-document to fix HTML issues in `.Rd`.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.6 2022/05/28 23:17:36 wen Exp $
d4 1
a4 1
R_PKGVER=	1.2.1
@


1.6
log
@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).
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.5 2020/07/31 20:33:40 brook Exp $
d4 1
a4 1
R_PKGVER=	1.2.0
@


1.5
log
@R-scales: update to 1.1.0.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.4 2019/08/08 19:53:43 brook Exp $
d4 1
a4 1
R_PKGVER=	1.1.0
@


1.4
log
@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
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.3 2019/07/31 16:11:55 brook Exp $
d4 1
a4 1
R_PKGVER=	1.0.0
d11 2
a12 1
DEPENDS+=	R-R6-[0-9]*:../../devel/R-R6
d14 1
d18 1
a18 1
DEPENDS+=	R-RColorBrewer-[0-9]*:../../math/R-RColorBrewer
@


1.3
log
@R-scales: update to version 1.0.0.

Update to the canonical form of an R package.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.2 2018/07/28 14:40:45 brook Exp $
d3 3
a5 1
CATEGORIES=	graphics R
a7 1
HOMEPAGE=	https://github.com/hadley/scales
a10 3
R_PKGNAME=	scales
R_PKGVER=	1.0.0

@


1.2
log
@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.
@
text
@d1 1
a1 1
# $NetBSD: Makefile,v 1.1 2018/03/12 15:47:48 minskim Exp $
d3 1
a3 1
CATEGORIES=	graphics
d11 1
a11 1
R_PKGVER=	0.5.0
d14 4
a18 3
DEPENDS+=	R-dichromat-[0-9]*:../../graphics/R-dichromat
DEPENDS+=	R-labeling-[0-9]*:../../graphics/R-labeling
DEPENDS+=	R-munsell>=0.2:../../graphics/R-munsell
a19 1
DEPENDS+=	R-viridisLite-[0-9]*:../../graphics/R-viridisLite
d23 1
a24 2
BUILDLINK_API_DEPENDS.R+=	R>=2.13
.include "../../math/R/Makefile.extension"
@


1.1
log
@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.
@
text
@d1 1
a1 1
# $NetBSD$
a3 1
MASTER_SITES=	${MASTER_SITE_R_CRAN:=contrib/}
@

