Hi,
in a renv project, when I try to install any R package from our company GitLab repository with
remotes::install_git(url = "url/of/our/gitlab/repo", credentials = git2r::cred_token(token = "GITLAB_PAT"))
I get the error:
Error: Failed to install 'unknown package' from Git:
Line starting '<!DOCTYPE html> ...' is malformed!
Similarly, with
renv::install("url/of/our/gitlab/repo")
I get
Error in read.dcf(file, ...) :
Line starting '<!DOCTYPE html> ...' is malformed!
The installation works correctly when renv is deactivated.
I am using these packages and R version:
- renv 0.13.2
- remotes 2.4.0
- git2r 0.28.0
- R 4.0.2 on Red Hat Enterprise Linux Server 7.5
Thank you