Internal or Extarnal Command Error

Hello, I'm trying to use blogdown but every time I'm getting error. I tried several ways but it doesn't work.

  1. I create a project with Blogdown
  2. I use the console for create a Blogdown site (blogdown::new_site() )

Error: 'C:\Users\Buğra' is not recognized as an internal or external command,
operable program or batch file.
Error in shell(cmd, mustWork = TRUE, intern = intern) :
'"C:\Users\Buğra Akca\AppData\Roaming\Hugo\hugo.exe" new site "Tesst" --force -f toml' execution failed with error code 1

Thank you.

I installed Hugo extended by manual. And creating project with blogdown, I selected(default comes selected) don't install hugo again. Restart the R session. Then everything works.

It looks like execution failed because of the space in your user account name. However, it looks like the path is properly quoted in the call to system() / shell(), so I'm not exactly sure why it still fails.

You could consider filing this as a bug report at Issues · rstudio/blogdown · GitHub.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.