-
Notifications
You must be signed in to change notification settings - Fork 31
Closed as duplicate of#112
Description
get_quarto_version() (which is called from platform_info()) generates an error:
sessioninfo:::get_quarto_version()
#> Warning in system2("quarto", "-V", stdout = TRUE, env = paste0("TMPDIR=", :
#> running command '"quarto"
#> TMPDIR=C:/Users/jonth/AppData/Local/Temp/RtmpmaXeax/file191d0fa62294 -V' had
#> status 1
#> [1] "NA @ C:\\PROGRA~1\\Quarto\\bin\\quarto.exe"Created on 2026-01-26 with reprex v2.1.1
I'm not sure whether that's Windows-only, but I'm also not sure what the TMPDIR environment variable is supposed to be doing in general... and, from the error + some other experimentation, I'm not entirely confident that system2() is doing the right thing with that env arg.
system2("quarto", "-V", stdout = TRUE)[[1]] gets the desired result for me.
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
No labels