You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Commit 6a33f3b changed the behavior of local_tempfile without adding an example, and the examples of with_tempfile. The new example does not even make sense.
# Check how big iris would be if written as csv vs RDS
with_tempfile("tf", {write.csv(iris, tf); file.size(tf)})
tf<- local_tempfile()
saveRDS(iris, tf)
file.size(tf)
# Example using linestf<- local_tempfile(lines= c("TITLE extra line", "2 3 5 7", "", "11 13 17"))
readLines(tf, n=-1)
The text was updated successfully, but these errors were encountered:
Commit 6a33f3b changed the behavior of
local_tempfile
without adding an example, and the examples ofwith_tempfile
. The new example does not even make sense.I think the examples here:
withr/R/tempfile.R
Line 11 in bd97d3a
should be:
The text was updated successfully, but these errors were encountered: