This function will check if a directory is using quarto by looking for
_quarto.yml
at its rootat least one
.qmd
file in the directory
Examples
dir.create(tmpdir <- tempfile())
is_using_quarto(tmpdir)
#> [1] FALSE
file.create(file.path(tmpdir, "_quarto.yml"))
#> [1] TRUE
is_using_quarto(tmpdir)
#> [1] TRUE
unlink(tmpdir, recursive = TRUE)