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

engine: should be respected globally at the _quarto.yml level #3157

Open
4 tasks done
Tracked by #8700
jthomasmock opened this issue Nov 3, 2022 · 1 comment
Open
4 tasks done
Tracked by #8700

engine: should be respected globally at the _quarto.yml level #3157

jthomasmock opened this issue Nov 3, 2022 · 1 comment
Assignees
Labels
bug Something isn't working computations
Milestone

Comments

@jthomasmock
Copy link

jthomasmock commented Nov 3, 2022

Bug description

In the _quarto.yml file, setting engine: knitr or any variants (jupyter: python3, etc) should apply as the default for any files unless modified in the subsequent file's YAML.

On M1 Pro Mac running MacOS Monteray.

Using RStudio Version 2022.12.0-preview+303 (2022.12.0-preview+303)

Quarto v1.2.242

Reprex:

  1. Create a project
quarto create-project test-engine
  1. Set engine: knitr in the _quarto.yml
project:
  type: website

website:
  title: "test-engine"
  navbar:
    left:
      - href: index.qmd
        text: Home
      - about.qmd

format:
  html:
    theme: cosmo
    css: styles.css
    toc: true

engine: knitr #<- this is the change
  1. Change a chunk in the index.qmd to python:
```{python}
1+1
```
  1. quarto render

The render of index.qmd is executed within a Jupyter kernel instead of knitr + reticulate even with the engine: knitr set at global/_quarto.yml level.

The correct behavior would be to use knitr since that is set at the global level.

Checklist

  • Please include a minimal, fully reproducible example in a single .qmd file? Please provide the whole file rather than the snippet you believe is causing the issue.
  • Please format your issue so it is easier for us to read the bug report.
  • Please document the RStudio IDE version you're running (if applicable), by providing the value displayed in the "About RStudio" main menu dialog?
  • Please document the operating system you're running. If on Linux, please provide the specific distribution.
@cderv
Copy link
Collaborator

cderv commented Jul 26, 2024

For future us, when this is done we need to update our website regarding Julia engine limitation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working computations
Projects
None yet
Development

No branches or pull requests

4 participants