Skip to content

How are packages installed with install_github() updated in RStudio?

5 messages · Michal Kvasnička, John Kane, Hadley Wickham +1 more

#
Hallo.

I use RStudio. Because of a bug in the latest CRAN version of dplyr, I
installed the GitHub version with install_github(). Now I wonder what
happens when there is a new version. Does RStudio update the packages
installed from GitHub? If so, does it replace it with the new CRAN version,
or a new GitHub version?

Many thanks for you answer,
Michal Kvasnicka
#
Hi Michal,

Because RStudio seems to use its own method of updating you might be better off asking in their forum. 

John Kane
Kingston ON Canada
____________________________________________________________
Can't remember your password? Do you need a strong and secure password?
Use Password manager! It stores your passwords & protects your account.
#
RStudio just calls the same underlying R functions, so it doesn't make
any difference that you're using RStudio.  Currently, there's no
automatic way to update packages installed from github.

Hadley
On Tue, Aug 18, 2015 at 8:14 AM, John Kane <jrkrideau at inbox.com> wrote:

  
    
#
Thanks Hadley

I had some vague impression that RStudio was maintaining a slightly diffferent repository thought I am not sure why I thought that.
John Kane
Kingston ON Canada
____________________________________________________________
FREE 3D MARINE AQUARIUM SCREENSAVER - Watch dolphins, sharks & orcas on your desktop!
#
On 18/08/2015 10:01 AM, Hadley Wickham wrote:
And to clarify a bit more:  this means if you install a patched version
of something from github that is newer than what is on CRAN, then call
update.packages(), you'll keep the new one as long as the version number
is higher than the one on CRAN.

On the other hand, if you run install.packages("foo"), then you'll
install the CRAN version of foo even if you already have a newer one
from github.

Duncan Murdoch