2017-10-07 7 views
1

を構築し、最小限のbookdown例をインストールした後、私は次のエラーを得た:エラー(「前」設定、)全てのフォーマット

==> rmarkdown::render_site(encoding = 'UTF-8') 

Error in insert_chapter_script(config, "before") : 
    object 'config' not found 
Calls: <Anonymous> ... <Anonymous> -> insert_code_chunk -> insert_chapter_script 
Execution halted 

Exited with status 1. 

しかし、フォーマットを構築します別途(pdf_book、epub_book、gitbook)が動作します。

ブックダウンを使用して、RStudio->新規プロジェクト - >新しいディレクトリ - >ブックプロジェクトから最低のブックダウンのサンプルをインストールしました。

新しいRStudioプレビューバージョン1.1.383、bookdown 0.5.3を使用します。およびrmarkdown 1.6.0.9004。 (私はそれが以前のRStudioバージョンで動作したと信じています)

答えて

1

これは現在の開発バージョンbookdownのバグです。私はちょうどGithubのfixed itです。 devtools::install_github('rstudio/bookdown')を入力してください。ありがとう!

関連する問題