Skip to content
Prev 7919 / 12125 Next

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

Am 05.04.22 um 18:00 schrieb Ben Bolker:
I wasn't able to reproduce the build failure, but the reported vignette 
engine seems to be wrong. Indeed, there was an old (2013) bug in 
tools::pkgVignettes() that caused the reported engine in that error 
message to *always* be 'utils::Sweave'. I have just fixed that in 
R-devel (c82097, also ported to R-alpha, to be rebuilt in a few hours) 
but that won't solve the build failure itself.

The build failure most likely comes from

     # Rescan for weave and tangle output files
     vigns <- pkgVignettes(dir = '.', output = TRUE, source = TRUE)

after "successful" (only in the sense of not throwing an error) 
'buildVignettes(dir = '.', tangle = TRUE)', where 'dir' is the package 
source directory. Running these commands (from library("tools")) 
interactively should help debugging the problem at your end. From the 
error message it seems that buildVignettes() did not produce any output 
files.

	Sebastian Meyer