Description
Hello!
The new speed is great with version 2.0.0. Thank you guys for all you do for the R community.
I've noticed across a few command checks unexpected issues with using readr
, especially with tempfiles on Windows. For example, PL94171, which we are submitting an update using lazy = FALSE
. We see a similar issue within the redist
package where a tempfile is written and can't be overwritten once opened with readr
. (That particular test is skipped on CRAN because it's time consuming.)
After some looking around, I found that this is explained and expected, see the readr 2.0.0 post
I was wondering if you would ever consider setting lazy = FALSE
by default if it's a Windows machine. One approach could be a simple function, like the following:
is_windows <- function() {
Sys.info()[['sysname']] == 'Windows'
}
Then the default for lazy
would be lazy = !is_windows()
I understand if this type of change could cause other concerns, so feel free to disregard it.
Thanks,
Chris
This is loosely related to #1263.