Skip to content

Images not rendering on gh-pages; might be missing some config step #1087

@lcolladotor

Description

@lcolladotor

Hi,

I'm using bookdown for https://github.com/lcolladotor/rnaseq_LCG-UNAM_2021 which I'm deplying through gh-pages. The images don't seem to be served by GitHub though, so this issue seems related to #133 (comment) and https://community.rstudio.com/t/troubleshooting-broken-images-in-bookdown-hosted-on-gh-pages/38441/6

At is one of the example <img> https://github.com/lcolladotor/rnaseq_LCG-UNAM_2021/blob/ada473a744ebebe1cdcf0fd39b5a42d6c072b631/modelos-estad%C3%ADsticos.html#L470

<p><img src="_main_files/figure-html/filter_rse-1.png" width="672" /></p>

which does exist at https://github.com/lcolladotor/rnaseq_LCG-UNAM_2021/blob/ada473a744ebebe1cdcf0fd39b5a42d6c072b631/_main_files/figure-html/filter_rse-1.png yet it's not displayed in the final html. It might something to do with GitHub since https://lcolladotor.github.io/rnaseq_LCG-UNAM_2021/_main_files/figure-html/filter_rse-1.png returns a 404 error.

The original R code for generating the figure is https://github.com/lcolladotor/rnaseq_LCG-UNAM_2021/blob/94d0d7e9cc3c03ff0b0f7c38adffda359212ae20/05_modelos.Rmd#L27-L43 with the following YAML https://github.com/lcolladotor/rnaseq_LCG-UNAM_2021/blob/94d0d7e9cc3c03ff0b0f7c38adffda359212ae20/index.Rmd#L2-L14 for configuring the book.

Am I missing something here? Thanks!

Best,
Leo

R Session info: https://lcolladotor.github.io/rnaseq_LCG-UNAM_2021/index.html#r-session-information

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions