[R-pkg-devel] rmarkdown vignette build failures?

Ben Bolker bbo|ker @end|ng |rom gm@||@com
Tue Apr 5 20:10:57 CEST 2022


   Follow-up: the problem goes away if I revert from SVN r82094 to 
r81000.  Will try some more bisection ...

On 4/5/22 12:00 PM, Ben Bolker wrote:
>    I'm sure I'm doing something silly, but I've recently started having 
> a problem building vignettes (with R Under development (unstable) 
> (2022-04-05 r82094) -- "Unsuffered Consequences")
> 
>    Is anyone else seeing this?
> 
> $ R CMD build broom.mixed
> * checking for file ‘broom.mixed/DESCRIPTION’ ... OK
> * preparing ‘broom.mixed’:
> * checking DESCRIPTION meta-information ... OK
> * installing the package to build vignettes
> * creating vignettes ...Error in find_vignette_product(name, by = 
> "weave", dir = docdir, engine = engine) :
>    Failed to locate ‘weave’ output file ‘broom_mixed_intro.pdf’ or 
> ‘broom_mixed_intro.html’ for vignette with name ‘broom_mixed_intro’ and 
> engine ‘utils::Sweave’. The following files exist in working directory 
> ‘/tmp/Rtmp7rjAe4/Rbuild3978f3146b8cd8/broom.mixed/vignettes’: 
> ‘broom_mixed_intro.rmd’ (6322 bytes)
> Execution halted
> 
>    The weird thing here is that I don't see why R is trying to use 
> utils::Sweave ?  The DESCRIPTION file has VignetteBuilder: knitr and the 
> head of the vignette file has
> 
> vignette: >
>    %\VignetteIndexEntry{introduction to broom.mixed}
>    %\VignetteEngine{knitr::rmarkdown}
>    \usepackage[utf8]{inputenc}
> 
>   ...
> 
>   I could swear this used to work ...
> 
>    cheers
>    Ben Bolker
> 
> 
> 
> 

-- 
Dr. Benjamin Bolker
Professor, Mathematics & Statistics and Biology, McMaster University
Director, School of Computational Science and Engineering
(Acting) Graduate chair, Mathematics & Statistics



More information about the R-package-devel mailing list