When using attachment::att_amend_desc() with a Quarto vignette (.qmd), the function ignores the file extension, and automatically adds {rmarkdown} and removes {quarto} to/from Suggests, even when the vignette clearly uses Quarto.
> attachment::att_amend_desc()
Documentation parameters were restored from attachment config file.
Updating test.att.quarto documentation
ℹ Loading test.att.quarto
ℹ Loading test.att.quarto
[-] 1 package(s) removed: quarto.
[+] 1 package(s) added: rmarkdown.
Fortunately, there is a workaround via the config file:
extra.suggests: quarto
pkg_ignore: rmarkdown
Should it be possible for att_amend_desc() to detect .qmd vignettes and avoid adding {rmarkdown} and removing {quarto} in such cases?
Thanks for considering this issue, and for providing this function, which is really helpful!