githubからパッケージをフォークしていくつか変更を加えました。 install_github()で変更したパッケージのバージョンをインストールしようとしていますが、エラーメッセージが表示されています。助言がありますか?install_githubでブランチにパッケージをインストール中にエラーが発生しました
フォークバージョン:https://github.com/embruna/refnet
ブランチの編集されたバージョン:私はブランチにバージョンをインストールしようとした
install_github("embruna/refnet", subdir="pkg")
:https://github.com/embruna/refnet/tree/proposed-updates
私はとフォークのバージョンをインストールすることができます以下:
install_github("embruna/[email protected]", subdir="pkg")
ただし、このエラーが発生する:
** help
*** installing help indices
** building package indices
Error in scan(file = file, what = what, sep = sep, quote = quote, dec = dec, :
line 1 did not have 6 elements
ERROR: installing package indices failed
* removing ‘/Library/Frameworks/R.framework/Versions/3.3/Resources/library/refnet’
Error: Command failed (1)
ありがとうございます。
EDIT:1)install_githubの構文が間違っていました.2) "pkg"に、構文を修正した後でもエラーを投げていたフォルダがありました。詳細は以下を参照してください。
Benありがとう - どちらも私のために失敗し、元の質問のエラーを蹴飛ばしています。また、devtoolsを使う1.12.0 –
私はGitHub APIから多くのサーバーエラー(500)を見てきました: 'install_github(" embruna/refnet/pkg "、ref =" proposed-最近、あなたの問題に貢献する可能性があります。 –
ここに階層があると思います。 embruna/refnet/pkg @ proposed-updatesは '' embruna/refnet/pkg "' + 'ref =" proposed-updates "'(最初の3つの要素を一緒に指定してからrefを追加するため) '、' subdir = ...、ref = ... 'でも' 'embruna/refnet @ proposed-updates ''、 '' subdir = ...''うまくいかないよ –