8000 Support authentication for private CRAN-like repositories · Issue #702 · rstudio/packrat · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Support authentication for private CRAN-like repositories #702
Open
@SamEdwardes

Description

@SamEdwardes

This request is inspired by rstudio/renv#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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0