Skip to content
Back to formatted view

Raw Message

Message-ID: <CAAs3ibtS+oMtEZU35heBV+=1o9Lc=erDhL9=OKGd=Y_8c9L=tg@mail.gmail.com>
Date: 2024-02-27T20:21:21Z
From: Christophe Dervieux
Subject: [R-pkg-devel] CRAN checks for release of a package with new vignette engine
In-Reply-To: <CABFfbXuG2h4J3NkNLNPYYzgbo5BAVnP9F_j+Gngv5E4B9VKTNQ@mail.gmail.com>

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 at gmail.com> wrote:
>
> On Mon, Feb 26, 2024 at 5:50?PM Christophe Dervieux <cderv at 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/