My organization recently installed GitLab for us. I figured out how to install R packages from the GitLab server using devtools::install_git , and it works as long as the project is publicly available.
#* When modeltable project has Public status devtools::install_git('https://mini-me2.lerner.ccf.org/nutterb/modeltable.git')
However, if I have a package that is listed as Internal or Closed, I cannot install the package without any authentication. At the moment, I did not understand how to authenticate using the URL. Does anyone have experience downloading packages from GitLab?
#* After changing the 'modeltable' project to Private status devtools::install_git('https://mini-me2.lerner.ccf.org/nutterb/modeltable.git') Preparing installation of modeltable using the Git-URL: https://mini-me2.lerner.ccf.org/nutterb/modeltable.git '/usr/bin/git'clone --depth 1 --no-hardlinks https://mini-me2.lerner.ccf.org/nutterb/modeltable.git /tmp/Rtmp5aj1cU/file24493dc03a32 Error: There seems to be a problem retrieving this Git-URL.
gitlab r devtools
Benjamin Dec 05 '14 at 15:25 2014-12-05 15:25
source share