Skip to content

bug: compile_qmd_course() doesn't work if we compile outside of tempdir #11

Description

@ColinFay

Description

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

## Quarto is cool.", i)
  )
}

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

> browseURL(html_file)
Error in browser(if (encodeIfNeeded) URLencode(url) else url) : 
  File not exists

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