-
Notifications
You must be signed in to change notification settings - Fork 63
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
Command to install and load packages #196
Comments
Loading the package is a very different operation from installing it, it is better not to mix the two, so we won't add that. |
Clearly, it's different operations, but it's the most typical workflow in the beginning of most R scripts: check if a package is locally installed, install it if not, and load it subsequently. So in this regard |
I don't doubt that people want this kind of function, there is plenty of |
For the record, Most importantly, it would be nice if
could ensure that the required versions are installed, i.e. (The Plus possibly, it could
Anything else? |
Thank you for looking into the idea. Regarding the question about the need for another implementation. https://github.com/trinker/pacman has not been touched for 4 years, so the clock is clicking until it fails to work. That's why I got curious about Regarding your requirements analysis, I've never looked under the hood of p_load and I can't contribute anything substantial here. I feel that p_load is more important than p_load_gh since most packages are released on cran or similar, but 1 out 10 packages comes directly from github in my experience so p_load_gh |
Cool package. One very useful addition would be to have a command similar to
pacman::p_load()
to load packages after installation (if necessary). Do you guys plan to add that?The text was updated successfully, but these errors were encountered: