-
Notifications
You must be signed in to change notification settings - Fork 152
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
WISH: install_*() to return name of package installed #55
Comments
👍 Great idea! I think it should (ideally) even return some more elaborate structure that includes what exactly happened during install. But the thing is, we will rewrite the dependency resolution and package download process (hopefully) soon, so I will not add this feature now. |
@gaborcsardi @HenrikBengtsson what would be a temporary workaround that gives me the name of the package installed by |
I am afraid that you need to download it: p <- devtools:::github_remote("wesm/feather/R")
pkg <- devtools:::remote_download(p) and then |
Can I feed |
Probably, I don't know.
…On Fri, May 5, 2017 at 2:36 PM, Jeroen Ooms ***@***.***> wrote:
Can I feed pkg back to install to avoid downloading twice?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#55 (comment)>, or mute
the thread
<https://github.com/notifications/unsubscribe-auth/AAoTQImsX1BjvJrjM6LL8uSf8qScSpljks5r2yX0gaJpZM4MJmgh>
.
|
Not all GitHub repositories are named the same way as the R package they install, e.g.
Note, this installs package
Seurat
(capitalized).Would it make sense to have the function return the name of the package installed instead of
TRUE
? (Not sure ifremotes
ever knows about the package name or not).Also, and just guessing, but I don't think you can ever get anything else than
TRUE
returned. For instance, if the repos doesn't exist, you get an error:The text was updated successfully, but these errors were encountered: