-
Notifications
You must be signed in to change notification settings - Fork 5
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
Add required packages to DESCRIPTION #12
Comments
Thanks for the kind words! That's funny you should bring this up, because I have been thinking about it a lot lately. I'm also wanting to move to DESCRIPTION files, rather than the However, rather than deprecate the I'll ping you when its ready for you to take a look. I would love it if you could contribute and/or tell me more about your use cases over there. Stay tuned... |
What about a |
I agree 100%, @gadenbuie. I've definitely had the same thoughts. In addition, we could add an option to |
I would love to have these functions in automagic! One important aspect though: In my personal experience more often than not the DESCRIPTION file already exists and I only want to update it with the new dependencies. So I would prefer a |
Agreed that its important to update a |
@cole-brokamp Did you have some time to work on this issue? If you share your prepared code we could take a look at it together. |
I really like automagic: It's my go-to package when I get random scripts from colleagues and want to get everything running fast. So thank you for your work here!
I wonder if you would consider adding a function that automatically adds/updates required dependencies in the DESCRIPTION file of an R package in ongoing development. I find myself sometimes working on package code and loosing track of the dependencies I use. Then it's useful to have a function that updates the DESCRIPTION accordingly.
I wrote some code for this purpose in rrtools (https://github.com/benmarwick/rrtools/blob/master/R/manage_dependencies.R), but I think it does not really belong there. It would fit better into a management package like automagic where the search for packages is already implemented.
What do you think? Could this feature become part of automagic?
The text was updated successfully, but these errors were encountered: