pkgsrc-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[pkgsrc/trunk]: pkgsrc/math/R-vctrs (math/R-vctrs) Updated 0.3.2 to 0.3.8
details: https://anonhg.NetBSD.org/pkgsrc/rev/300d85e23c0b
branches: trunk
changeset: 453496:300d85e23c0b
user: mef <mef%pkgsrc.org@localhost>
date: Sun May 30 13:18:59 2021 +0000
description:
(math/R-vctrs) Updated 0.3.2 to 0.3.8
(pkgsrc changes)
- Add TEST_DEPENDS+, but still one missing is there
(upstream changes)
# vctrs 0.3.8
* Compatibility with next version of rlang.
# vctrs 0.3.7
* `vec_ptype_abbr()` gains arguments to control whether to indicate
named vectors with a prefix (`prefix_named`) and indicate shaped
vectors with a suffix (`suffix_shape`) (#781, @krlmlr).
* `vec_ptype()` is now an optional _performance_ generic. It is not necessary
to implement, but if your class has a static prototype, you might consider
implementing a custom `vec_ptype()` method that returns a constant to
improve performance in some cases (such as common type imputation).
* New `vec_detect_complete()`, inspired by `stats::complete.cases()`. For most
vectors, this is identical to `!vec_equal_na()`. For data frames and
matrices, this detects rows that only contain non-missing values.
* `vec_order()` can now order complex vectors (#1330).
* Removed dependency on digest in favor of `rlang::hash()`.
* Fixed an issue where `vctrs_rcrd` objects were not being proxied correctly
when used as a data frame column (#1318).
* `register_s3()` is now licensed with the "unlicense" which makes it very
clear that it's fine to copy and paste into your own package
(@maxheld83, #1254).
# vctrs 0.3.6
* Fixed an issue with tibble 3.0.0 where removing column names with
`names(x) <- NULL` is now deprecated (#1298).
* Fixed a GCC 11 issue revealed by CRAN checks.
# vctrs 0.3.5
* New experimental `vec_fill_missing()` for filling in missing values with
the previous or following value. It is similar to `tidyr::fill()`, but
also works with data frames and has an additional `max_fill` argument to
limit the number of sequential missing values to fill.
* New `vec_unrep()` to compress a vector with repeated values. It is very
similar to run length encoding, and works nicely alongside `vec_rep_each()`
as a way to invert the compression.
* `vec_cbind()` with only empty data frames now preserves the common size of
the inputs in the result (#1281).
* `vec_c()` now correctly returns a named result with named empty inputs
(#1263).
* vctrs has been relicensed as MIT (#1259).
* Functions that make comparisons within a single vector, such as
`vec_unique()`, or between two vectors, such as `vec_match()`, now
convert all character input to UTF-8 before making comparisons (#1246).
* New `vec_identify_runs()` which returns a vector of identifiers for the
elements of `x` that indicate which run of repeated values they fall in
(#1081).
* Fixed an encoding translation bug with lists containing data frames which
have columns where `vec_size()` is different from the low level
`Rf_length()` (#1233).
# vctrs 0.3.4
* Fixed a GCC sanitiser error revealed by CRAN checks.
# vctrs 0.3.3
* The `table` class is now implemented as a wrapper type that
delegates its coercion methods. It used to be restricted to integer
tables (#1190).
* Named one-dimensional arrays now behave consistently with simple
vectors in `vec_names()` and `vec_rbind()`.
* `new_rcrd()` now uses `df_list()` to validate the fields. This makes
it more flexible as the fields can now be of any type supported by
vctrs, including data frames.
* Thanks to the previous change the `[[` method of records now
preserves list fields (#1205).
* `vec_data()` now preserves data frames. This is consistent with the
notion that data frames are a primitive vector type in vctrs. This
shouldn't affect code that uses `[[` and `length()` to manipulate
the data. On the other hand, the vctrs primitives like `vec_slice()`
will now operate rowwise when `vec_data()` returns a data frame.
* `outer` is now passed unrecycled to name specifications. Instead,
the return value is recycled (#1099).
* Name specifications can now return `NULL`. The names vector will
only be allocated if the spec function returns non-`NULL` during the
concatenation. This makes it possible to ignore outer names without
having to create an empty names vector when there are no inner
names:
```
zap_outer_spec <- function(outer, inner) if (is_character(inner)) inner
# `NULL` names rather than a vector of ""
names(vec_c(a = 1:2, .name_spec = zap_outer_spec))
#> NULL
# Names are allocated when inner names exist
names(vec_c(a = 1:2, c(b = 3L), .name_spec = zap_outer_spec))
#> [1] "" "" "b"
```
* Fixed several performance issues in `vec_c()` and `vec_unchop()`
with named vectors.
* The restriction that S3 lists must have a list-based proxy to be considered
lists by `vec_is_list()` has been removed (#1208).
* New performant `data_frame()` constructor for creating data frames in a way
that follows tidyverse semantics. Among other things, inputs are recycled
using tidyverse recycling rules, strings are never converted to factors,
list-columns are easier to create, and unnamed data frame input is
automatically spliced.
* New `df_list()` for safely and consistently constructing the data structure
underlying a data frame, a named list of equal-length vectors. It is useful
in combination with `new_data_frame()` for creating user-friendly
constructors for data frame subclasses that use the tidyverse rules for
recycling and determining types.
* Fixed performance issue with `vec_order()` on classed vectors which
affected `dplyr::group_by()` (tidyverse/dplyr#5423).
* `vec_set_names()` no longer alters the input in-place (#1194).
* New `vec_proxy_order()` that provides an ordering proxy for use in
`vec_order()` and `vec_sort()`. The default method falls through to
`vec_proxy_compare()`. Lists are special cased, and return an integer
vector proxy that orders by first appearance.
* List columns in data frames are no longer comparable through `vec_compare()`.
* The experimental `relax` argument has been removed from
`vec_proxy_compare()`.
diffstat:
math/R-vctrs/Makefile | 17 ++++++++++++++---
math/R-vctrs/distinfo | 10 +++++-----
2 files changed, 19 insertions(+), 8 deletions(-)
diffs (52 lines):
diff -r d975603af2fe -r 300d85e23c0b math/R-vctrs/Makefile
--- a/math/R-vctrs/Makefile Sun May 30 12:36:02 2021 +0000
+++ b/math/R-vctrs/Makefile Sun May 30 13:18:59 2021 +0000
@@ -1,19 +1,30 @@
-# $NetBSD: Makefile,v 1.3 2020/07/31 20:17:39 brook Exp $
+# $NetBSD: Makefile,v 1.4 2021/05/30 13:18:59 mef Exp $
R_PKGNAME= vctrs
-R_PKGVER= 0.3.2
+R_PKGVER= 0.3.8
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
COMMENT= Vector helpers
LICENSE= gnu-gpl-v3
DEPENDS+= R-glue>=1.4.1:../../devel/R-glue
-DEPENDS+= R-rlang>=0.4.7:../../devel/R-rlang
+DEPENDS+= R-rlang>=0.4.10:../../devel/R-rlang
DEPENDS+= R-backports>=1.1.4:../../math/R-backports
DEPENDS+= R-ellipsis>=0.2.0:../../math/R-ellipsis
DEPENDS+= R-zeallot>=0.1.0:../../math/R-zeallot
DEPENDS+= R-digest>=0.6.25:../../security/R-digest
+#Packages suggested but not available: 'pkgdown', 'rmarkdown', 'xml2'
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
+TEST_DEPENDS+= R-markdown-[0-9]*:../../textproc/R-markdown
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+#EST_DEPENDS+= R-pkgdown-[0-9]*:../../devel/R-pkgdown
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-generics-[0-9]*:../../math/R-generics
+TEST_DEPENDS+= R-dplyr-[0-9]*:../../math/R-dplyr
+TEST_DEPENDS+= R-bit64-[0-9]*:../../devel/R-bit64
+TEST_DEPENDS+= R-xml2-[0-9]*:../../textproc/R-xml2
+
USE_LANGUAGES= c
.include "../../math/R/Makefile.extension"
diff -r d975603af2fe -r 300d85e23c0b math/R-vctrs/distinfo
--- a/math/R-vctrs/distinfo Sun May 30 12:36:02 2021 +0000
+++ b/math/R-vctrs/distinfo Sun May 30 13:18:59 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.2 2020/07/31 20:17:39 brook Exp $
+$NetBSD: distinfo,v 1.3 2021/05/30 13:18:59 mef Exp $
-SHA1 (R/vctrs_0.3.2.tar.gz) = abc2f09732d68b0a729e25eefa65fc99777cea10
-RMD160 (R/vctrs_0.3.2.tar.gz) = 17ef8bf538f8008779b7312e500dd36d560ca12e
-SHA512 (R/vctrs_0.3.2.tar.gz) = fc9fa39cf0c5eb096c29baa8d62c285eb362a93fecfcc8fd7211fbbf2de9e5324514710c6efa36d2b6238672175fc7026f5494cc4d19da9450ae8638f00846d8
-Size (R/vctrs_0.3.2.tar.gz) = 958372 bytes
+SHA1 (R/vctrs_0.3.8.tar.gz) = f0e291b05006037f396080d66fc9f7e6ba02bfbf
+RMD160 (R/vctrs_0.3.8.tar.gz) = 2c45b3d9dcb635eaac898bf3a0039b03b7e4ffe6
+SHA512 (R/vctrs_0.3.8.tar.gz) = f5162fa4641779fc7cd0f77efb1d83efc01af0ba13d910337531980e2fa93abe6ce03f23a9a51db4f506faf716cc3fac820b91abac3e3282bc9cb73038fc5787
+Size (R/vctrs_0.3.8.tar.gz) = 782608 bytes
Home |
Main Index |
Thread Index |
Old Index