Skip to content

Use readr::write_*(file =) instead of path#59

Merged
cboettig merged 3 commits into
ropensci:masterfrom
jennybc:use-readr-file-not-path
Nov 20, 2025
Merged

Use readr::write_*(file =) instead of path#59
cboettig merged 3 commits into
ropensci:masterfrom
jennybc:use-readr-file-not-path

Conversation

@jennybc

@jennybc jennybc commented Nov 20, 2025

Copy link
Copy Markdown
Member

The path argument will be removed from readr::write_*() in its next release. It has been deprecated for over 5 years, since readr 1.4.0 (2020-01-31). Since that time, any path value has just been passed along as file, which is what this PR does.

This is part of a bigger effort to advance a bunch of deprecation processes that started 4+ years ago: tidyverse/readr#1600. I released readr v2.1.6 on 2025-11-14 and have no immediate plans for another release. I just wanted to advanced these deprecations right away, to give downstream dependencies plenty of time to adjust.

I am also sending an email to the maintainer listed in DESCRIPTION.

Comment thread R/streamable_table.R
Comment on lines +83 to +84
write <- function(x, file, omit_header = FALSE) {
write_tsv(x = x, file = file, append = omit_header)

Copy link
Copy Markdown
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I imagine I'll make similar changes in vroom soon. Same deal.

@cboettig cboettig merged commit 41fd280 into ropensci:master Nov 20, 2025
5 checks passed
@cboettig

Copy link
Copy Markdown
Member

lovely, thanks for this!

(I think duckdb's capabilities, including extensions to older SQL backends, have made arkdb mostly irrelevant these days, but happy to keep it alive all the same.)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants