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

Changes in included files don't trigger re-execution when freeze: auto is set #6793

Open
mine-cetinkaya-rundel opened this issue Sep 10, 2023 · 1 comment
Labels
bug Something isn't working freeze issues with the `freeze` feature
Milestone

Comments

@mine-cetinkaya-rundel
Copy link

Bug description

If you set freeze: auto at the project level, changes in included .qmd files don't trigger re-execution. It seems like change must happen in one of the files listed in _quarto.yml for re-execution to be triggered.

Steps to reproduce

You can see this behavior in the commit history of https://github.com/mine-cetinkaya-rundel/freeze-include.

Alternatively, steps below.

  1. Create a book project and add a .qmd file that is included in a chapter with the {{< include >}} short code, e.g. _section.qmd to be included with {{< include _section.qmd >}}.
  2. Set freeze: auto at the project level in _quarto.yml.
  3. Render the project.
  4. Then, make a change in _section.qmd. Render book. Changes aren't in the rendered output.
  5. Them, make a change in the chapter file. Render book. Changes are now reflected in the rendered output.

Expected behavior

I would have expected changes in the included file to trigger re-execution.

Actual behavior

They do not trigger re-execution.

Your environment

  • RStudio: 2023.09.0 Build 380
  • Mac OS: Ventura 13.5 (22G74)

Quarto check output

Quarto 1.4.346
[✓] Checking versions of quarto binary dependencies...
      Pandoc version 3.1.6: OK
      Dart Sass version 1.55.0: OK
      Deno version 1.33.4: OK
[✓] Checking versions of quarto dependencies......OK
[✓] Checking Quarto installation......OK
      Version: 1.4.346
      Path: /Applications/quarto/bin

[✓] Checking tools....................OK
      TinyTeX: v2023.08
      Chromium: (not installed)

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

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

[✓] Checking Python 3 installation....OK
      Version: 3.9.6
      Path: /Library/Developer/CommandLineTools/usr/bin/python3
      Jupyter: 5.3.0
      Kernels: python3

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

[✓] Checking R installation...........OK
      Version: 4.3.1
      Path: /Library/Frameworks/R.framework/Resources
      LibPaths:
        - /Library/Frameworks/R.framework/Versions/4.3-arm64/Resources/library
      knitr: 1.43
      rmarkdown: 2.24

[✓] Checking Knitr engine render......OK
@mine-cetinkaya-rundel mine-cetinkaya-rundel added the bug Something isn't working label Sep 10, 2023
@mcanouil
Copy link
Collaborator

mcanouil commented Sep 11, 2023

Thanks for the report!

I believe this, in some aspects, to be a duplicate of:

Note that this might get worked on with the following work:

@dragonstyle dragonstyle added this to the v1.5 milestone Nov 28, 2023
@cscheid cscheid added the freeze issues with the `freeze` feature label Jun 17, 2024
@cscheid cscheid modified the milestones: v1.5, Future Jun 17, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working freeze issues with the `freeze` feature
Projects
None yet
Development

No branches or pull requests

4 participants