I'm having difficulty serving my site using blogdown in R Studio. Every time I try to serve the site, I get an error as hugo.exe gets blocked because of the folder it tries to run from - C:/[name]/appdata/roaming/hugo/hugo.exe.
Is there a way to change the location where Blogdown tries to run the hugo.exe from? I was able to change the location where it installs hugo from using options(blogdown.hugo.dir = [path] but unsure how to stop it being run from appdata/roaming.
Any help would be much appreciated