-
Notifications
You must be signed in to change notification settings - Fork 153
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
CRAN friendly Remotes field in Description #820
Comments
First of all, I suggest using pak instead of remotes, if you can. For many use cases it works much better and that's where current development is happening. It is intentional that You can already use the
|
Thank you very much for the rapid repsonse! I really appreciate it. Ah I see - thanks for explaining that about pak - that's good to know. Yeah, that's a really good point regarding CRAN submissions. I agree that it's useful to prevent accidently publishing packages that have developmental or non-CRAN packages listed as hard dependencies, and I'm looking for a strategy to support publishing packages that have non-CRAN packages listed as soft dependencies (since this is permitted per CRAN policies) (also, I am aware of the Thanks! I didn't realize that the To test this out, I've made a developmental branch (
Also, since I would be using |
No, it is enough to have it in
No, you can use any name you like. If you are paranoid prefix it with your package name. |
Ah, I see - thank you! That's interesting to hear that the soft-dependency would only need to be listed under
|
Yes, if the package is picked up by To get it installed by pak, it is enough to list it at |
Ah ok - thanks for clarifying that. I think you've answered all my questions and I can understand the rationale for not supporting a |
Hi,
Thanks so much for all your work on developing the remotes package! It's extremely useful for installing packages and handling package dependencies that aren't on CRAN. I use the
Remotes
field in the DESCRIPTION file for many packages to provide automated install options for soft dependencies that aren't on CRAN. However, this creates an issue when submitting packages to CRAN, because the CRAN package checks throw a NOTE (if I remember correctly) if submissions contain aRemotes
field. In practice, this means that I have to manually temporarily delete the Remotes field when making CRAN submissions. To provide a seamless experience that does not require manually altering DESCRIPTION files during CRAN submission, it would be nice if the remotes package also recognized aremotes
field in the DESCRIPTION that passes CRAN package checks. My understanding is that the DESCRIPTION fields that start withConfig/
do not throw such NOTES and are acceptable under CRAN package checks (e.g., becausedplyr
has suchConfig/*
fields in its DESCRIPTION on CRAN), and so perhaps supporting aConfig/Remotes
DESCRIPTION field would work?How does that sound?
The text was updated successfully, but these errors were encountered: