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

Uwe Ligges ||gge@ @end|ng |rom @t@t|@t|k@tu-dortmund@de
Mon Mar 4 16:40:21 CET 2024


So you have defined


   VignetteBuilder: quarto

??

Best,
Uwe

On 26.02.2024 21:28, Jeroen Ooms 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/
> 
> ______________________________________________
> R-package-devel using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-package-devel


More information about the R-package-devel mailing list