powered by
This function will check if a directory is using quarto by looking for
_quarto.yml at its root
_quarto.yml
at least one .qmd file in the directory
.qmd
is_using_quarto(dir = ".", verbose = FALSE)
The directory to check
print message about the result of the check
dir.create(tmpdir <- tempfile()) is_using_quarto(tmpdir) file.create(file.path(tmpdir, "_quarto.yml")) is_using_quarto(tmpdir) unlink(tmpdir, recursive = TRUE)
Run the code above in your browser using DataLab