Commit a052220
committed
Fix quarto inspect emitting project for standalone files in RStudio
Current RStudio releases assume project.dir in quarto inspect output
implies a _quarto.yml exists. Since f6a0f89 (v1.9.35), standalone
files always get a project context for engine extension resolution,
which causes inspect to emit project.dir for standalone files. RStudio
then adds _quarto.yml to the deploy list, file.info() returns NA, and
the publishing wizard crashes.
Gate the project emission on !(isSingleFile && isRStudio()) so current
RStudio releases continue to work. The RStudio-side fix is in
rstudio/rstudio#17336.
Fixes rstudio/rstudio#173331 parent 7718ad7 commit a052220
1 file changed
+4
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| 52 | + | |
52 | 53 | | |
53 | 54 | | |
54 | 55 | | |
| |||
238 | 239 | | |
239 | 240 | | |
240 | 241 | | |
241 | | - | |
| 242 | + | |
| 243 | + | |
| 244 | + | |
242 | 245 | | |
243 | 246 | | |
244 | 247 | | |
| |||
0 commit comments