new_post 不会在 blogdown 中创建 RMarkdown post
new_post will not create an RMarkdown post in blogdown
我正在尝试使用 hugo-future-imperfect 主题,但我无法使用以下方法创建新的 Rmarkdown 帖子:Addins > New Post > <>。
当我点击完成时,编辑器或文件系统中没有文件,并且控制台报告:
Loading required package: shiny
Warning: package ‘shiny’ was built under R version 3.3.3
Listening on http://127.0.0.1:7789
Error: open : The system cannot find the file specified.
Warning: running command '"C:\Users\jrl\AppData\Roaming\Hugo\hugo.exe" new "post/2017-06-26-test.Rmd" -k default' had status 65535
Error: open : The system cannot find the file specified.
Warning: running command '"C:\Users\jrl\AppData\Roaming\Hugo\hugo.exe" new "post/2017-06-26-test.Rmd" -k default' had status 65535
The system cannot find the path specified.
Warning: running command 'C:\WINDOWS\system32\cmd.exe /c "C:\Users\jrl\AppData\Roaming\Hugo\hugo.exe" new "post/2017-06-26-test.Rmd" -k default' had status 1
Warning: Error in shell: '"C:\Users\jrl\AppData\Roaming\Hugo\hugo.exe" new "post/2017-06-26-test.Rmd" -k default' execution failed with error code 1
Stack trace (innermost first):
82: shell
81: shell2
80: system2
79: hugo_cmd
78: new_content
77: blogdown::new_post
76: observeEventHandler
12: shiny::runApp
11: shiny::runGadget
10: eval
9: eval
8: eval
7: eval
6: eval.parent
5: local
4: eval
3: eval
2: sys.source
1: blogdown:::new_post_addin
我用来构建网站的步骤是:
blogdown::new_site(主题='jpescador/hugo-future-imperfect')
这听起来像是前几天在 Hugo 0.24.1 中修复的错误。请重新启动您的 R 会话,尝试重新安装 blogdown,并更新 Hugo:
devtools::install_github('rstudio/blogdown')
blogdown::update_hugo()
我正在尝试使用 hugo-future-imperfect 主题,但我无法使用以下方法创建新的 Rmarkdown 帖子:Addins > New Post > <>。
当我点击完成时,编辑器或文件系统中没有文件,并且控制台报告:
Loading required package: shiny
Warning: package ‘shiny’ was built under R version 3.3.3
Listening on http://127.0.0.1:7789
Error: open : The system cannot find the file specified.
Warning: running command '"C:\Users\jrl\AppData\Roaming\Hugo\hugo.exe" new "post/2017-06-26-test.Rmd" -k default' had status 65535
Error: open : The system cannot find the file specified.
Warning: running command '"C:\Users\jrl\AppData\Roaming\Hugo\hugo.exe" new "post/2017-06-26-test.Rmd" -k default' had status 65535
The system cannot find the path specified.
Warning: running command 'C:\WINDOWS\system32\cmd.exe /c "C:\Users\jrl\AppData\Roaming\Hugo\hugo.exe" new "post/2017-06-26-test.Rmd" -k default' had status 1
Warning: Error in shell: '"C:\Users\jrl\AppData\Roaming\Hugo\hugo.exe" new "post/2017-06-26-test.Rmd" -k default' execution failed with error code 1
Stack trace (innermost first):
82: shell
81: shell2
80: system2
79: hugo_cmd
78: new_content
77: blogdown::new_post
76: observeEventHandler
12: shiny::runApp
11: shiny::runGadget
10: eval
9: eval
8: eval
7: eval
6: eval.parent
5: local
4: eval
3: eval
2: sys.source
1: blogdown:::new_post_addin
我用来构建网站的步骤是:
blogdown::new_site(主题='jpescador/hugo-future-imperfect')
这听起来像是前几天在 Hugo 0.24.1 中修复的错误。请重新启动您的 R 会话,尝试重新安装 blogdown,并更新 Hugo:
devtools::install_github('rstudio/blogdown')
blogdown::update_hugo()