pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/textproc/R-haven



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Sep  5 01:39:54 UTC 2021

Modified Files:
        pkgsrc/textproc/R-haven: Makefile distinfo

Log Message:
(textproc/R-haven) Updated 2.1.1 to 2.4.3, make test does NOT pass yet, sorry

# haven 2.4.3
* Fix build failure on Solaris.

# haven 2.4.2

* Updated to ReadStat 1.1.7 RC (#620).

* `read_dta()` no longer crashes if it sees StrL variables with missing values
  (@gorcha, #594, #600, #608).
urlchecker::url_check()
* `write_dta()` now correctly handles "labelled"-class numeric (double) variables
   that don't have value labels (@jmobrien, #606, #609).

* `write_dta()` now allows variable names up to 32 characters (@sbae, #605).

* Can now correctly combine `labelled_spss()` with identical labels
  (@gorcha, #599).

# haven 2.4.1
* Fix buglet when combining `labelled()` with identical labels.

# haven 2.4.0
## New features

* `labelled_spss()` gains full vctrs support thanks to the hard work of @gorcha
  (#527, #534, #538, #557). This means that they should now work seamlessly
  in dplyr 1.0.0, tidyr 1.0.0 and other packages that use vctrs.

* `labelled()` vectors are more permissive when concatenating; output labels
  will be a combination of the left-hand and the right-hand side, preferring
  values assigned to the left-hand side (#543).

* Date-times are no longer forced to UTC, but instead converted to the
  equivalent UTC (#555). This should ensure that you see the same date-time
  in R and in Stata/SPSS/SAS.

## Minor improvements and bug fixes

* Updated to ReadStat 1.1.5. Most importantly this includes support for
  SAS binary compression.

* `as_factor(levels = "values")` preserves values of unlabelled elements (#570).

* `labelled_spss()` is a little stricter: it prevents `na_range` and `na_value`
  from containing missing values, and ensures that `na_range` is in the correct
  order (#574).

* `read_spss()` now reads NA values and ranges of character variables (#409).

* `write_dta()` now correctly writes tagged NAs (including tagged NAs in
  labels) (#583) and once again validates length of variables names (#485).

* `write_*()` now validate file and variable metadata with ReadStat. This
  should prevent many invalid files from being written (#408). Additionally,
  validation failures now provide more details about the source of the problem
  (e.g. the column name of the problem) (#463).

* `write_sav(compress = FALSE)` now uses SPSS bytecode compression instead of
  the rarely-used uncompressed mode. `compress = TRUE` continues to use the
  newer (and not universally supported, but more compact) zlib format
  (@oliverbock, #544).

# haven 2.3.1
* Add missing methods so `median()`, `quantile()` and `summary()` work
  once more (#520).

* Add missing cast methods (#522).

# haven 2.3.0
* `labelled()` gains the necessary support to work seemlessly in dplyr 1.0.0,
  tidyr 1.0.0, and other packages that use vctrs (@mikmart, #496).

* `labelled()` vectors now explicitly inherit from the corresponding base
  types (e.g. integer, double, or character) (#509).

* ReadStat update, including `read_sas()` supports for "any" encoding (#482),
  and fixes for compiler warnings.

# haven 2.2.0
## Partial reading

Thanks to the hard work of @mikmart, all `read_*()` functions gain
three new arguments that allow you to read in only part of a large
file:

* `col_select`: selects columns to read with a tidyselect interface (#248).
* `skip`: skips rows before reading data (#370).
* `n_max`: limits the number of rows to read.

This also brings with it a deprecation: `cols_only` in `read_sas()`
has been deprecated in favour of the new `col_select` argument.

## Minor improvements and bug fixes

* `as_factor()` allows non-unique labels when `levels = "label"`. This fixes
  a particularly annoying printing bug (#424, @gergness)

* `read_sas()` now supports (IS|E|B)8601(DT|DA|TM) date/time formats (@mikmart).

* All `write_` functions gain a `.name_repair` argument that controls
  what happens when the input dataset has repeated column names (#436).

* All `write_` functions can now write labelled vectors with `NULL` labels
  (#442).

* `write_dta()` can now write dataset labels with the `label` argument,
  which defaults to the `label` attribute of the input data frame, if present
  (@gorcha, #449).

* `write_dta()` works better with Stata 15, thanks to updated ReadStat (#461)


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 pkgsrc/textproc/R-haven/Makefile
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/R-haven/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/textproc/R-haven/Makefile
diff -u pkgsrc/textproc/R-haven/Makefile:1.2 pkgsrc/textproc/R-haven/Makefile:1.3
--- pkgsrc/textproc/R-haven/Makefile:1.2        Thu Aug  8 19:53:56 2019
+++ pkgsrc/textproc/R-haven/Makefile    Sun Sep  5 01:39:54 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2019/08/08 19:53:56 brook Exp $
+# $NetBSD: Makefile,v 1.3 2021/09/05 01:39:54 mef Exp $
 
 R_PKGNAME=     haven
-R_PKGVER=      2.1.1
+R_PKGVER=      2.4.3
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -12,6 +12,14 @@ DEPENDS+=    R-forcats>=0.2.0:../../math/R-
 DEPENDS+=      R-tibble>=2.1.3:../../math/R-tibble
 DEPENDS+=      R-readr>=0.1.0:../../textproc/R-readr
 DEPENDS+=      R-hms>=0.5.0:../../time/R-hms
+DEPENDS+=      R-cpp11-[0-9]*:../../lang/R-cpp11
+DEPENDS+=      R-tidyselect-[0-9]*:../../devel/R-tidyselect
+
+TEST_DEPENDS+= R-fs-[0-9]*:../../devel/R-fs
+TEST_DEPENDS+= R-covr-[0-9]*:../../devel/R-covr
+TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
 
 USE_LANGUAGES= c c++
 

Index: pkgsrc/textproc/R-haven/distinfo
diff -u pkgsrc/textproc/R-haven/distinfo:1.1 pkgsrc/textproc/R-haven/distinfo:1.2
--- pkgsrc/textproc/R-haven/distinfo:1.1        Wed Jul 31 13:45:24 2019
+++ pkgsrc/textproc/R-haven/distinfo    Sun Sep  5 01:39:54 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/07/31 13:45:24 brook Exp $
+$NetBSD: distinfo,v 1.2 2021/09/05 01:39:54 mef Exp $
 
-SHA1 (R/haven_2.1.1.tar.gz) = 1d280fb57d8a275a79bf1b1b06ffc30b901cdb0b
-RMD160 (R/haven_2.1.1.tar.gz) = 6c3e39fc84d04ce968ffdb354f6e62b0d4624d82
-SHA512 (R/haven_2.1.1.tar.gz) = 6cc812a93f5fe5b9bd8895b90a480ebda55295fb699ab7d0a3ae0ccead6678b400e7f69da014af487d63f6438107b22a0581469202771f20a05f3f7aa52037c6
-Size (R/haven_2.1.1.tar.gz) = 265123 bytes
+SHA1 (R/haven_2.4.3.tar.gz) = 533f859aa4ad0e89e34c08e4fe9f7d256af81e03
+RMD160 (R/haven_2.4.3.tar.gz) = 78519c36cd859268e97aac6279ef4a1ce5071eaa
+SHA512 (R/haven_2.4.3.tar.gz) = f78358fb7e7b2042deff95409cba8928ac98b90ae5be27cf4731d34bf9b067228753ac9d9a661f393ae0307b5a7de1bb4f329d4118982f65481ae51139d8bd52
+Size (R/haven_2.4.3.tar.gz) = 296805 bytes



Home | Main Index | Thread Index | Old Index