Hi,
I am trying to install R package using devtools::install_gitlab , since the repo is created under subgroup I have passed the full path of the repo 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.
Below is the code I tried : RUN Rscript -e "devtools::install_gitlab(repo='${SVC_NAME}/<groupname>/<subgroupname>/<repo-name>', host='https://gitlab.org.com/', auth_token=${SVC_TOKEN}, force=TRUE)"
Error Message:
[0m [ 6/36] RUN Rscript -e "devtools::install_gitlab(repo='{SVC_NAME}/<groupname>/<subgroupname>/synth-inference-synthdid', host='https://gitlab.org.com/', auth_token={SVC_TOKEN}, force=TRUE)"
[2025-01-03T06:43:31Z | DEBUG | builder-server] Cleaning up dagger error: input: container.from.withWorkdir.withExec.withExec.withSecretVariable.withEnvVariable.withEnvVariable.withEnvVariable.withExec.withExec.withExec.withNewFile.directory.withDirectory.withDirectory.withDirectory.withNewFile.directory.dockerBuild.withLabel.withLabel.withLabel.withLabel.withLabel.withLabel.withLabel.withMountedCache.sync resolve: process "/bin/sh -c Rscript -e "devtools::install_gitlab(repo='{SVC_NAME}/<groupname>/<subgroupname>/synth-inference-synthdid', host='https://gitlab.org.com/', auth_token={SVC_TOKEN}, force=TRUE)"" did not complete successfully: exit code: 1
[2025-01-03T06:43:32Z | DEBUG | builder-server] [90m|[0m Error in parse_repo_spec
[2025-01-03T06:43:32Z | DEBUG | builder-server] [90m|[0m Error in parse_repo_spec(repo) :
[2025-01-03T06:43:32Z | DEBUG | builder-server] [95m48 : [0m [90m[1.1s] [0m
[2025-01-03T06:43:32Z | DEBUG | builder-server] [90m|[0m Invalid git repo specification: '///synth-inference-synthdid'
[2025-01-03T06:43:32Z | DEBUG | builder-server] [90m|[0m Calls: ... -> lapply -> FUN -> parse_git_repo -> parse_repo_spec
[2025-01-03T06:43:32Z | DEBUG | builder-server] [95m48 : [0m [90m[1.1s] [0m[90m|[0m Execution halted
[2025-01-03T06:43:32Z | DEBUG | builder-server] [90m [1.1s][0m