LoginSignup
0
0

More than 1 year has passed since last update.

GitHub Enterprise内のR Libraryをインストールするのに困った話

Posted at

GitHub Enterpriseでインストールするなら

devtools::install_github('userName/repoName',
                          host = 'githuEnterpriseUrl/api/v3',
                          auth_token=ifNecessary)

GitHub環境

自社では自社用R Libraryがいくつかあり、それらはgithub enterprise上で稼働している。

GitHub Libraryの今までのインストール方法

今までは
devtools::devtools::install_github()
host=githuEnterpriseUrlでやっていたためうまく行かず,tar.gzファイルを解凍して利用していた。
Docker環境にいくつかLibraryを入れる必要があったため今までの方法ではうまく行かず、install_githubコマンドで入れたいニーズがあり調べる必要があった。

詳しくは公式のREST API参照

GitHub Enterprise ServerのAPIにアクセスするためにhttp(s)://[hostname]/api/v3を使ってください。
https://docs.github.com/ja/enterprise-server@2.22/rest/guides/getting-started-with-the-rest-api

0
0
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
0
0