Page 1 of 1

RavenR download/installation error

Posted: Mon Nov 04, 2019 10:38 am
by Ameer
Good morning,
I am trying to download and install the RavenR package following the steps outline in "RavenR_Short_Exercise" tutorial. However, am getting the following error.

Code: Select all

library(devtools)
> devtools::install_github("rchlumsk/RavenR")
Downloading GitHub repo rchlumsk/RavenR@master
These packages have more recent versions available.
Which would you like to update?
 1: All                                 
 2: CRAN packages only                   
 3: None                                 
 4: RSQLite     (2.1.1  -> 2.1.2 ) [CRAN]
 5: tidyr       (0.8.2  -> 1.0.0 ) [CRAN]
and a few more here.........................

Out put after I push 1

Code: Select all

package ‘rlang’ successfully unpacked and MD5 sums checked
Error: Failed to install 'RavenR' from GitHub:
  (converted from warning) cannot remove prior installation of package ‘rlang’

I tried to uninstall RavenR package and re-installing the package but nothing worked. Any way forward please.
Thank you,
Ameer

Re: RavenR download/installation error

Posted: Mon Nov 04, 2019 10:51 am
by rchlumsk
Hi Ameer

This error is related to other packages that are installed on your machine, and there appears to be an issue updating them when the option to update '1: All' is selected. I would suggest that you select either 2 or 3, i.e. update only CRAN packages, which should be accessible for updates without too much trouble, or 3, and just install RavenR without updating other packages.

If that does not work and errors installing persist, please write back and we can continue debugging. If you receive more error messages regarding particular packages, you can also try manually installing/updating individual packages prior to installing RavenR.

Cheers, Rob

Re: RavenR download/installation error

Posted: Mon Nov 04, 2019 11:06 am
by Ameer
Thanks Rob for the express reply. option 2 and 3 didn't work at first. However, installing individual packages and then installing RavenR worked.
Ameer