-
Notifications
You must be signed in to change notification settings - Fork 31
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
github remotes format partially incompatible with remotes package #275
Comments
The |
As pkgdepends will get more features in the future, and remotes will not, it is unlikely that the formats will stay fully compatible. That said, pkgdepends should be able to parse the same refs that remotes parses, so I'll fix this here if possible. |
Just to add: pkgdepends/tools/doc/pkg-refs.Rmd Lines 213 to 217 in 63479a7
This is a dummy example:
(whereas it should be I think I managed to go through the all stack and the problem is that Lines 244 to 250 in 63479a7
|
If a dependency is hosted on GitHub, but its repository name doesn't match the package name, both
pkgdepends
andremotes
allow explicitly specifying the package name. However, they are incompatible:pkgdepends
expects a remote of the formpackagename=github::username/repo
, whereasremotes
expectsgithub::packagename=username/repo
. This makes it impossible to both allow installation of one's package from GitHub withremotes
and running a GitHub actions workflow that usesr-lib/actions/setup-r-dependencies
(which usespak
which usespkgdepends
)The text was updated successfully, but these errors were encountered: