[R-pkg-devel] CRAN checks for release of a package with new vignette engine

Christophe Dervieux cderv @end|ng |rom po@|t@co
Tue Feb 27 21:21:21 CET 2024


Thank you.

I wasn't aware of this bug report [1] but definitely what I
encountered while working on the feature, and for CI testing.

My understanding is similar to Jeroen, and I believe it will solve
itself once the new version is made available.

Is the following step to reply to the CRAN teams after automated
checks to explain the situation ?

Christophe

[1] https://bugs.r-project.org/show_bug.cgi?id=18191

On Mon, Feb 26, 2024 at 9:28 PM Jeroen Ooms <jeroenooms using gmail.com> wrote:
>
> On Mon, Feb 26, 2024 at 5:50 PM Christophe Dervieux <cderv using 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
>  [2] https://win-builder.r-project.org/incoming_pretest/quarto_1.4_20240221_175256/



More information about the R-package-devel mailing list