Skip to content

rio

A Swiss-Army Knife for Data I/O

v1.3.0 · Apr 2, 2026 · GPL-2

Description

Streamlined data import and export by making assumptions that the user is probably willing to make: 'import()' and 'export()' determine the data format from the file extension, reasonable defaults are used for data import and export, web-based import is natively supported (including from SSL/HTTPS), compressed files can be read directly, and fast import packages are used where appropriate. An additional convenience function, 'convert()', provides a simple method for converting between file types.

Downloads

46.3K

Last 30 days

536th

145.8K

Last 90 days

618.5K

Last year

Trend: +4.5% (30d vs prior 30d)

CRAN Check Status

1 ERROR
1 NOTE
12 OK
Show all 14 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang ERROR
r-devel-linux-x86_64-fedora-gcc OK
r-devel-macos-arm64 OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 NOTE
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK
Check details (2 non-OK)
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [36s/75s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("rio")
  > test_check("rio", reporter = "summary")
  characterize: 
  characterize()/factorize(): ......
  check_file: ....................................
  compress: 
  Compressed files: ......  adding: file26e87457abeee.csv (deflated 78%)
  ...........................  adding: mtcars1.csv (deflated 48%)
    adding: mtcars2.csv (deflated 50%)
    adding: mtcars3.csv (deflated 47%)
  .................  adding: file26e876d247ecd.xlsx (deflated 11%)
  ...../usr/bin/gtar: NA: Not found in archive
  /usr/bin/gtar: Exiting with failure status due to previous errors
  .../usr/bin/gtar: NA: Not found in archive
  /usr/bin/gtar: Exiting with failure status due to previous errors
  .../usr/bin/gtar: NA: Not found in archive
  /usr/bin/gtar: Exiting with failure status due to previous errors
  .../usr/bin/gtar: NA: Not found in archive
  /usr/bin/gtar: Exiting with
...[truncated]...
rted_formats (in the partial supported environment) on CI ('test_suggestions.R:22:5') - Reason: On CRAN
  
  ══ Failed ══════════════════════════════════════════════════════════════════════
  ── 1. Error ('test_import_list.R:203:13'): Universal dummy `which` (Suggests) #3
  Error: Suggested package `nanoparquet` is not available. Please install it individually or use `install_formats()`
  Backtrace:
      ▆
   1. └─withr::with_tempfile(...) at test_import_list.R:202:9
   2.   └─base::eval(substitute(code), envir = env)
   3.     └─base::eval(substitute(code), envir = env)
   4.       └─rio::export(mtcars, tempzip, format = format) at test_import_list.R:203:13
   5.         ├─rio:::.export(file = file, x = x, ...)
   6.         └─rio:::.export.rio_parquet(file = file, x = x, ...)
   7.           └─rio:::.check_pkg_availability("nanoparquet")
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  Keep trying!
  Error:
  ! Test failures.
  Execution halted
NOTE r-patched-linux-x86_64

Rd cross-references

Unknown package ‘qs’ in Rd xrefs

Check History

ERROR 10 OK · 3 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 3, 2026
NOTE r-devel-linux-x86_64-debian-clang

Rd cross-references

Unknown package ‘qs’ in Rd xrefs
ERROR r-devel-linux-x86_64-fedora-clang

tests

Running ‘testthat.R’ [36s/94s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library("testthat")
  > library("rio")
  > test_check("rio", reporter = "summary")
  characterize: 
  characterize()/factorize(): ......
  check_file:
...[truncated]...
  └─rio:::.export.rio_parquet(file = file, x = x, ...)
   7.           └─rio:::.check_pkg_availability("nanoparquet")
  
  ══ DONE ════════════════════════════════════════════════════════════════════════
  Error:
  ! Test failures.
  Execution halted
NOTE r-patched-linux-x86_64

Rd cross-references

Unknown package ‘qs’ in Rd xrefs
NOTE r-release-linux-x86_64

Rd cross-references

Unknown package ‘qs’ in Rd xrefs
NOTE 8 OK · 6 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026
NOTE r-devel-linux-x86_64-debian-clang

Rd cross-references

Unknown package ‘qs’ in Rd xrefs
NOTE r-devel-linux-x86_64-debian-gcc

Rd cross-references

Unknown package ‘qs’ in Rd xrefs
NOTE r-devel-linux-x86_64-fedora-clang

Rd cross-references

Unknown package ‘qs’ in Rd xrefs
NOTE r-devel-linux-x86_64-fedora-gcc

Rd cross-references

Unknown package ‘qs’ in Rd xrefs
NOTE r-patched-linux-x86_64

Rd cross-references

Unknown package ‘qs’ in Rd xrefs
NOTE r-release-linux-x86_64

Rd cross-references

Unknown package ‘qs’ in Rd xrefs

Reverse Dependencies (49)

Dependency Network

Dependencies Reverse dependencies foreign haven curl data.table readxl tibble writexl lifecycle R.utils readr AdverseEvents DistPlotter ExPanDaR ISRaD NormalityAssessment PRISMA2020 StatTeacherAssistant allMT bidser blockr.io boxr bruceR childfree cloudstoR datamods +34 more reverse deps rio

Version History

updated 1.3.0 ← 1.2.4 diff Apr 2, 2026
new 1.2.4 Mar 10, 2026
updated 1.2.4 ← 1.2.3 diff Sep 26, 2025
updated 1.2.3 ← 1.2.2 diff Sep 24, 2024
updated 1.2.2 ← 1.2.1 diff Aug 18, 2024
updated 1.2.1 ← 1.2.0 diff Jul 26, 2024
updated 1.2.0 ← 1.1.1 diff Jul 23, 2024
updated 1.1.1 ← 1.1.0 diff Jun 4, 2024
updated 1.1.0 ← 1.0.1 diff May 22, 2024
updated 1.0.1 ← 1.0.0 diff Sep 18, 2023
updated 1.0.0 ← 0.5.30 diff Sep 14, 2023
updated 0.5.30 ← 0.5.29 diff Aug 28, 2023
updated 0.5.29 ← 0.5.27 diff Nov 21, 2021
updated 0.5.27 ← 0.5.26 diff Jun 20, 2021
updated 0.5.26 ← 0.5.16 diff Feb 28, 2021
updated 0.5.16 ← 0.5.15 diff Nov 25, 2018
updated 0.5.15 ← 0.5.10 diff Nov 24, 2018
updated 0.5.10 ← 0.5.9 diff Mar 28, 2018
updated 0.5.9 ← 0.5.5 diff Jan 31, 2018
updated 0.5.5 ← 0.5.0 diff Jun 17, 2017