Error: Unknown remote type: `git` for public repo on enterprise gitlab
When using GitHub actions, I receive the following error when trying to use the {remotes} package install a package from a public repo that is located on an enterprise GitLab instance:
Unknown remote type(s): `git`
I have tried each of the following in the DESCRIPTION file and still get the error (or a similar variant):
Remotes:
git::[email protected]:PetersenLab/petersenlab.git
Remotes:
https://research-git.uiowa.edu/PetersenLab/petersenlab.git
Remotes:
gitlab::[email protected]:PetersenLab/petersenlab.git
I'd prefer not to have to use the URL of the .zip file, but I get an error when using that, as well (even though I have the package digest listed in Imports:):
Remotes:
url::https://research-git.uiowa.edu/PetersenLab/petersenlab/-/archive/master/petersenlab-master.zip
Cannot install packages:
* deps::.: there is no package called ‘digest’
Here is the link to the public repo of the remote package that I want to install: https://research-git.uiowa.edu/PetersenLab/petersenlab
The issue appears similar to the one here: https://github.com/r-lib/remotes/issues/140
This should work much better with the pak package, I suggest you try that.