You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
WISH: install_*() to return name of package installed #55
Would it make sense to have the function return the name of the package installed instead of TRUE? (Not sure if remotes 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:
changed the title [-]WISH:install_*() to return name of package installed[/-][+]WISH: install_*() to return name of package installed[/+]on Feb 23, 2017
@gaborcsardi@HenrikBengtsson what would be a temporary workaround that gives me the name of the package installed by install_github() with the current version of devtools / remotes ?
Activity
[-]WISH:install_*() to return name of package installed[/-][+]WISH: install_*() to return name of package installed[/+]gaborcsardi commentedon Feb 23, 2017
👍
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.
jeroen commentedon May 5, 2017
@gaborcsardi @HenrikBengtsson what would be a temporary workaround that gives me the name of the package installed by
install_github()with the current version ofdevtools/remotes?gaborcsardi commentedon May 5, 2017
I am afraid that you need to download it:
and then
unzipDESCRIPTIONand look inside withdescorread.dcf.jeroen commentedon May 5, 2017
Can I feed
pkgback toinstallto avoid downloading twice?gaborcsardi commentedon May 5, 2017
Return name of package which was installed