Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Starting with version 2.2.0 hugo-academic does not work with RMarkdown/blogdown anymore #315

Closed
petzi53 opened this issue Jul 17, 2018 · 3 comments
Milestone

Comments

@petzi53
Copy link

petzi53 commented Jul 17, 2018

After updating blogdown and the hugo academic theme I noticed after a while that with "Build" -> "More…" -> "Clean All" blogdown:::serve_site() blogdown did not produce a preview of the website but created the index of the site. I have reported all the details with error messages, sessionInfo etc. at the forum of the RStudio Community.

At first it was difficult to provide a reproducible example with my website but then I noticed that a new installation with blogdown & the academic theme produced this error immediately after installation with the first serve_site().

I started the rollback to previous version with blogdown but this didn't help. So it appears that your package blogdown is not the cause. Finally it turned out that with version 2.2.0 of the academic theme this error emerged. I reported it to @gcushen but he thinks that the problems must be in blogdown.

... it appears unrelated to the Academic code. Academic works fine when used directly with Hugo. Since the problem only occurs with Blogdown and based on your comments and the fact that Blogdown acts as a wrapper around Hugo, it would appear that there may be a bug in Blogdown.

Frankly speaking, I do not know where the problem could be. I am a little surprised (and worried) that I am the first user to notice this problem as I know many people are using your blogdown package with the academic theme. A possible explanation may be that not so many people did recently update and – more important – the error does only appear in a working website after you are using the menue button "Build" -> "More…" -> "Clean All". As this is not a common procedure, so maybe this is the reason that people have not yet noticed this problem.

@yihui
Copy link
Member

yihui commented Jul 17, 2018

I'm going to kick the ball back to @gcushen at HugoBlox/hugo-blox-builder#594 soon :)

@tcgriffith
Copy link
Collaborator

I confirm that the same error appears even when I use the examleSite from the theme, strange!

@yihui yihui added this to the v0.8 milestone Jul 18, 2018
@yihui
Copy link
Member

yihui commented Jul 18, 2018

I'm pretty sure blogdown is innocent in this case. The problem is somewhere between Hugo and the academic theme.


To future users who may come here, please follow the issue HugoBlox/hugo-blox-builder#594.

@yihui yihui closed this as completed Jul 18, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants