Skip to content

remotes::install_git() fails when {git2r} is installed #832

@lschneiderbauer

Description

@lschneiderbauer

When trying to install a package from our internal gitlab instance while {git2r} is installed,

remotes::install_git("git@gitlab.xxx:yyy.git")

I am getting

Fehler: Failed to install 'yyy' from Git:
Error in 'git2r_remote_ls': unsupported URL protocol

("xxx" and "yyy" is a placeholder for redacted information)

Now, when removing the git2r package, and issuing the same command again, the command works as expected and installs the package.

How can the presence of {git2r} influence the outcome of remotes::install_git() ?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions