Problems with remote install on rocker image / not on CRAN
Opened this issue · 0 comments
Despite README saying this is on CRAN, I cannot find it. Are there plans to submit it as having terrible problems trying to remote install on a rocker pipeeline image on GitLab.
I have been able to install the API and sucessfully use it on my local machine with no problem. However, when I try to install it on the rocker image I get the following message:
> remotes::install_github("publichealthengland/coronavirus-dashboard-api-R-sdk")
Using bundled GitHub PAT. Please add your own PAT to the env var `GITHUB_PAT`
Error: Failed to install 'unknown package' from GitHub:
cannot open URL 'https://api.github.com/repos/publichealthengland/coronavirus-dashboard-api-R-sdk/contents/DESCRIPTION?ref=HEAD'
Execution halted
Cleaning up project directory and file based variables 00:01
ERROR: Job failed: exit code 1
Clicking on the URL it is attempting to open gives the following error:
{
"message": "No commit found for the ref HEAD'",
"documentation_url": "https://docs.github.com/v3/repos/contents/"
}
The only thread I have found about this error is on github suggesting it may be because default branch is not called master but as far as I can tell it is called master. r-lib/remotes#508
Not too sure how to problem solve this further so any pointers or a look into why it is isn't working would be very welcome.