Skip to content
Prev 17996 / 21312 Next

[Bioc-devel] Reference inst/extdata files in vignette

Hi Alan,
On 4/22/21 3:54 AM, alan murphy wrote:
This works fine (with MungeSumstats 0.99.11 from 
https://git.bioconductor.org/packages/MungeSumstats).

What error do you see and where do you see it?

One error I get on my machine is this one:

hpages at spectre:~/sandbox$ bdevbuild MungeSumstats
* checking for file ?MungeSumstats/DESCRIPTION? ... OK
* preparing ?MungeSumstats?:
* checking DESCRIPTION meta-information ... OK
* installing the package to build vignettes
* creating vignettes ... ERROR
--- re-building ?MungeSumstats.Rmd? using knitr
Error: processing vignette 'MungeSumstats.Rmd' failed with diagnostics:
It seems you should call rmarkdown::render() instead of 
knitr::knit2html() because MungeSumstats.Rmd appears to be an R Markdown 
v2 document.
--- failed re-building ?MungeSumstats.Rmd?

SUMMARY: processing the following file failed:
   ?MungeSumstats.Rmd?

Error: Vignette re-building failed.
Execution halted

Note that you won't necessarily get that error on our builders (because 
we use a more forgiving version of knitr there) but it still something 
that would need to be addressed.

Best,
H.