hugo-apero / hugo-apero-docs

Apéro is a Hugo theme for personal websites. This is the documentation site, made with the theme :lemon:
https://hugo-apero-docs.netlify.app/
Creative Commons Attribution 4.0 International
85 stars 46 forks source link

Error: Error building site #75

Open pherephobia opened 3 years ago

pherephobia commented 3 years ago

I followed the instruction: https://hugo-apero-docs.netlify.app/collection/day02/02-blogdown/

My session information is attached below:

[1] C:/Users/phere/Dropbox/My PC (DESKTOP-5O211OK)/Documents/R/win-library/4.0 [2] C:/Program Files/R/R-4.0.3/library

D -- DLL MD5 mismatch, broken installation.


What I did:

And I get the error message when I try to blogdown::serve_site()

library(blogdown) new_site(dir = ".", theme = "apreshill/blogophonic") ― Creating your new site | Installing the theme apreshill/blogophonic from github.com trying URL 'https://github.com/apreshill/blogophonic/archive/main.tar.gz' Content type 'application/x-gzip' length unknown downloaded 34.8 MB

| Adding the sample post to content/blog/2020-12-01-r-rmarkdown/index.Rmd | Converting all metadata to the YAML format | Adding netlify.toml in case you want to deploy the site to Netlify ● [TODO] The file 'netlify.toml' exists, and I will not overwrite it. If you want to overwrite it, you may call blogdown::config_netlify() by yourself. | Adding .Rprofile to set options() for blogdown ― The new site is ready ○ To start a local preview: use blogdown::serve_site(), or the RStudio add-in "Serve Site" ○ To stop a local preview: use blogdown::stop_server(), or restart your R session

Want to serve and preview the site now? (y/n) blogdown:::preview_site() Launching the server via the command: C:/Users/phere/AppData/Roaming/Hugo/0.80.0/hugo.exe server --bind 127.0.0.1 -p 4321 --themesDir themes -t hugo-apero -D -F --navigateToChanged Error: Error building site: failed to render pages: render of "page" failed: "C:\Users\phere\Dropbox\Scholar\0_personal\HP\nesite\themes\hugo-apero\layouts_default\single.html:8:173": execute of template failed: template: _default/single.html:8:173: executing "main" at <.>: range can't iterate over R

I think I should get the same blog at least in the local (which is not public). I have no idea why the page rendering gets errors.

apreshill commented 3 years ago

Welp 😭

That is because those are not real instructions- those are placeholders for theme testing that I forgot about! The theme is currently a WIP without good docs, so I'll add more signposts around that.

The actual real workshop materials are here: https://iyo-rstudio-global.netlify.app/collection/day02/

But even those are a bit out of date as I moved the repos to this new organization instead of under my personal account.

pherephobia commented 3 years ago

@apreshill Oh, I see. I will wait for the better guidelines to be published. The theme is fascinating that makes me consider moving from academic-Hugo. :-)