Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Error while installing RSelenium in R

Tags:

r

rselenium

I am getting following error when I try to install the RSelenium package.

install.packages("RSelenium")  
Installing package into ‘C:/Users/nshukla/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)  
Warning in install.packages :  
  dependency ‘binman’ is not available  
also installing the dependencies ‘subprocess’, ‘semver’, ‘wdman’

There is a binary version available but the source version is later:
             binary source needs_compilation  
  RSelenium  1.6.2  1.7.1             FALSE    

Packages which are only available in source form, and may need compilation of C/C++/Fortran:  
  ‘subprocess’ ‘semver’  
  These will not be installed
installing the source packages ‘wdman’, ‘RSelenium’

trying URL 'https://cran.rstudio.com/src/contrib/wdman_0.2.2.tar.gz'  
Content type 'application/x-gzip' length 26342 bytes (25 KB)  
downloaded 25 KB  

trying URL 'https://cran.rstudio.com/src/contrib/RSelenium_1.7.1.tar.gz'  
Content type 'application/x-gzip' length 4303990 bytes (4.1 MB)  
downloaded 4.1 MB  

ERROR: dependencies 'binman', 'subprocess', 'semver' are not available for package 'wdman'
* removing 'C:/Users/nshukla/Documents/R/win-library/3.2/wdman'
Warning in install.packages : running command
'"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -1
"C:\Users\nshukla\Documents\R\win-library\3.2"
C:\Users\nshukla\AppData\Local\Temp\RtmpuAuA2g/downloaded_packages/wdman_0.2.2.tar.gz'
had status 1

Warning in install.packages : installation of package
‘wdman’ had non-zero exit status ERROR: dependencies 'wdman', 'binman' are not available for package 'RSelenium'
* removing 'C:/Users/nshukla/Documents/R/win-library/3.2/RSelenium'

Warning in install.packages : running command
'"C:/PROGRA~1/R/R-32~1.3/bin/x64/R" CMD INSTALL -l
"C:\Users\nshukla\Documents\R\win-library\3.2"
C:\Users\nshukla\AppData\Local\Temp\RtmpuAuA2g/downloaded_packages/RSelenium_1.7.1.tar.gz' had status 1

Warning in install.packages : installation of package ‘RSelenium’ had non-zero exit status

like image 999
nagu Avatar asked Mar 09 '23 18:03

nagu


1 Answers

The binman package imports semver to parse semantic version strings. This depends on C++11. A version of R >= 3.3.0 is needed to install this. You would need to upgrade your version of R.

like image 111
jdharrison Avatar answered Mar 21 '23 01:03

jdharrison