r-lib / remotes

Install R packages from GitHub, GitLab, Bitbucket, git, svn repositories, URLs
https://remotes.r-lib.org/
Other
331 stars 152 forks source link

`RemotePkgType` is not necessarily something that we can pass to `available.packages()` #617

Closed gaborcsardi closed 3 years ago

gaborcsardi commented 3 years ago

Unfortunately. pak sets this to macos and windows. I think remotes could maybe ignore it?

jimhester commented 3 years ago

It is always meant to be the type parameter in install.packages, e.g. one of "source", "mac.binary", and "win.binary".

gaborcsardi commented 3 years ago

Does remotes add this at all? I can't find it anywhere in the code.