Closed trevorld closed 2 years ago
@trevorld Thanks for that well-explained PR.
I no longer fully remember why I put the paste( collapse = "\n")
in there, but think I did have a reason. Since it's doing no harm, and may have been used to handle some exceptional circumstance, I'll leave it in there.
system2(command, args = args, stdout = TRUE, stderr = FALSE)
returns version number as intended.system2(command, args = args, stderr = FALSE)
returns0
(since command didn't fail) and prints out version number even ifquiet = TRUE
. Noteas.numeric(0)
still successfully casts as a numeric so wasn't throwing an error...paste( collapse = "\n")
but I assume you had a reason (for Windows?)