Support authentication for private CRAN-like repositories
Nobody has claimed this yet.
- Dominant language
- R
- Stars
- 409
- Forks
- 89
- PR merge metrics
- No merged PRs in 30d
Description
This request is inspired by https://github.com/rstudio/renv/issues/307. Renv has a nice way to set authentication headers https://rstudio.github.io/renv/articles/renv.html?q=renv.download.headers#authentication-with-custom-headers
options(renv.download.headers = function(url) {
if (grepl("^https://my/repository", url))
return(c(Authorization = Sys.getenv("AUTH_HEADER")))
})
Is there a way to do this in packrat?
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start by comparing packrat's repository and download behavior with the authentication-header approach described in the linked renv issue and documentation. Define how credentials for private CRAN-like repositories should be supplied and what successful authenticated dependency installation should demonstrate.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- r
- Domain
- tooling
- Issue type
- Feature
- Difficulty
- 5/5
- Estimated time
- Over a week
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100