Recent Releases of rio

rio - v1.2.3

What's Changed

  • Nopar by @chainsawriot in https://github.com/gesistsa/rio/pull/446
  • Fix #447 by @chainsawriot in https://github.com/gesistsa/rio/pull/448
  • Remove mtna and co. urls by @chainsawriot in https://github.com/gesistsa/rio/pull/449
  • Fix #451 by @chainsawriot in https://github.com/gesistsa/rio/pull/454
  • Fix #453 by @chainsawriot in https://github.com/gesistsa/rio/pull/455
  • stop pkgdown workflow for PRs by @chainsawriot in https://github.com/gesistsa/rio/pull/456

Full Changelog: https://github.com/gesistsa/rio/compare/v1.2.0...v1.2.3

- R
Published by chainsawriot over 1 year ago

rio - v1.2.0

What's Changed

  • Fix #430 by @chainsawriot in https://github.com/gesistsa/rio/pull/431
  • Fix #424 by @chainsawriot in https://github.com/gesistsa/rio/pull/429
  • Fix some suboptimal patterns identified by lintr by @Bisaloo in https://github.com/gesistsa/rio/pull/434
  • Fix #438 by @chainsawriot in https://github.com/gesistsa/rio/pull/439
  • Update GHA ref #436 by @chainsawriot in https://github.com/gesistsa/rio/pull/440
  • Fix #435 by @chainsawriot in https://github.com/gesistsa/rio/pull/441
  • Fix #437 by @chainsawriot in https://github.com/gesistsa/rio/pull/442
  • Add back default support for parquet fix #315 by @chainsawriot in https://github.com/gesistsa/rio/pull/444

New Contributors

  • @Bisaloo made their first contribution in https://github.com/gesistsa/rio/pull/434

Full Changelog: https://github.com/gesistsa/rio/compare/v1.1.1...v1.2.0

- R
Published by chainsawriot almost 2 years ago

rio - v1.1.1

What's Changed

  • Disable arrow in GHA ref #427 by @chainsawriot in https://github.com/gesistsa/rio/pull/428
  • Fix #425 by @chainsawriot in https://github.com/gesistsa/rio/pull/426

Full Changelog: https://github.com/gesistsa/rio/compare/v1.1.0...v1.1.1

- R
Published by chainsawriot about 2 years ago

rio - v1.1.0

What's Changed

  • Fix #378 by @chainsawriot in https://github.com/gesistsa/rio/pull/382
  • Fix #381 by @chainsawriot in https://github.com/gesistsa/rio/pull/383
  • Fix Philosophy regarding writexl by @chainsawriot in https://github.com/gesistsa/rio/pull/384
  • Fix #385 by @chainsawriot in https://github.com/gesistsa/rio/pull/386
  • Add pkgdown fix #316 by @chainsawriot in https://github.com/gesistsa/rio/pull/388
  • Fix #389 by @chainsawriot in https://github.com/gesistsa/rio/pull/390
  • Fix #392 by @chainsawriot in https://github.com/gesistsa/rio/pull/393
  • Fix typos by @KNnut in https://github.com/gesistsa/rio/pull/391
  • Fix #380 by @chainsawriot in https://github.com/gesistsa/rio/pull/394
  • Fix #354 by @chainsawriot in https://github.com/gesistsa/rio/pull/397
  • Fix #395 by @chainsawriot in https://github.com/gesistsa/rio/pull/401
  • Add a binary file to test remote file fetching ref #403 by @chainsawriot in https://github.com/gesistsa/rio/pull/405
  • Refactor remote_to_local() fix #403 by @chainsawriot in https://github.com/gesistsa/rio/pull/404
  • Fix #402 update doc regarding csv.gz by @chainsawriot in https://github.com/gesistsa/rio/pull/407
  • Fix #399 Restrict support for compressed files to zip, tar, and csv.gz by @chainsawriot in https://github.com/gesistsa/rio/pull/408
  • Adds trust parameter with deprecation for default by @jsonbecker in https://github.com/gesistsa/rio/pull/409
  • Adjust checking in parse_archive by @chainsawriot in https://github.com/gesistsa/rio/pull/410
  • add tweaks for #409 by @chainsawriot in https://github.com/gesistsa/rio/pull/411
  • fix #400 by @chainsawriot in https://github.com/gesistsa/rio/pull/413
  • Add trust to tests fix #414 by @chainsawriot in https://github.com/gesistsa/rio/pull/416
  • Add trust also for import_list() ref #406 by @chainsawriot in https://github.com/gesistsa/rio/pull/417
  • Prevent the reuse of which for zip and tar fix #412 by @chainsawriot in https://github.com/gesistsa/rio/pull/418
  • Fix #415 by @chainsawriot in https://github.com/gesistsa/rio/pull/420
  • Fix #421 by @chainsawriot in https://github.com/gesistsa/rio/pull/422
  • Fix #419 by @chainsawriot in https://github.com/gesistsa/rio/pull/423

New Contributors

  • @KNnut made their first contribution in https://github.com/gesistsa/rio/pull/391

Full Changelog: https://github.com/gesistsa/rio/compare/v1.0.1...v1.1.0

- R
Published by chainsawriot about 2 years ago

rio - v1.0.1

What's Changed

  • Fix #376 by @chainsawriot in https://github.com/gesistsa/rio/pull/377

Full Changelog: https://github.com/gesistsa/rio/compare/v1.0.0...v1.0.1

- R
Published by chainsawriot over 2 years ago

rio - v1.0.0

What's Changed

  • Addressing ropensci initial review check by @chainsawriot in https://github.com/gesistsa/rio/pull/321
  • Check by @chainsawriot in https://github.com/gesistsa/rio/pull/322
  • Remove the obsolete data.table option change by @chainsawriot in https://github.com/gesistsa/rio/pull/323
  • Add .check_pkg_availability fix #296 by @chainsawriot in https://github.com/gesistsa/rio/pull/324
  • Rewrite all docs in Markdown fix #311 by @chainsawriot in https://github.com/gesistsa/rio/pull/328
  • Fix #327 by @chainsawriot in https://github.com/gesistsa/rio/pull/329
  • Make ... pass Ref #318 by @chainsawriot in https://github.com/gesistsa/rio/pull/330
  • Does this work 3.6 Windows by @chainsawriot in https://github.com/gesistsa/rio/pull/331
  • Zap all sapply fix #319 by @chainsawriot in https://github.com/gesistsa/rio/pull/332
  • Fix #301 by @chainsawriot in https://github.com/gesistsa/rio/pull/333
  • Fix #294 by @chainsawriot in https://github.com/gesistsa/rio/pull/337
  • removed importFrom (#325) by @schochastics in https://github.com/gesistsa/rio/pull/338
  • Fix #303 by @chainsawriot in https://github.com/gesistsa/rio/pull/339
  • qs support (#275) by @schochastics in https://github.com/gesistsa/rio/pull/341
  • Make Package Philosphy a vignette ref #320 by @chainsawriot in https://github.com/gesistsa/rio/pull/342
  • Fix #340 by @chainsawriot in https://github.com/gesistsa/rio/pull/344
  • Fix #347 by @chainsawriot in https://github.com/gesistsa/rio/pull/348
  • export several files to zip file (#203) by @schochastics in https://github.com/gesistsa/rio/pull/346
  • Implement a single source of truth [no ci] by @chainsawriot in https://github.com/gesistsa/rio/pull/349
  • Use format in internal data by @chainsawriot in https://github.com/gesistsa/rio/pull/352
  • Remove ext in internal data ref #313 by @chainsawriot in https://github.com/gesistsa/rio/pull/353
  • Get info by @chainsawriot in https://github.com/gesistsa/rio/pull/355
  • Single by @chainsawriot in https://github.com/gesistsa/rio/pull/356
  • make setclass authoritative #336 by @schochastics in https://github.com/gesistsa/rio/pull/357
  • Zap openxlsx and use writexl instead, fix #310 by @chainsawriot in https://github.com/gesistsa/rio/pull/359
  • removed else clutter fix #334 by @schochastics in https://github.com/gesistsa/rio/pull/360
  • Add the universal dummy which parameter to all import methods #326 by @chainsawriot in https://github.com/gesistsa/rio/pull/361
  • Deprecate unused arguments fix #343 #253 by @schochastics in https://github.com/gesistsa/rio/pull/362
  • Fix #326 by @chainsawriot in https://github.com/gesistsa/rio/pull/364
  • Add extension Vignette by @chainsawriot in https://github.com/gesistsa/rio/pull/365
  • Arrow by @chainsawriot in https://github.com/gesistsa/rio/pull/367
  • Update doc fix #315 again by @chainsawriot in https://github.com/gesistsa/rio/pull/369
  • Add labelled vig by @chainsawriot in https://github.com/gesistsa/rio/pull/370
  • Fix Labelled vig by @chainsawriot in https://github.com/gesistsa/rio/pull/371
  • Fix #368 by @chainsawriot in https://github.com/gesistsa/rio/pull/372
  • Fix #363 by @chainsawriot in https://github.com/gesistsa/rio/pull/373
  • Wrap all calls with .docall by @chainsawriot in https://github.com/gesistsa/rio/pull/374
  • Fix #358 by @chainsawriot in https://github.com/gesistsa/rio/pull/375

New Contributors

  • @schochastics made their first contribution in https://github.com/gesistsa/rio/pull/338

Full Changelog: https://github.com/gesistsa/rio/compare/v0.5.30...v1.0.0

- R
Published by chainsawriot almost 3 years ago

rio - v0.5.30

A maintenance release; now available on CRAN.

rio 0.5.30

  • Maintenance release: new maintainer
  • Mark .sas7bdat as deprecated
  • Change the minimum R version to 3.6

- R
Published by chainsawriot almost 3 years ago

rio - Patch release

This release contains no substantive code changes. It merely fixes some bugs in tests running on CRAN.

- R
Published by leeper about 8 years ago

rio - Patch release

This is a patch release with mostly some critical bug fixes and a few minor changes in behavior for a few import and export methods.

User-visible changes

  • Export the get_ext() function. (#169)
  • import_list() gains improved file name handling. (#164, h/t Ruaridh Williamson)
  • Removed the overwrite argument from export() method for xlsx files. Instead, existing workbooks are always overwritten unless which is specified, in which case only the specified sheet (if it exists) is overwritten. If the file exists but the which sheet does not, the data are added as a new sheet to the existing workbook. (#156)
  • Import of files with the ambiguous .dat extension, which are typically text-delimited files, are now passed to data.table::fread() with a message. Export to the format remains unsupported. (#98, #155)
  • Added support for export to SAS XPORT format (via haven::write_xpt()). (#157)
  • Switched default import package for SAS XPORT format to haven::read_xpt() with a haven = FALSE toggle restoring the previous default behavior using foreign::read.xpt(). (#157)

Bug fixes

  • Removed longstanding warnings from the tests of export() to fixed-width format.
  • Fix a bug related to an xml2 bug (#168, h/t Jim Hester)
  • Fixed a bug in import() from compressed files wherein the which argument did not necessarily return the correct file if >=2 files in the compressed folder.
  • Tweak handling of export() to xlsx workbooks when which is specified. (#156)

- R
Published by leeper over 8 years ago

rio - Patch release: Bug fixes and new features in beta

This is a maintenance release that provides provisional release of a few bits of new functionality.

New Features

  • New functions characterize() and factorize() provide methods for converting "labelled" variables (e.g., from Stata or SPSS) into character or factor variables using embedded metadata. This can also be useful for exporting a metadata-rich file format into a plain text file. (#153)
  • export() now sets variables with a "labels" attribute to haven's "labelled" class.
  • Added a new function spread_attrs() that reverses the gather_attrs() operation.
  • Add .bib as known-unsupported format via bib2df::bib2df().

Bug Fixes

  • Fixed a bug in writing to .zip and .tar archives related to absolute file paths.
  • Fixed some small bugs in import_list() and added tests for behavior.
  • Expanded test suite and increased test coverage, fixing a few tests that were failing on certain CRAN builds.
  • Fixed a bug in .import.rio_xlsx() when readxl = FALSE. (#152, h/t Danny Parsons)
  • Expanded test coverage.

- R
Published by leeper almost 9 years ago

rio - Slimmer loads and support for multi-object I/O

This release adds new functionality, including an import_list() function to retrieve multiple files from a directory or multiple data frames from a multi-object file (e.g., HTML page, .Rdata file, zip directory, etc.). export() to Excel (.xlsx) and HTML also supports multi-object writing via export().

The release also streamlines the set of default packages, so that the package has fewer Imports dependencies, installs faster, and loads faster. install_formats() will install all Suggests packages to enable full file format support.

New features

  • New function import_list() returns a list of data frames from a multi-object Excel Workbook, .Rdata file, zip directory, or HTML file. (#126, #129)
  • import_list() now returns a NULL entry for any failed imports, with a warning. (#149)
  • import_list() gains additional arguments rbind_fill and rbind_label to control rbind-ing behavior. (#149)
  • Added an rbind argument to import_list(). (#149)
  • Added a setclass argument to import_list(), ala the same in import().
  • export() can now write a list of data frames to an Excel (.xlsx) workbook. (#142, h/t Jeremy Johnson)
  • export() can now write a list of data frames to an HTML (.html) file.
  • Improved documentation of mapping between file format support and the packages used for each format. (#151, h/t Patrick Kennedy)
  • Moved all non-critical format packages to Suggests, rather than Imports. (#143)
  • Import to and export from the clipboard now relies on clipr::read_clip() and clipr::write_clip(), respectively, thus (finally) providing Linux support. (#105, h/t Matthew Lincoln)
  • Added support for Matlab formats. (#78, #98)
  • Added support for fst format. (#138)
  • With new data.table release, export using fwrite() is now the default for text-based file formats.
  • Handle HTML tables with <tbody> elements. (h/t Mohamed Elgoussi)
  • Google Spreadsheets can now be imported using any of the allowed formats (CSV, TSV, XLSX, ODS).
  • Added support for writing to ODS files via readODS::write_ods(). (#96)
  • Modified defaults and argument handling in internal function read_delim().

Bug fixes

  • Further fixes to .csv.gz import/export. (#146, h/t Trevor Davis)
  • Verbosity of export(format = "fwf") now depends on options("verbose").
  • Fixed various errors, warnings, and messages in fixed-width format tests.
  • Bumped readxl dependency to >= 0.1.1 (#130, h/t Yongfa Chen)
  • Pass explicit excel_format arguments when using readxl functions. (#130)
  • Fixed a bug in the .import.rio_xls() and .import.rio_xlsx() where the sheet argument would return an error.
  • Fixed a bug in the import of delimited files when fread = FALSE. (#133, h/t Christopher Gandrud)
  • Fixed a bug in .import.rio_xls() wherein the which argument was ignored. (h/t Mohamed Elgoussi)
  • Fixed handling of "data.table", "tibble", and "data.frame" classes in set_class(). (#144)

- R
Published by leeper about 9 years ago

rio - Maintenance Release

This is a maintenance release primarily intended to continue support for SPSS, Stata, and SAS files after the update of haven to v1.0.0. The issues addressed since last release are:

New features

  • Added support for importing from multi-table HTML files using the which argument. (#126)
  • Update import and export methods to use new xml2 for XML and HTML export. (#86)
  • Added support for export of .sas7bdat files via haven (#116)
  • Restored support for import from SPSS portable via haven (#116)
  • Improved behavior of import() and export() with respect to unrecognized file types. (#124, #125, h/t Jason Becker)
  • Attempt to recognize compressed but non-archived file formats (e.g., ".csv.gz"). (#123, h/t trevorld)

Minor notes

  • Added explicit tests of the S3 extension mechanism for .import() and .export().
  • Fix failing tests related to stricter variable name handling for Stata files in development version of haven. (#113, h/t Hadley Wickham)
  • Updated import methods to reflect changed formal argument names in haven. (#116)
  • Converted to roxygen2 documentation and made NEWS an explicit markdown file.

- R
Published by leeper over 9 years ago

rio - Maintenance Release

This is a patch release that contains a few small fixes: - Changed feather Imports to Suggests to make rio installable on older R versions. (#104) - Migrated CSVY-related code to separate package (https://github.com/leeper/csvy/). (#111) - Fix import of European-style CSV files (sep = "," and sep2 = ";"). (#106, #107, h/t Stani Stadlmann) - Removed unnecessary error in xlsx imports. (#103, h/t Kevin Wright) - Noted new RStudio add-in, GREA, that uses rio. (#109) - Note unsupported NumPy i/o via RcppCNPy. (#112)

- R
Published by leeper almost 10 years ago

rio - Maintenance Release

This is a maintenance release with a few small bug fixes and the removal of support for importing SPSS portable files. - Removed support for import of SPSS Portable (.por) files, given deprecation from haven. (#100) - Fixed a bug in the handling of "labelled" class variables imported from haven caused by haven return "tbl_df" rather than "data.frame" class structures. (#102, h/t Pierre LaFortune) - Improved use of the sep argument for import of delimited files to allow override of defaults. (#99, h/t Danny Parsons) - Fixed a failing test of file compression that was found in v0.4.3 on some platforms. - Fixed other tests to remove (unimportant) warnings.

- R
Published by leeper about 10 years ago

rio -

This is a small maintenance release with some changes that probably should have made it into v0.4.

New Features

  • Support for feather. (#88, h/t Jason Becker)

Bug Fixes

  • Fixed behavior of gather_attrs() on a data.frame with no attributes to gather. (#94)
  • Removed unrecognized file format error for import from compressed files. (#93)

- R
Published by leeper about 10 years ago

rio - v0.4

New Features

Improved Attribute Handling

  • Attribute-handling behavior from v0.2 is restored, keeping attributes at the data.frame level. This has been made consistent across all import() methods to further increase consistency in the structure of imported data regardless of import method or file format. It also means import using haven = TRUE for SAS, Stata, and SPSS files should be inconsequential for data structure (compared to use of the "foreign" package) while retaining speed improvements. (#80)
  • Added a gather_attrs() function that moves variable-level attributes to the data.frame level. (#80)

Extension Mechanism

  • .import() and .export() are now exported S3 generics and documentation has been added to describe how to write rio extensions for new file types. An example of this functionality is shown in the new rio.db package. (#42, h/t Jason Becker)
  • When rio receives an unrecognized file format, it now issues a message. The new internal .import.default() and .export.default() then produce an error. This enables add-on packages to support additional formats through new s3 methods of the form .import.rio_EXTENSION() and .export.rio_EXTENSION().

New Format Support

  • Added support for import from and export to HTML tables (#86)
  • Added support for import from fixed-width format files via readr::read_fwf() with a specified widths argument. This may enable faster import of these types of files and provides a base-like interface for working with readr. (#48)
  • Added support for import from and export to yaml. (#83)
  • Export of CSVY files and metadata now supported by export(). (#73, #74)

Bug Fixes

  • Fixed a bug in import() (introduced in #62, 7a7480e5) that prevented import from clipboard. (h/t Kevin Wright)
  • Export to tar now tries to correct for bugs in tar() that are being fixed in base R via PR#16716.
  • export() returns a character string. (#82)
  • Fixed error in export to CSVY with a commented yaml header. (#81, h/t Andrew MacDonald)
  • Fixed a bug in import from remote URLs with incorrect file extensions.
  • Fixed a bug when reading from an uncommented CSVY yaml header that contained single-line comments. (#84, h/t Tom Aldenberg)

Miscellaneous Improvements

  • import() now uses xml2 to read XML structures and export() uses a custom method for writing to XML, thereby negating dependency on the XML package. (#67)
  • Enhancements were made to import and export of CSVY to store attribute metadata as variable-level attributes (like imports from binary file formats).
  • import() gains a which argument that is used to select which file to return from within a compressed tar or zip archive.
  • export() now allows automatic file compression as tar, gzip, or zip using the file argument (e.g., export(iris, "iris.csv.zip")).
  • Exporting factors to fixed-width format now saves those values as integer rather than numeric.
  • Expanded verbosity of export() for fixed-width format files and added a commented header containing column class and width information.
  • Expanded test suite and separated tests into format-specific files. (#51)
  • Diagnostic messages were cleaned up to facilitate translation. (#57)

- R
Published by leeper about 10 years ago

rio -

New Features

  • Added support for direct import from Google Sheets. (#60, #63, h/t Chung-hong Chan)
  • Use readxl for Excel file imports.
  • Support for import from CSVY files
  • Improved support for importing from compressed directories, especially web-based compressed directories. (#38)
  • New CONTRIBUTING.md describes how to contribute to the package.

Bug(-like) Fixes

  • Modified behavior so that files imported using haven now store variable metadata at the data.frame level by default (unlike the default behavior in haven, which can cause problems). (#37, h/t Ista Zahn)
  • Set a default numerical precision (of 2 decimal places) for export to fixed-width format.

Internal improvements

  • Added test suite to test file import, export, and conversion, including some small example files.
  • Setup message internationalization. Contributions of message translations are welcome.
  • Refactored remote file retrieval into separate (non-exported) function used by import(). (#62)
  • If file format for a remote file cannot be identified from the supplied URL or the final URL reported by curl::curl_fetch_memory(), the HTTP headers are checked for a filename in the Content-Disposition header. (#36)
  • Use urltools::url_parse() to extract file extensions from complex URLs (e.g., those with query arguments). (#56)
  • Added import dependency on data.table 1.9.5. (#39)

- R
Published by leeper over 10 years ago