Skip to content

Defend against incorrect QUARTO_R - #14790

Merged
cderv merged 2 commits into
mainfrom
bugfix/quarto-r-missing
Aug 24, 2026
Merged

cderv merged 2 commits into
mainfrom
bugfix/quarto-r-missing

Conversation

@jmcphers

Copy link
Copy Markdown
Contributor

In the Positron discussion posit-dev/positron#15614, a user was unable to use Quarto due to a malformed QUARTO_R path; the exception that fires if QUARTO_R is malformed is never caught so it crashes Quarto.

This extremely minor change prevents a bad QUARTO_R from crashing Quarto so that a fallback R can be used.

@jmcphers
jmcphers requested a review from cderv August 20, 2026 18:19
@posit-snyk-bot

posit-snyk-bot commented Aug 20, 2026 •

Copy link
Copy Markdown
Collaborator

✅ Snyk checks have passed. No issues have been found so far.

Status Scan Engine Critical High Medium Low Total (0)
✅ Open Source Security 0 0 0 0 0 issues
✅ Licenses 0 0 0 0 0 issues

💻 Catch issues earlier using the plugins for VS Code, JetBrains IDEs, Visual Studio, and Eclipse.

@cderv cderv left a comment

Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you !

Comment thread news/changelog-1.11.md Outdated
@cderv
cderv merged commit 62fae56 into main Aug 24, 2026
2 of 10 checks passed
@cderv
cderv deleted the bugfix/quarto-r-missing branch August 24, 2026 11:54
cderv added a commit that referenced this pull request Sep 2, 2026
Line was citing #14735 (a different fix, already correctly cited on
the knitr cache-globals entry above it). The QUARTO_R crash fix in
#14790 is a duplicate of #14775; link that instead.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

A malformed QUARTO_R crashes rBinaryPath instead of falling back, and the crash re-triggers inside the error reporter

3 participants