From 04c4b6e9bf3cc611acd29c4ace3f7f16883a5aad Mon Sep 17 00:00:00 2001 From: mef Date: Tue, 6 Feb 2024 12:47:05 +0000 Subject: [PATCH] (devel/R-rio) Update 0.5.26 to 1.0.1 # rio 1.0.1 * POTENTIALLY BREAKING: Due to compiling time concerns, roll back the decision to move `arrow` to `Imports`. It is now `Suggests`. `setclass = "arrow"` works if `arrow` is installed. #315 #376 # rio 1.0.0 * Stop loading the entire namespace of a suggested package when it is available #296 * Unexport objects: `.import`, `.export`, `is_file_text`; remove documentation for `arg_reconcile` #321 * Update Examples to make them more realistic #327 * Add support for `qs` #275 h/t David Schoch * Use `arrow` to import / export `feather` #340 * `export_list` can write multiple data frames to a single archive file (e.g. zip, tar) or a directory #346 h/t David Schoch * `get_info` is added #350 * POTENTIALLY BREAKING: `setclass` parameter is now authoritative. Therefore: `import("starwars.csv", data.table = TRUE, setclass = "tibble")` will return a tibble (unlike previous versions where a data.table is returned). The default class is data frame. You can either explicitly use the `setclass` parameter; or set the option: `options(rio.import.class = "data.table")`. h/t David Schoch #336 * Parquet and feather are now formats supported out of the box; Possible to setclass to `arrow` / `arrow_table`; ArrowTabular class can be exported #315 * Add "extension", "labelled" vignettes * Support readODS 2.1.0 features such as reading and writing Flat ODS; export Multiple data frames #358 * POTENTIALLY BREAKING: Use `writexl` instead of `openxlsx`. Option to read xlsx with `openxlsx` (i.e. `import("starwars.xlsx", readxl = FALSE)`) is always `TRUE`. The ability to overwrite an existing sheet in an existing xlsx file is also removed. It is against the design principle of `rio`. * POTENTIALLY BREAKING: The following options are deprecated: `import(fread)`, `import(readr = TRUE)`, `import(haven)`, `import(readxl)` and `export(fwrite)`. import will almost use `data.table`, `haven`, `readxl`, and internal function (for fwf) to import and export data. Currently, those options stay for backward compatibility but will be removed in v2.0.0. #343 h/t David Schoch * POTENTIALLY BREAKING: `...` is handled differently. Underlying functions using "Tidy" convention (e.g. `readxl::read_xlsx()`) can use "Base Convention" (See the new vignette: `remap`). Unused arguments passed to the underlying function as `...` are silently ignored by default. A new option `rio.ignoreunusedargs` is added to control this behavior. #326 * Bug fixes - ... is correctly passed for exporting ODS and feather #318 - POTENTIALLY BREAKING: JSON are exported in UTF-8 by default; solved encoding issues on Windows R < 4.2. This won't affect any modern R installation where UTF-8 is the default. #318 - POTENTIALLY BREAKING: YAML are exported using yaml::write_yaml(). But it can't pass the UTF-8 check on older systems. Disclaimer added. #318 - More check for the `file` argument #301 - `import_list` works with single Excel/HTML/Zip online #294 - Correct XML/HTML escaping #303 - Create directory if it doesn't exist #347 * Declutter - remove the obsolete data.table option #323 - write all documentation blocks in markdown #311 - remove all @importFrom #325 h/t David Schoch - rearrange "Package Philosophy" as a Vignette #320 - Create a single source of truth about all import and export functions #313 - Clarify all concepts: now there is only `format` #351 * New authors - David Schoch @schochastics # rio 0.5.30 * Maintenance release: new maintainer * Mark `.sas7bdat` as deprecated * Change the minimum R version to 3.6 # rio 0.5.29 * fixes for CRAN # rio 0.5.28 * Various fixes to tests, examples, and documentation for CRAN. * Temporarily disabled some tests that failed on Mac M1s. # rio 0.5.27 * Documentation fixes for CRAN. --- devel/R-rio/Makefile | 23 +++++++++++++++-------- devel/R-rio/distinfo | 8 ++++---- 2 files changed, 19 insertions(+), 12 deletions(-) diff --git a/devel/R-rio/Makefile b/devel/R-rio/Makefile index 7344b49970e8..57c224efccbc 100644 --- a/devel/R-rio/Makefile +++ b/devel/R-rio/Makefile @@ -1,32 +1,39 @@ -# $NetBSD: Makefile,v 1.6 2024/01/23 14:21:32 mef Exp $ +# $NetBSD: Makefile,v 1.7 2024/02/06 12:47:05 mef Exp $ R_PKGNAME= rio -R_PKGVER= 0.5.29 +R_PKGVER= 1.0.1 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org COMMENT= Swiss-army knife for data I/O LICENSE= gnu-gpl-v2 -DEPENDS+= R-tibble>=2.1.3:../../math/R-tibble +DEPENDS+= R-R.utils-[0-9]*:../../devel/R-R.utils +DEPENDS+= R-curl>=0.6:../../www/R-curl DEPENDS+= R-data.table>=1.9.8:../../textproc/R-data.table DEPENDS+= R-haven>=1.1.0:../../textproc/R-haven DEPENDS+= R-openxlsx>=4.1.0.1:../../textproc/R-openxlsx DEPENDS+= R-readxl>=0.1.1:../../textproc/R-readxl -DEPENDS+= R-curl>=0.6:../../www/R-curl +DEPENDS+= R-tibble>=2.1.3:../../math/R-tibble +DEPENDS+= R-writexl-[0-9]*:../../textproc/R-writexl # Packages suggested but not available: -# 'arrow', 'fst', 'hexView', 'pzfx', 'readODS', 'rmatio' +# 'fst', 'hexView', 'pzfx', 'readODS', 'rmatio', 'qs', 'arrow' TEST_DEPENDS+= R-bit64-[0-9]*:../../devel/R-bit64 #TEST_DEPENDS+= R-arrow-[0-9]* -TEST_DEPENDS+= R-feather-[0-9]*:../../devel/R-feather +#EST_DEPENDS+= R-feather-[0-9]*:../../devel/R-feather #TEST_DEPENDS+= R-fst-[0-9]* #TEST_DEPENDS+= R-hexView-[0-9]* #TEST_DEPENDS+= R-pzfx-[0-9]* #TEST_DEPENDS+= R-readODS-[0-9]* -#TEST_DEPENDS+= R-rmatio-[0-9]* - +#EST_DEPENDS+= R-rmatio-[0-9]* +TEST_DEPENDS+= R-jsonlite-[0-9]*:../../textproc/R-jsonlite +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 +TEST_DEPENDS+= R-xml2-[0-9]*:../../textproc/R-xml2 +TEST_DEPENDS+= R-yaml-[0-9]*:../../textproc/R-yaml USE_LANGUAGES= # none diff --git a/devel/R-rio/distinfo b/devel/R-rio/distinfo index 6d9e2e383957..a547e33d9874 100644 --- a/devel/R-rio/distinfo +++ b/devel/R-rio/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.7 2024/01/23 14:21:32 mef Exp $ +$NetBSD: distinfo,v 1.8 2024/02/06 12:47:05 mef Exp $ -BLAKE2s (R/rio_0.5.29.tar.gz) = b9ec7be85a0a3da2c49271e3ad4fce3670e75288e4afb2f70ff9929805d1c2fe -SHA512 (R/rio_0.5.29.tar.gz) = d5ce59035073d43b05c49e71ed6d891acf45513d3709ed599637aeeea722582d26b064625778fb4a33a50ef273939bf9d8dad78a1cefa3f47fffeedd35c94c48 -Size (R/rio_0.5.29.tar.gz) = 445401 bytes +BLAKE2s (R/rio_1.0.1.tar.gz) = a3621a398279b2df96b40689cefa542580864e26694ec26db8126fa30846265f +SHA512 (R/rio_1.0.1.tar.gz) = 43d89ace1077f8def71363c38154a77ba7f9983531ade96554de35ad1c2da6a6db6c9d1c17899b57a4c940609a6bfaba1924147261e0d6e89635a939846bfa5a +Size (R/rio_1.0.1.tar.gz) = 514009 bytes