Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install_gitlab repos within subgroups #823

Open
manju-2018 opened this issue Jan 3, 2025 · 2 comments
Open

Unable to install_gitlab repos within subgroups #823

manju-2018 opened this issue Jan 3, 2025 · 2 comments

Comments

@manju-2018
Copy link

I am trying to install a package using devtools::install_gitlab , since the repo is created under subgroup I have passed the full path but it errors out saying "Invalid git repo specification: " could you please help me with some guidance here. I have the auth_token for the repo. Kindly confirm is this feature supported in devtools::install_gitlab

This is how I have passed the repo path with the tokens:
RUN Rscript -e "devtools::install_gitlab('${USER_NAME}/data/comp/synth-inference-synthdid', host='https://gitlab.<org>.com', auth_token=${TOKEN}, force=TRUE)"
Thankyou!

@jennybc jennybc transferred this issue from r-lib/devtools Jan 7, 2025
@jennybc
Copy link
Member

jennybc commented Jan 7, 2025

devtools::install_gitlab() is a very thin wrapper around remotes::install_gitlab(), hence I am transferring this issue.

@gaborcsardi
Copy link
Member

I suggest you try pak with a git::https://... url, see https://pak.r-lib.org/reference/pak_package_sources.html#packages-in-git-repositories-git-

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants