Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Quarto: 'Run [chunks] above' does not work reliably #4231

Closed
madschnun461 opened this issue Aug 4, 2024 · 8 comments
Closed

Quarto: 'Run [chunks] above' does not work reliably #4231

madschnun461 opened this issue Aug 4, 2024 · 8 comments
Assignees

Comments

@madschnun461
Copy link

System details: MacOS 14.6

Positron and OS details: 2024.07.0 (Universal) build 125

Interpreter details: R 4.4.1

Describe the issue:

I’m working in a Quarto file with R chunks. Rendering works fine; all commands run without any errors. However, while working in the Quarto file, the ‘run above’ functionality does not work properly; chunks are not executed from the beginning or in the correct order, leading to errors.

I have no issues with this function for the same Quarto file when working in RStudio.

Quarto version: 1.5.56 (also had the issue with the prior version)

@madschnun461 madschnun461 changed the title Quarto: 'Run [chunks] above' does not work reliable Quarto: 'Run [chunks] above' does not work reliably Aug 4, 2024
@juliasilge
Copy link
Contributor

I believe this is the same as #4068. Want to take a look and see if you have anything additional to add there?

@DavisVaughan
Copy link
Contributor

It's helpful to know about this, because it makes me think the problem isn't in the Statement Range provider code. This now smells like an issue in our code execution queue system

@juliasilge
Copy link
Contributor

We'll be tracking further in #4068. Thanks!

@DavisVaughan
Copy link
Contributor

@lionel- and I have been investigating this and it turns out to be a separate issue from #4068 and we are going to do a Quarto PR to resolve it.

@DavisVaughan DavisVaughan reopened this Aug 6, 2024
@DavisVaughan DavisVaughan added this to the 2024.09.0 Pre-Release milestone Aug 6, 2024
@DavisVaughan DavisVaughan self-assigned this Aug 6, 2024
@madschnun461
Copy link
Author

Many thanks for this! Greatly appreciated!

@DavisVaughan
Copy link
Contributor

Quarto PR has been merged, we need a Quarto release now quarto-dev/quarto#510

@juliasilge
Copy link
Contributor

v1.115.0 of the Quarto extension is now published so we should be able to validate this fix in Positron. There are some notes in quarto-dev/quarto#509.

@testlabauto
Copy link
Contributor

Verified Fixed

Positron Version(s) : 
OS Version          : OSX

Test scenario(s)

Run above from the bottom of the following works as expected:


title: "Untitled"
format: html

library(tidyverse)
library(phyloseq)
library(decontam)
x <- 1
y <- x
z <- y
a <- z

Link(s) to TestRail test cases run or created:

@github-actions github-actions bot locked as resolved and limited conversation to collaborators Oct 11, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants