{"action":"created","issue":{"url":"https://api.github.com/repos/rstudio/blogdown/issues/324","repository_url":"https://api.github.com/repos/rstudio/blogdown","labels_url":"https://api.github.com/repos/rstudio/blogdown/issues/324/labels{/name}","comments_url":"https://api.github.com/repos/rstudio/blogdown/issues/324/comments","events_url":"https://api.github.com/repos/rstudio/blogdown/issues/324/events","html_url":"https://github.com/rstudio/blogdown/issues/324","id":350573608,"node_id":"MDU6SXNzdWUzNTA1NzM2MDg=","number":324,"title":"Unable to update Hugo within RStudio Blogdown","user":{"login":"jananiravi","id":8397074,"node_id":"MDQ6VXNlcjgzOTcwNzQ=","avatar_url":"https://avatars3.githubusercontent.com/u/8397074?v=4","gravatar_id":"","url":"https://api.github.com/users/jananiravi","html_url":"https://github.com/jananiravi","followers_url":"https://api.github.com/users/jananiravi/followers","following_url":"https://api.github.com/users/jananiravi/following{/other_user}","gists_url":"https://api.github.com/users/jananiravi/gists{/gist_id}","starred_url":"https://api.github.com/users/jananiravi/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jananiravi/subscriptions","organizations_url":"https://api.github.com/users/jananiravi/orgs","repos_url":"https://api.github.com/users/jananiravi/repos","events_url":"https://api.github.com/users/jananiravi/events{/privacy}","received_events_url":"https://api.github.com/users/jananiravi/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/rstudio/blogdown/milestones/8","html_url":"https://github.com/rstudio/blogdown/milestone/8","labels_url":"https://api.github.com/repos/rstudio/blogdown/milestones/8/labels","id":3483205,"node_id":"MDk6TWlsZXN0b25lMzQ4MzIwNQ==","number":8,"title":"v0.8","description":null,"creator":{"login":"yihui","id":163582,"node_id":"MDQ6VXNlcjE2MzU4Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/163582?v=4","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"open_issues":1,"closed_issues":11,"state":"open","created_at":"2018-07-09T15:02:47Z","updated_at":"2018-08-15T19:04:37Z","due_on":null,"closed_at":null},"comments":6,"created_at":"2018-08-14T19:52:34Z","updated_at":"2018-08-15T19:29:11Z","closed_at":"2018-08-15T19:01:19Z","author_association":"NONE","body":"Hello,\r\nI’m using RStudio v1.2.616 (R: v3.4.4) on macOS (High Sierra) with Hugo+blogdown (hugo academic theme).\r\n\r\nWhen I check the version of Hugo, it says I’m at 0.30\r\n```\r\n> blogdown::hugo_version()\r\n[1] ‘0.30’\r\n```\r\n\r\nI update it using blogdown and then repeat the above to see the same message!\r\n```\r\n> blogdown::update_hugo()\r\nThe latest Hugo version is 0.46\r\nAlready up-to-date.\r\n==> Reinstalling hugo \r\n==> Downloading https://homebrew.bintray.com/bottles/hugo-0.46.high_sierra.bottle.tar.gz\r\nAlready downloaded: /Users/janani/Library/Caches/Homebrew/hugo-0.46.high_sierra.bottle.tar.gz\r\n==> Pouring hugo-0.46.high_sierra.bottle.tar.gz\r\n==> Caveats\r\nBash completion has been installed to:\r\n  /usr/local/etc/bash_completion.d\r\n==> Summary\r\n🍺  /usr/local/Cellar/hugo/0.46: 32 files, 54.9MB\r\nNULL\r\n```\r\nScreenshot of the cycle:\r\n![image](https://user-images.githubusercontent.com/8397074/44114639-cbbf645c-9fd9-11e8-85c6-474f716ac121.png)\r\n\r\nI need a minimum of 0.38 to generate my Hugo website blogdown::build_site()\r\n```\r\n> blogdown::build_site()\r\nRendering xxx \r\nERROR 2018/08/14 15:50:59 Current theme does not support Hugo version 0.30. Minimum version required is 0.38\r\nError: Error building site: Failed to load translations in file \"Icon\\r\": no language found in \"Icon\\r\"\r\n```\r\n\r\nAny suggestions? Thanks!\r\nAlso posted on https://discourse.gohugo.io/t/unable-to-update-hugo-within-rstudio/13587\r\n\r\nPS: Both @archerc5 and I are facing the same issues here."},"comment":{"url":"https://api.github.com/repos/rstudio/blogdown/issues/comments/413308713","html_url":"https://github.com/rstudio/blogdown/issues/324#issuecomment-413308713","issue_url":"https://api.github.com/repos/rstudio/blogdown/issues/324","id":413308713,"node_id":"MDEyOklzc3VlQ29tbWVudDQxMzMwODcxMw==","user":{"login":"yihui","id":163582,"node_id":"MDQ6VXNlcjE2MzU4Mg==","avatar_url":"https://avatars2.githubusercontent.com/u/163582?v=4","gravatar_id":"","url":"https://api.github.com/users/yihui","html_url":"https://github.com/yihui","followers_url":"https://api.github.com/users/yihui/followers","following_url":"https://api.github.com/users/yihui/following{/other_user}","gists_url":"https://api.github.com/users/yihui/gists{/gist_id}","starred_url":"https://api.github.com/users/yihui/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yihui/subscriptions","organizations_url":"https://api.github.com/users/yihui/orgs","repos_url":"https://api.github.com/users/yihui/repos","events_url":"https://api.github.com/users/yihui/events{/privacy}","received_events_url":"https://api.github.com/users/yihui/received_events","type":"User","site_admin":false},"created_at":"2018-08-15T19:29:11Z","updated_at":"2018-08-15T19:29:11Z","author_association":"MEMBER","body":"`/usr/local/bin/hugo` is actually a symlink created by Homebrew (which points to `/usr/local/Cellar/...`. If you want to get rid of the Hombrew version of Hugo, you can do `brew remove hugo`, which will remove both the symlink and the actual \"bottle\" in the \"cellar\". If you want to get rid of `~/Library/Application\\ Support/Hugo/`, you can delete it.\r\n\r\nYou did make a good point that `update_hugo()` probably should update the one at `~/Library/Application\\ Support/Hugo/` if a previous version has been installed there, instead of using Homebrew. I'll tweak the `update_hugo()` function.\r\n\r\nI guess it is relatively unlikely to run into this state. `install_hugo()` will install to `~/Library/Application\\ Support/Hugo/` only if Homebrew was not installed, or you explicitly chose to `install_hugo(use_brew = FALSE)`. Then for some reason, you installed Homebrew later, and ran `install_hugo()` again or ran `update_hugo()`."}}
{"actor":{"display_login":"yihui"}}