2017-06-26 11 views
1

私はhugo-future-imperfectテーマを使用しようとしていますが、Addins> New Post> <>を使って新しいRmarkdown投稿を作成することはできません。new_postはblogdownのRMarkdown投稿を作成しません

私は、エディタ内やファイルシステム内のファイルがない[完了]をクリックして、コンソールが報告する場合:

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')

答えて

1

先日、Hugo 0.24.1で修正されたバグのようです。あなたのRセッションを再起動blogdownを再インストールしようとすると、ヒューゴを更新してください:

devtools::install_github('rstudio/blogdown') 
blogdown::update_hugo() 
+0

感謝。それはそれを世話しました。それはすべて今働いている。 –

+0

それを知ってうれしい!確認していただいてありがとうございます! –

関連する問題