I am trying to install python wrapper for shapr. During installation step at remotes::install_github("NorskRegnesentral/shapr") I get the following error:
Downloading GitHub repo NorskRegnesentral/shapr@HEAD
Installing 7 packages: parallelly, digest, Rcpp, future, RcppArmadillo, future.apply, data.table
Warning: unable to access index for repository http://cloud.r-project.org/bin/windows/contrib/3.6:
cannot open URL 'http://cloud.r-project.org/bin/windows/contrib/3.6/PACKAGES'
Packages which are only available in source form, and may need
compilation of C/C++/Fortran: 'parallelly' 'digest' 'Rcpp'
'RcppArmadillo' 'data.table'
Do you want to attempt to install these from sources? (Yes/no/cancel) Yes
installing the source packages 'parallelly', 'digest', 'Rcpp', 'future', 'RcppArmadillo', 'future.apply', 'data.table'
The downloaded source packages are in
'C:\Users\prasannm\AppData\Local\Temp\RtmpaUlXQr\downloaded_packages'
Running R CMD build...
checking for file 'C:\Users\prasannm\AppData\Local\Temp\RtmpaUlXQr\remotesf48194844ef\NorskRegnesentral-shapr-ddd32c7/DESCRIPTION' ... OK
preparing 'shapr':
checking DESCRIPTION meta-information ... OK
cleaning src
checking for LF line-endings in source and make files and shell scripts
checking for empty or unneeded directories
building 'shapr_0.2.3.9200.tar.gz'
ERROR: dependencies 'data.table', 'Rcpp', 'future.apply', 'RcppArmadillo' are not available for package 'shapr'
removing 'C:/Programs/Anaconda3/2023.07/Lib/R/library/shapr'
Warning messages:
1: In missing_devel_warning(pkgdir) :
Package shapr has compiled code, but no suitable compiler(s) were found. Installation will likely fail.
Install Rtools (https://cran.r-project.org/bin/windows/Rtools/).Then use the pkgbuild package, or make sure that Rtools in the PATH.2: In i.p(...) :
installation of package 'parallelly' had non-zero exit status
3: In i.p(...) : installation of package 'digest' had non-zero exit status
4: In i.p(...) : installation of package 'Rcpp' had non-zero exit status
5: In i.p(...) :
installation of package 'data.table' had non-zero exit status
6: In i.p(...) : installation of package 'future' had non-zero exit status
7: In i.p(...) :
installation of package 'RcppArmadillo' had non-zero exit status
8: In i.p(...) :
installation of package 'future.apply' had non-zero exit status
9: In i.p(...) : installation of package 'C:/Users/user/AppData/Local/Temp/RtmpaUlXQr/filef483d12fb4/shapr_0.2.3.9200.tar.gz' had non-zero exit status
I have R version 3.6.3 in coda env and the steps pip install rbase and conda install -c r r did not give any error. I also tried remotes::install_github("NorskRegnesentral/shapr", dependencies = TRUE) but it did not help either.
Hi,
I am trying to install python wrapper for shapr. During installation step at
remotes::install_github("NorskRegnesentral/shapr")
I get the following error:I have R version 3.6.3 in coda env and the steps
pip install rbase
andconda install -c r r
did not give any error. I also triedremotes::install_github("NorskRegnesentral/shapr", dependencies = TRUE)
but it did not help either.I appreciate any help to proceed further.