pkgsrc-Changes archive

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

CVS commit: pkgsrc/textproc/R-readxl



Module Name:    pkgsrc
Committed By:   mef
Date:           Sat Jun 13 11:42:26 UTC 2026

Modified Files:
        pkgsrc/textproc/R-readxl: Makefile distinfo
        pkgsrc/textproc/R-readxl/patches: patch-src_Makevars

Log Message:
(textproc/R-readxl) Updated 1.3.1 to 1.5.0

# readxl 1.5.0

* readxl should once again compile on Alpine Linux (#775).

* `read_excel()` and friends should no longer emit a spurious "Access
  is denied" warning when reading a file on a network drive and the
  user doesn't have access to a parent directory (#730).

* Minimum version of cpp11 has been bumped to v0.5.5, because cpp11
  v0.5.4 (and only that exact version of cpp11) causes readxl to
  segfault when warning about coercion issues (#784).

# readxl 1.4.5

This release contains no user-facing changes.
It eliminates a warning seen with gcc UBSAN.

# readxl 1.4.4

This release contains no user-facing changes.

* readxl embeds libxls v1.6.3, with release notes at
  <https://github.com/libxls/libxls/releases/tag/v1.6.3>.
  This version of libxls fixes several vulnerabilities.
* Other small internal changes have been made to comply with CRAN requests,
  such as avoiding the use of `Rf_StringTrue()`.

# readxl 1.4.3

This release contains no user-facing changes.

# readxl 1.4.2

This release contains no user-facing changes.

* We embed a development version of libxls
(<https://github.com/libxls/libxls>), which is based on the most
recent released version, v1.6.2.  The reason for embedding a
development version is to ship a version of libxls that incorporates
the fix for this CVE (#679):

  - [CVE-2021-27836](https://nvd.nist.gov/vuln/detail/CVE-2021-27836)

* readxl no longer declares the use of C++11.

* readxl should once again compile on Alpine Linux.

* Other small readxl-specific patches have been made to the embedded
  libxls code to comply with CRAN requests, such as avoiding the use
  of `sprintf()`.

# readxl 1.4.1

Help files below `man/` have been re-generated, so that they give rise
to valid HTML5. (This is the impetus for this release, to keep the
package safely on CRAN.)

# readxl 1.4.0

This release is mostly about substantial internal changes that should
not be noticeable to most users (but that set the stage for future
work):

* Updating the embedded version of libxls (more below)
* Switching from Rcpp to cpp11 (more below)
* Refactoring to reduce duplication between the `.xls` and `.xlsx` branches

However, there are a few small features / bug fixes:

* "Date or Not Date": The classification of number formats as being
  datetime-ish is more sophisticated and should no longer be so easily
  fooled by, e.g., colours or currencies. This affects cell and column
  type guessing, hopefully for the better (#388, #559, @nacnudus,
  @reviewher).

* Cell location is determined more robustly in `.xlsx` files, guarding
  against the idiosyncratic way in which certain 3rd party tools
  include (or, rather, do not include) cell location in individual
  cell nodes (#648, #671).

* Warning messages for impossible dates are more specific.
  Unsupported dates prior to 1900 have their own message now, instead
  of being lumped in with dates on the non-existent day of February
  29, 1900 (#551, #554, @cderv).

## Dependency and licensing changes

* readxl is now licensed as MIT (#632).

* readxl now states its support for R >= 3.4 explicitly.
  Why 3.4? Because the [tidyverse
  policy](https://tidyverse.org/blog/2019/04/r-version-support/) is to
  support the current version, the devel version, and four previous
  versions of R.  It was necessary to introduce a minimum R version,
  in order to state a minimum version for a package listed in
  `LinkingTo`.

* readxl embeds libxls v1.6.2 (the previous release embedded v1.5.0).
  The libxls project is hosted at <https://github.com/libxls/libxls>
  and you can learn more about the cumulative changes in its release
  notes:

  - [v1.6.2](https://github.com/libxls/libxls/releases/tag/v1.6.2)
  - [v1.6.1](https://github.com/libxls/libxls/releases/tag/v1.6.1)
  - [v1.6.0](https://github.com/libxls/libxls/releases/tag/v1.6.0)
  - [v1.5.3](https://github.com/libxls/libxls/releases/tag/v1.5.3)
  - [v1.5.2](https://github.com/libxls/libxls/releases/tag/v1.5.2)
  - [v1.5.1](https://github.com/libxls/libxls/releases/tag/v1.5.1)

* readxl has switched from Rcpp to cpp11 and now requires C++11 (#659,
  @sbearrows).

* The minimum version of tibble has been bumped to 2.0.1 (released
  2019-01-12), completing the transition to an approach to column name
  repair used across the tidyverse.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/textproc/R-readxl/Makefile
cvs rdiff -u -r1.4 -r1.5 pkgsrc/textproc/R-readxl/distinfo
cvs rdiff -u -r1.1 -r1.2 pkgsrc/textproc/R-readxl/patches/patch-src_Makevars

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-readxl/Makefile
diff -u pkgsrc/textproc/R-readxl/Makefile:1.3 pkgsrc/textproc/R-readxl/Makefile:1.4
--- pkgsrc/textproc/R-readxl/Makefile:1.3       Wed Jun 10 13:17:47 2026
+++ pkgsrc/textproc/R-readxl/Makefile   Sat Jun 13 11:42:26 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.3 2026/06/10 13:17:47 mef Exp $
+# $NetBSD: Makefile,v 1.4 2026/06/13 11:42:26 mef Exp $
 
 R_PKGNAME=     readxl
-R_PKGVER=      1.3.1
+R_PKGVER=      1.5.0
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -26,6 +26,6 @@ SUBST_SED.pkglibs=    -e s,@@PKG_LIBS@@,,
 .endif
 
 .include "../../math/R/Makefile.extension"
-.include "../../devel/R-Rcpp/buildlink3.mk"
+.include "../../lang/R-cpp11/buildlink3.mk"
 .include "../../sysutils/R-progress/buildlink3.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/textproc/R-readxl/distinfo
diff -u pkgsrc/textproc/R-readxl/distinfo:1.4 pkgsrc/textproc/R-readxl/distinfo:1.5
--- pkgsrc/textproc/R-readxl/distinfo:1.4       Wed Jun 10 13:17:47 2026
+++ pkgsrc/textproc/R-readxl/distinfo   Sat Jun 13 11:42:26 2026
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.4 2026/06/10 13:17:47 mef Exp $
+$NetBSD: distinfo,v 1.5 2026/06/13 11:42:26 mef Exp $
 
-BLAKE2s (R/readxl_1.3.1.tar.gz) = 697a490da2cf6df09c6adeb062859fbf0f6116b1404cc5ba5a5115f0daa9fa2e
-SHA512 (R/readxl_1.3.1.tar.gz) = befeb57b4b5eeb934e08927aca0c0026591d264c34a029f2d77509b60d466c7f8e5df7d11bd38865ab1010042eb30f93363bf0c6fce608ae724f1ccb0b402ac2
-Size (R/readxl_1.3.1.tar.gz) = 2056165 bytes
-SHA1 (patch-src_Makevars) = 45f469bf6e2342f5e64cd74fce8b6c58a10c99d2
+BLAKE2s (R/readxl_1.5.0.tar.gz) = 3724784b38a2d94d05f679e0dbfd65445c1ce5c063651b1d0da65e6334498e8b
+SHA512 (R/readxl_1.5.0.tar.gz) = 3c86ed073a5f84c7ad4aa3cc7f0c1a768c437fd8211f31e55605711e767103a7582ddb12061f39172fccf760057e372e17ff79ee0afb7c0862260b4f7b409cf4
+Size (R/readxl_1.5.0.tar.gz) = 2088990 bytes
+SHA1 (patch-src_Makevars) = db960fc12d9714771c03dcc5d7faa3625ecd732a

Index: pkgsrc/textproc/R-readxl/patches/patch-src_Makevars
diff -u pkgsrc/textproc/R-readxl/patches/patch-src_Makevars:1.1 pkgsrc/textproc/R-readxl/patches/patch-src_Makevars:1.2
--- pkgsrc/textproc/R-readxl/patches/patch-src_Makevars:1.1     Wed Jun 10 13:17:47 2026
+++ pkgsrc/textproc/R-readxl/patches/patch-src_Makevars Sat Jun 13 11:42:26 2026
@@ -1,4 +1,4 @@
-$NetBSD: patch-src_Makevars,v 1.1 2026/06/10 13:17:47 mef Exp $
+$NetBSD: patch-src_Makevars,v 1.2 2026/06/13 11:42:26 mef Exp $
 
 - The Problem is:
   RcppEigen.so: Undefined PLT symbol "backtrace_symbols" (symnum = 108)
@@ -14,10 +14,13 @@ $NetBSD: patch-src_Makevars,v 1.1 2026/0
 
 - So the condition branch will be done at SUBST mechanism
 
---- src/Makevars.orig  2019-03-14 01:01:23.000000000 +0900
-+++ src/Makevars       2026-06-10 21:56:52.450346394 +0900
-@@ -1,3 +1,4 @@
- PKG_CPPFLAGS = -Iunix -I. -DRCPP_DEFAULT_INCLUDE_CALL=false
+--- src/Makevars.orig  2026-06-10 22:22:14.382476281 +0900
++++ src/Makevars       2026-06-10 22:23:13.868242528 +0900
+@@ -1,6 +1,7 @@
+ PKG_CPPFLAGS = -Iunix -I.
  PKG_CFLAGS = $(C_VISIBILITY)
  PKG_CXXFLAGS = $(CXX_VISIBILITY)
 +@@PKG_LIBS@@
+ 
+ SOURCES = cpp11.cpp XlsWorkBook.cpp XlsxWorkBook.cpp zip.cpp Read.cpp
+ OBJECTS = $(SOURCES:.cpp=.o) cran.o libxls/xlstool.o libxls/endian.o libxls/ole.o libxls/xls.o libxls/locale.o



Home | Main Index | Thread Index | Old Index