quarto_available | R Documentation |
This function allows to test if Quarto is available and meets version requirement, a min, max or in between requirement.
quarto_available(min = NULL, max = NULL, error = FALSE)
min |
Minimum version expected. |
max |
Maximum version expected |
error |
If |
If min
and max
are provided, this will check if Quarto version is
in-between two versions. If non is provided (keeping the default NULL
for
both), it will just check for Quarto availability version and return FALSE
if not found.
logical. TRUE
if requirement is met, FALSE
otherwise.
# Is there an active version available ?
quarto_available()
# check for a minimum requirement
quarto_available(min = "1.5")
# check for a maximum version
quarto_available(max = "1.6")
# only returns TRUE if Pandoc version is between two bounds
quarto_available(min = "1.4", max = "1.6")
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.