Open mtmorgan opened 4 years ago
This issue is also causing build errors on biomaRt, BiocWorkflowTools, DiscoRhythm and likely many others using knitr::include_graphics().
Reported as a knitr issue with an example that removes BiocStyle from the equation.
Thanks for reporting these two issues ^^
It's been affecting derfinder
, recount
and other BioC packages I made. Since it looks fixed on the knitr
side, I guess this one can be closed too.
Although the fix will only become effective once the fixed version of knitr makes it to CRAN. I don't know how long this will take.
We could edit our DESCRIPTION files with
remotes: yihui/knitr
as detailed at https://stackoverflow.com/questions/30493388/create-an-r-package-that-depends-on-another-r-package-located-on-github. Though maybe it makes more sense to edit BiocStyle
's DESCRIPTION only as a temporary fix which should help other BioC packages that use BiocStyle
, though it won't fix those that use knitr
without BiocStyle
... hm...
The build system ignores the remotes
field so using remotes: yihui/knitr
won't help.
What we could do is manually install the latest knitr from GitHub on all the builders. I'm just hoping that a new version of knitr will soon show up on CRAN so we don't need to do this.
Ahhh, I didn't know that the build system ignores remotes
. Oops!
Sounds like we need to ping Yihui then, right?
He already uploaded a new version of knitr to CRAN last Thursday (version 1.27) and I think that CRAN's policy doesn't let you upload a new version more than once a week or something like that so we might just need to wait.
In the meantime, after discussing with @mtmorgan and @lshep , we've decided to manually update knitr on the 6 build machines (well, 5 only since celaya2 is dead at the moment).
The RaggedExperiment build report started to error across all platforms, maybe because of a change in magick? A reproducible example is a file test.Rmd containing
with RaggedExperiment.svg in the same directory. Then
but removing
results in
and test.html includes the figure.