./math/R-rio, Swiss-army knife for data I/O

[ CVSweb ] [ Homepage ] [ RSS ] [ Required by ] [ Add to tracker ]


Branch: CURRENT, Version: 1.2.3, Package name: R-rio-1.2.3, Maintainer: pkgsrc-users

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.


Required to run:
[math/R] [www/R-curl] [math/R-tibble] [textproc/R-openxlsx] [textproc/R-readxl] [textproc/R-data.table] [textproc/R-haven]

Required to build:
[pkgtools/cwrappers]

Master sites: (Expand)


Version history: (Expand)


CVS history: (Expand)


   2024-10-20 03:42:33 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-rio) Updated 1.0.1 to 1.2.3

# rio 1.2.3

* Fix #453, don't nudge the user to install all suggested packages
* Fix #451, don't nudge the user to report issues about the trust parameter

# rio 1.2.2

* Fix #447 - remove an ancient artefact of Vignette generation, h/t
  Tim Taylor for the help.

# rio 1.2.1

* Roll back the decision to add parquet in the import tier see #455 #315

# rio 1.2.0

* Fix lintr issues #434 (h/t @bisaloo Hugo Gruson)
* Drop support for R < 4.0.0 see #436
* Add support for parquet in the import tier using `nanoparquet` see
  rio 1.0.1 below.

Bug fixes

* Fix #430 Add back support for `.dat`

# rio 1.1.1

Bug fixes

* Fix #425 for archive formats, the file extension of the input file
  is determined by the compressed file (like prior rio 1.1.0)

# rio 1.1.0

* CRAN release

# rio 1.0.3

* Add `trust` parameter to functions that are used to load various R
  environment formats (`.R`, `.Rds`, `.Rdata`, etc). This parameter is
  defaulted to `TRUE` today to ensure backwards compatibility. A
  deprecation notice warns this will default to `FALSE` in `rio`
  2.0. We are informing users that these data types should only be
  loaded from trusted sources, which should be affirmatively attested
  to.

* Test and fix the compression mechanism: Gzip, Bzip2 are now working as expected.

Bug fixes

- Fix #412, prevent double usage of `which` for archive formats
- Fix #415, both `import_list()` and `export_list()` support tar archives.
- Fix #421, tar export is only supported by R >= 4.0.3.

# rio 1.0.2

* For missing files in `import_list` it gives more informative
  warnings fix #389
* Single-item list of data frames can be exported fix #385
* Move `stringi` to Suggests to reduce compilation time. Add an
  attribution to the internal data to list out all required packages
  #378
* Move `readr` to Imports for `fwf`. `readr` is a dependency of
  `haven` so it does not increase the number of dependencies. Remove
  the original `read.fwf2` which doesn't guess `widths`. Keep the
  `widths` and `col.names` to maintain compatibility. #381
* Add (back) a pkgdown website:
  [https://gesistsa.github.io/rio/](https://gesistsa.github.io/rio/)
* Update all test cases #380
   2024-02-06 13:47:05 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(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.
   2024-01-23 15:21:33 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(devel/R-rio) revert commit mistakenly done, sorry
   2024-01-23 14:33:39 by Makoto Fujiwara | Files touched by this commit (15)
Log message:
(devel/R-uuid) Remove duplicated line, sorry
   2022-04-30 06:35:51 by Makoto Fujiwara | Files touched by this commit (2)
Log message:
(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.
   2021-10-26 12:20:11 by Nia Alarie | Files touched by this commit (3016)
Log message:
archivers: Replace RMD160 checksums with BLAKE2s checksums

All checksums have been double-checked against existing RMD160 and
SHA512 hashes

Could not be committed due to merge conflict:
devel/py-traitlets/distinfo

The following distfiles were unfetchable (note: some may be only fetched
conditionally):

./devel/pvs/distinfo pvs-3.2-solaris.tgz
./devel/eclipse/distinfo eclipse-sourceBuild-srcIncluded-3.0.1.zip
   2021-10-07 15:44:44 by Nia Alarie | Files touched by this commit (3017)
Log message:
devel: Remove SHA1 hashes for distfiles
   2019-08-08 21:53:58 by Brook Milligan | Files touched by this commit (189) | Package updated
Log message:
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