This is a recent R-devel. file.copy() is not vectorized if multiple
destinations succeed:
cat("foo1\n", file = "foo1")
cat("foo2\n", file = "foo2")
unlink(c("copy1", "copy2"), recursive = TRUE)
file.copy(c("foo1", "foo2"), c("copy1", "copy2"), copy.date = TRUE)
#> Error in Sys.setFileTime(to[oka
Thank you for the report and initial debugging. I am not sure what is
going wrong, we may have to rely on your help to debug this (I do not
have a system to reproduce on). A user-targeted advice would be to use
RGui (Rgui.exe).
Does the problem also exist in R-devel?
https://cran.r-project.org