-
Notifications
You must be signed in to change notification settings - Fork 40
Closed
Labels
featurea feature request or enhancementa feature request or enhancement
Description
- Detect if a repo is RSPM. Once there is a response header for this, it'll be easy, until then we can do a GET to the
/statusAPI endpoint, then we'll also know the supported platforms. - Detect if the current platform is supported by RSPM. Supported platforms are listed at https://packagemanager.rstudio.com/__api__/status
- Properly detect that RSPM packages are binaries. (For now we can detect that they should be binaries, but unfortunately they aren't always. As soon as the
PACKAGES*files have the information about binaries, we can do this properly.) - Detect if a downloaded package is a binary or not, from the the
x-package-typeheader of the package download. -
Opt in to use RSPM automatically, via an env var or option.Pretty easy already withrepo_add(). - We could also use the Linux specific repo metadata, e.g. https://packagemanager.rstudio.com/cran/latest/bin/linux/4.0-xenial/contrib/4.0/PACKAGES only lists the binary packages that are available for the
4.0-xenialplatform.
pawelru
Metadata
Metadata
Assignees
Labels
featurea feature request or enhancementa feature request or enhancement