[Bioc-devel] Issues with images in vignette

Martin Morgan mtmorg@n@b|oc @end|ng |rom gm@||@com
Thu Nov 19 14:45:46 CET 2020


Nice images!

If I narrow the browser window, the figures appear!

When I 'inspect' the source, for instance for 'Figure 4: chance of cross talk' I see that the image has tag <img ... class="smallfigure"> whereas figures that show up have class="widefigure". 

I guess smallfigure is because in the Rmd there is

```{r, fig.cap = "Chance of crosslinking", fig.small = TRUE, echo = FALSE}
# fig.width=200, out.width="200px"
knitr::include_graphics("crosslinking_chance.png")
```

So this looks like a bug in BiocStyle...

I opened an issue at

https://github.com/Bioconductor/BiocStyle/issues/83

Martin

On 11/19/20, 8:28 AM, "Bioc-devel on behalf of Sudeep Sahadevan" <bioc-devel-bounces using r-project.org on behalf of sudeep.sahadevan using embl.de> wrote:

    Dear all,

    We are facing some issues with the html vignette of our package DEWSeq (
    https://bioconductor.org/packages/release/bioc/vignettes/DEWSeq/inst/doc/DEWSeq.html). The issue is that some of the images are rendered too small and
    for a couple of images, the size of the final rendered images is 0 x 0 pixels (that is, only the figure captions are visible).  What I've also noticed
    is that this issue does not occur when I build package locally based on the bioconductor docker image for RELEASE_3_12 (
    https://hub.docker.com/layers/bioconductor/bioconductor_docker/RELEASE_3_12/images/sha256-9f9d1d481e51e335db273621e82841117851b0de4e28984a7b3ada03b32046ad?context=explore
    ). I'm not entirely sure what is going on here.  Have you faced this issue/ do you have any suggestions ?

    Thank you in advance,

    Kind regards,
    Sudeep Sahadevan.

    	[[alternative HTML version deleted]]

    _______________________________________________
    Bioc-devel using r-project.org mailing list
    https://stat.ethz.ch/mailman/listinfo/bioc-devel


More information about the Bioc-devel mailing list