head 1.7; access; symbols pkgsrc-2023Q4:1.4.0.14 pkgsrc-2023Q4-base:1.4 pkgsrc-2023Q3:1.4.0.12 pkgsrc-2023Q3-base:1.4 pkgsrc-2023Q2:1.4.0.10 pkgsrc-2023Q2-base:1.4 pkgsrc-2023Q1:1.4.0.8 pkgsrc-2023Q1-base:1.4 pkgsrc-2022Q4:1.4.0.6 pkgsrc-2022Q4-base:1.4 pkgsrc-2022Q3:1.4.0.4 pkgsrc-2022Q3-base:1.4 pkgsrc-2022Q2:1.4.0.2 pkgsrc-2022Q2-base:1.4 pkgsrc-2022Q1:1.3.0.6 pkgsrc-2022Q1-base:1.3 pkgsrc-2021Q4:1.3.0.4 pkgsrc-2021Q4-base:1.3 pkgsrc-2021Q3:1.3.0.2 pkgsrc-2021Q3-base:1.3 pkgsrc-2021Q2:1.2.0.16 pkgsrc-2021Q2-base:1.2 pkgsrc-2021Q1:1.2.0.14 pkgsrc-2021Q1-base:1.2 pkgsrc-2020Q4:1.2.0.12 pkgsrc-2020Q4-base:1.2 pkgsrc-2020Q3:1.2.0.10 pkgsrc-2020Q3-base:1.2 pkgsrc-2020Q2:1.2.0.8 pkgsrc-2020Q2-base:1.2 pkgsrc-2020Q1:1.2.0.4 pkgsrc-2020Q1-base:1.2 pkgsrc-2019Q4:1.2.0.6 pkgsrc-2019Q4-base:1.2 pkgsrc-2019Q3:1.2.0.2 pkgsrc-2019Q3-base:1.2; locks; strict; comment @# @; 1.7 date 2024.02.06.12.47.05; author mef; state Exp; branches; next 1.6; commitid Ij3ICbEQuMKo7nXE; 1.6 date 2024.01.23.14.21.32; author mef; state Exp; branches; next 1.5; commitid lWqHOgpmeuTK5AVE; 1.5 date 2024.01.23.13.33.38; author mef; state Exp; branches; next 1.4; commitid OjHqddJU78VjPzVE; 1.4 date 2022.04.30.04.35.51; author mef; state Exp; branches; next 1.3; commitid MFX7H9pADgT9cbCD; 1.3 date 2021.08.21.07.02.41; author mef; state Exp; branches; next 1.2; commitid 05wxUUkVeYvR6O5D; 1.2 date 2019.08.08.19.53.40; author brook; state Exp; branches; next 1.1; commitid K2VPfA0XCw7xfgyB; 1.1 date 2019.07.31.00.47.04; author brook; state Exp; branches; next ; commitid 41URd5HQjUABc8xB; desc @@ 1.7 log @(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. @ text @# $NetBSD: Makefile,v 1.6 2024/01/23 14:21:32 mef Exp $ R_PKGNAME= rio 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-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-tibble>=2.1.3:../../math/R-tibble DEPENDS+= R-writexl-[0-9]*:../../textproc/R-writexl # Packages suggested but not available: # 'fst', 'hexView', 'pzfx', 'readODS', 'rmatio', 'qs', 'arrow' TEST_DEPENDS+= R-bit64-[0-9]*:../../devel/R-bit64 #TEST_DEPENDS+= R-arrow-[0-9]* #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]* #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 .include "../../math/R/Makefile.extension" .include "../../mk/bsd.pkg.mk" @ 1.6 log @(devel/R-rio) revert commit mistakenly done, sorry @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.4 2022/04/30 04:35:51 mef Exp $ d4 1 a4 1 R_PKGVER= 0.5.29 d11 2 a12 1 DEPENDS+= R-tibble>=2.1.3:../../math/R-tibble d17 2 a18 1 DEPENDS+= R-curl>=0.6:../../www/R-curl d21 1 a21 1 # 'arrow', 'fst', 'hexView', 'pzfx', 'readODS', 'rmatio' d25 1 a25 1 TEST_DEPENDS+= R-feather-[0-9]*:../../devel/R-feather d30 7 a36 2 #TEST_DEPENDS+= R-rmatio-[0-9]* @ 1.5 log @(devel/R-uuid) Remove duplicated line, sorry @ text @d4 1 a4 1 R_PKGVER= 1.0.1 d12 2 a13 2 DEPENDS+= R-data.table>=1.11.2:../../textproc/R-data.table DEPENDS+= R-haven>=1.1.2:../../textproc/R-haven a34 1 ../../devel/R-R.utils @ 1.4 log @(devel/R-rio) Updated 0.5.27 to 0.5.29 (0.5.29 not documented) # rio 0.5.28 * Various fixes to tests, examples, and documentation for CRAN. * Temporarily disabled some tests that failed on Mac M1s. @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.3 2021/08/21 07:02:41 mef Exp $ d4 1 a4 1 R_PKGVER= 0.5.29 d12 2 a13 2 DEPENDS+= R-data.table>=1.9.8:../../textproc/R-data.table DEPENDS+= R-haven>=1.1.0:../../textproc/R-haven d35 1 @ 1.3 log @(devel/R-rio) Updated 0.5.16 to 0.5.27 # rio 0.5.27 * Documentation fixes for CRAN. # rio 0.5.26 * Added support for "zsav" format. (#273) # rio 0.5.25 * Modified tests per email request from CRAN. * Added `coerce_character` argument (default FALSE) to `factorize()` to enable coercing character columns to factor. (#278) # rio 0.5.24 * Fix handling of "label" and "labels" attributes when exporting using haven methods (SPSS, Stata, SAS). (#268, h/t Ruben Arslan) * Fix (a different bug?) handling factors by haven::labelled() (#271, Alex Bokov) * HTML import can now handle multiple tbody elements within a single table, a th element in a non-header row, and empty elements in either the header or data. (#260, #263, #264 Bill Denney) # rio 0.5.23 * CSVY support is now provided by `data.table::fread()` and `data.table::fwrite()`, providing significant performance gains. * Added an internal `arg_reconcile()` function to streamline the task of removing/renaming arguments for compatibility with various functions (#245, Alex Bokov) # rio 0.5.22 * Added an `export_list()` function to write a list of data frames to multiple files using a vector of file names or a file pattern. (#207, h/t Bill Denney) * Added an `is_file_text()` function to determine whether a file is in a plain-text format. Optionally narrower subsets of characters can be specified, e.g. ASCII. (#236 Alex Bokov) # rio 0.5.21 * Added support for Apache Arrow (Parquet) files. (#214) * Fix dropping of variable label in `characterize()` and `factorize()`. (#204, h/t David Armstrong) * `import_list()` now returns a `filename` attribute for each data frame in the list (when importing from multiple files), in order to distinguish files with the same base name but different extensions (e.g., `import_list(c("foo.csv", "foo.tsv"))`). (#208, h/t Vimal Rawat) * Import of DBF files now does not convert strings to factors. (#202, h/t @@jllipatz) * Implemented `import()` method for .dump R files. (#240) # rio 0.5.20 * Additional pointers were added to indicate how to load .doc, .docx, and .pdf files (#210, h/t Bill Denney) * Ensure that tests only run if the corresponding package is installed. (h/t Bill Denney) * Escape ampersands for html and xml export (#234 Alex Bokov) # rio 0.5.19 * Fix behavior of `export()` to plain text files when `append = TRUE` (#201, h/t Juli叩n Urbano) * `import_list()` now preserve names of Excel sheets, etc. when the 'which' argument is specified. (#162, h/t Danny Parsons) * Modify message and errors when working with unrecognized file formats. (#195, h/t Trevor Davis) * Add support for GraphPad Prism .pzfx files (#205, h/t Bill Denney) # rio 0.5.18 * Adjust `import()`/`export()` for JSON file formats to allow non-data frame objects. Behavior modeled after RDS format. (#199 h/t Nathan Day) # rio 0.5.17 * Fix `the condition has length > 1 and only the first element will be used` warning in `gather_attributes()`. (#196, h/t Ruben Arslan) @ text @d1 1 a1 1 # $NetBSD: Makefile,v 1.2 2019/08/08 19:53:40 brook Exp $ d4 1 a4 1 R_PKGVER= 0.5.27 d19 2 a20 2 # 'arrow', 'feather', 'fst', 'hexView', 'pzfx', 'readODS', # 'rmatio' d22 7 @ 1.2 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.1 2019/07/31 00:47:04 brook Exp $ d4 1 a4 1 R_PKGVER= 0.5.16 d18 6 @ 1.1 log @Initial commit Streamlined data import and export by making assumptions that the user is probably willing to make: 'import()' and 'export()' determine the data structure from the file extension, reasonable defaults are used for data import and export (e.g., 'stringsAsFactors=FALSE'), web-based import is natively supported (including from SSL/HTTPS), compressed files can be read directly without explicit decompression, and fast import packages are used where appropriate. An additional convenience function, 'convert()', provides a simple method for converting between file types. @ text @d1 1 a1 1 # $NetBSD$ d3 3 a5 1 CATEGORIES= devel R a7 1 HOMEPAGE= ${R_HOMEPAGE_BASE}/rio/ a10 3 R_PKGNAME= rio R_PKGVER= 0.5.16 @