2017-01-12 24 views
0

readthedownテンプレートを編むときにこのエラーが発生します。実際、のすべてのhtml rmdformatsテンプレートが失敗します。rmarkdown読み取りテンプレートのエラー

私はこのエラーを取得する:

"D:/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS test.utf8.md --to html --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output test.html --smart --email-obfuscation none --self-contained --mathjax --variable "mathjax-url: https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML " --variable "gallery:false" --standalone --section-divs --table-of-contents --toc-depth 2 --template "D:\R-3.3.2\library\rmdformats\templates\readthedown\readthedown.html" --highlight-style kate --variable "theme:bootstrap" --include-in-header "C:\Users\602891\AppData\Local\Temp\Rtmp2RnypK\rmarkdown-str26c4151511b5.html" pandoc.exe: Could not fetch /tabsets.js /tabsets.js: openBinaryFile: does not exist (No such file or directory) Error: pandoc document conversion failed with error 67 In addition: Warning messages: 1: MathJax doesn't work with self_contained when not using the rmarkdown "default" template. 2: running command '"D:/RStudio/bin/pandoc/pandoc" +RTS -K512m -RTS test.utf8.

md --to html --from markdown+autolink_bare_uris+ascii_identifiers+tex_math_single_backslash --output test.html --smart --email-obfuscation none --self-contained --mathjax --variable "mathjax-url: https://cdn.mathjax.org/mathjax/latest/MathJax.js?config=TeX-AMS-MML_HTMLorMML " --variable "gallery:false" --standalone --section-divs --table-of-contents --toc-depth 2 --template "D:\R-3.3.2\library\rmdformats\templates\readthedown\readthedown.html" --highlight-style kate --variable "theme:bootstrap" --include-in-header "C:\Users\602891\AppData\Local\Temp\Rtmp2RnypK\rmarkdown-str26c4151511b5.html"' had status 67 Execution halted

は、私はパッケージをインストールすると動作するはずと思ったが、私はそれを編むように見えることはできません。

+0

おそらくこの問題:https://github.com/juba/rmdformats/issues/23; jubaが示唆するようにgithubのバージョンをインストールしてみるべきです: 'devtools :: install_github(" juba/rmdformats ")' – scoa

+0

Scoaありがとうございます。私はパッケージをアンロードしてから完全に動作し、github経由でインストールします。 – Germ

+0

ようこそスタックオーバーフロー!私はあなたの質問を編集しました。 'rmarkdown'の本文とタイトルにスペルミスがありました。エラーメッセージを再フォーマットして読みやすくしました。私は文法を修正しようとしましたが、SOには必要ない挨拶を削除しました。私はrmarkdownタグを追加しました。あなたの質問を編集して、エラーの原因となった手順やコマンドを説明してください。これは、エラーを再現するためにSOに必要です。ありがとうございました。 – Uwe

答えて

0

これは、最終開発版で修正された既知のバグです。今のところgithubからインストールすると、問題が解決するはずです:

devtools::install_github("juba/rmdformats") 
関連する問題