Skip to content

bug: squash::compile_qmd_course delete files that shouldn't be deleted #16

Description

@ColinFay

Description

Given the following _quarto.yml :

project:
  pre-render:
    - touch coucou.csv

coucou.csv is created by the quarto rendering, but suppressed on exit

for (i in 1:5){
  write(file = sprintf("test%s.qmd", i),
        sprintf("---
title: 'test%s'
---

## Quarto is cool", i)
  )
}

list.files(pattern = "\\.qmd$", full.names = TRUE, recursive = TRUE) |>
  squash::compile_qmd_course(
    output_dir = "mycoursehere",
    output_html = "complete_course.html"
  )

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions