On Mon, Feb 26, 2024 at 5:50 PM Christophe Dervieux <cd...@posit.co> wrote:
> Hi,
> I am trying to release a new version of the quarto R package. This new
> version is adding support for a new vignette engine that will use quarto
> CLI (https://quarto.org) when available. The vignettes inside the package
> itself are '.qmd' files built with quarto.
> While developing the feature, I noticed that R CMD check will query for
> vignette engines information, and it will find engine in already installed
> package (with `tools:::vignetteEngine`). So a package adding a new engine,
> and using this engine for its vignette only works when the package is
> installed before check.

This looks similar to https://bugs.r-project.org/show_bug.cgi?id=18191

Based on what I can see from the public cran incoming files [1,2], I
suspect the Debian check is loading the CRAN version of quarto (1.3),
rather than the one being checked (1.4), to test vignettes. As a
result it does not recognize the new qmd type vignettes introduced in
this version.

If this is indeed the case, the problem will resolve itself once the
submission is approved.

 [1] https://cran.r-project.org/incoming/archive/quarto_1.4.tar.gz

R-package-devel@r-project.org mailing list

Reply via email to