sjmgarnier / viridis

Colorblind-Friendly Color Maps for R
http://sjmgarnier.github.io/viridis
Other
289 stars 38 forks source link

Missing viridis-scales.png file when running devtools::check() #29

Closed sjmgarnier closed 8 years ago

sjmgarnier commented 8 years ago

Error message when running devtools::check():

LaTeX errors found: ! Package pdftex.def Error: File 'viridis-scales.png' not found.

cc @noamross

sjmgarnier commented 8 years ago

@noamross I just saw that you mentioned this issue in hadley/devtools#1007 and that Hadley thinks it's a problem with R CMD check. Did you find a solution since then? I'd like to submit the last version to CRAN as soon as it can pass the check.

noamross commented 8 years ago

Sorry I've been slow about this. I haven't found a solution, but I should be able to get to it tomorrow. I'll try building using the R docker images, and write r-pkg-devel if I can't get it to work.

On Sun, Feb 28, 2016 at 6:39 PM Simon Garnier notifications@github.com wrote:

@noamross https://github.com/noamross I just saw that you mentioned this issue in hadley/devtools#1007 https://github.com/hadley/devtools/issues/1007 and that Hadley thinks it's a problem with R CMD check. Did you find a solution since then? I'd like to submit the last version to CRAN as soon as it can pass the check.

— Reply to this email directly or view it on GitHub https://github.com/sjmgarnier/viridis/issues/29#issuecomment-189941600.

sjmgarnier commented 8 years ago

@noamross No problem. I guess we can always ditch the figures from the documentation if there is no easy solution, but it would be a shame.