[Bioc-devel] macOS auto build fails with "graphics API version mismatch"
hp@ge@@on@g|thub @end|ng |rom gm@||@com
Tue Mar 22 21:23:24 CET 2022
On 21/03/2022 03:53, Matteo Tiberti wrote:
> Dear all,
> I'm looking into the build failure of our MoonlightR package on merida1 (macOS). It fails because vignettes fail to compile:
> Quitting from lines 532-546 (Moonlight.Rmd)
> Error: processing vignette 'Moonlight.Rmd' failed with diagnostics:
> Graphics API version mismatch
> --- failed re-building �Moonlight.Rmd�
> The error refers to a function call that is supposed to generate an image file for the vignette using ggsave.
> I have installed R-devel on macOS 10.15.7 and I am trying to replicate the error, but it seems to build correctly on my system. I've done some searching and I suspect that packages that use the graphics API need to be recompiled on the build system since the API version changed with R 4.2. Do you think this might be the case and, if so, should I wait for this to be fixed on merida?
This should have been taken care of now. Let us know if you still see
this error on tomorrow's report.
> Notice that MoonlightR also doesn't build on Windows now because of an unrelated issue with a dependency
Looks like it's gone on today's report :-)
BTW can you please remove MoonlightR/vignettes/Moonlight.html from the
git repo of your package? The HTML vignette is automatically generated
by 'R CMD build' and added to the resulting source tarball. As such it
should not be pre-compiled and included in the package source tree.
FWIW I get the following problem when running 'R CMD Stangle' on the
hpages using spectre:~/MoonlightR/vignettes$ R CMD Stangle Moonlight.Rmd
Warning: The closing backticks on line 669 (" ```") in Moonlight.Rmd
do not match the opening backticks "```" on line 667. You are
recommended to fix either the opening or closing delimiter of the code
chunk to use exactly the same numbers of backticks and same level of
indentation (or blockquote).
Output file: Moonlight.R
Maybe you want to look into this.
> Thank you,
> Matteo Tiberti
> Danish Cancer Society
> Strandboulevarden 49
> DK-2100 Copenhagen
> Telephone: +45 35 25 73 07
> www.cancer.dk<https://www.cancer.dk/international/> | Vores privatlivspolitik<https://www.cancer.dk/om-os/privatlivspolitik/>
> [[alternative HTML version deleted]]
> Bioc-devel using r-project.org mailing list
Bioconductor Core Team
hpages.on.github using gmail.com
More information about the Bioc-devel