Closed meersel closed 4 years ago
Problem with the gcushen/hugo-academic theme.
R version 3.6.3 (2020-02-29) Platform: x86_64-w64-mingw32/x64 (64-bit) Running under: Windows 10 x64 (build 18363)
blogdown_0.18 blogdown::hugo_version() [1] ‘0.68.3’
See script and output below install_theme("gcushen/hugo-academic", theme_example = TRUE, update_config = TRUE) trying URL 'https://github.com/gcushen/hugo-academic/archive/master.zip' Content length 126 bytes downloaded 5.3 MB Error in utils::unzip(zipfile, exdir = tmpdir) : cannot open file 'be305ddb1d3f/hugo-academic-master/exampleSite/resources/_gen/images/authors/admin/avatar_hu52a603635ecebd45650b162dadabb4e5_12861_270x270_fill_q90_lanczos_center.jpg': No such file or directory
Duplicate of #433
I think your issue is a duplicate of #433. See comments there. This is an issue on windows with long path when doing unzip. Try installing in another directory with a shorter path so that it can unzip correctly. It is possible that R tempdir()
is enough.
Hope it helps
By filing an issue to this repo, I promise that
xfun::session_info('blogdown')
. I have upgraded all my packages to their latest versions (e.g., R, RStudio, and R packages), and also tried the development version:remotes::install_github('rstudio/blogdown')
.