is_using_quarto {quarto} | R Documentation |
Check is a directory is using quarto
Description
This function will check if a directory is using quarto by looking for
-
_quarto.yml
at its root at least one
.qmd
file in the directory
Usage
is_using_quarto(dir = ".", verbose = FALSE)
Arguments
dir |
The directory to check |
verbose |
print message about the result of the check |
Examples
dir.create(tmpdir <- tempfile())
is_using_quarto(tmpdir)
file.create(file.path(tmpdir, "_quarto.yml"))
is_using_quarto(tmpdir)
unlink(tmpdir, recursive = TRUE)
[Package quarto version 1.4.4 Index]