Skip to content

Quarto does not preserve the render order mentioned in _quarto.yaml #10714

@AliSajid

Description

@AliSajid

Bug description

Previously, under the 1.4 release, it was possible to control the order of execution of the qmd files by specifying them as an array in the metadata.

This is no longer possible with the versions going from 1.5 onwards. Controlling order of execution is important as evidenced by issues like #10463 , #10490, and this discussion.

Steps to reproduce

https://github.com/maxdrohde/quarto_render_order

Expected behavior

Specifying the order should render documents in order.

Actual behavior

The files are executed in arbitrary order.

Your environment

  • IDE: Neovim
    • NVIM v0.10.1
    • Build type: Release
    • LuaJIT 2.1.1724512491
  • OS: macos Sonoma 14.3.1

Quarto check output

Quarto 1.5.557
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.11: OK
      Dart Sass version 1.69.5: OK
      Deno version 1.37.2: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.5.57
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: (external install)
      Chromium: (not installed)

[✓] Checking LaTeX....................OK
      Using: TinyTex
      Path: /Users/aimami/Library/TinyTeX/bin/universal-darwin
      Version: 2022

[✓] Checking basic markdown render....OK

[✓] Checking Python 3 installation....OK
      Version: 3.12.5
      Path: /Users/aimami/.local/share/mise/installs/python/3.12/bin/python3
      Jupyter: (None)

      Jupyter is not available in this Python installation.
      Install with python3 -m pip install jupyter

[✓] Checking R installation...........OK
      Version: 4.4.1
      Path: /opt/homebrew/Cellar/r/4.4.1/lib/R
      LibPaths:
        - /Users/aimami/Library/Caches/org.R-project.R/R/renv/library/drugfindR-edc455ab/macos/R-4.4/aarch64-apple-darwin23.4.0
        - /Users/aimami/Library/Caches/org.R-project.R/R/renv/sandbox/macos/R-4.4/aarch64-apple-darwin23.4.0/8b0c8122
      knitr: 1.47
      rmarkdown: 2.26

[✓] Checking Knitr engine render......OK

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingprojects

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions