Dear AFNI expert,
I was downloading afni and everything went smoothly but suddenly my internet connection crashed for some reason when I was running the R packages installation command.
Then when I’m going to run the following command:
rPkgsInstall -pkgs ALL
but I got the following message
- installing source package ‘sf’ …
** package ‘sf’ successfully unpacked and MD5 sums checked
configure: CC: gcc -std=gnu99
configure: CXX: g++ -std=gnu++11
checking for gdal-config… no
no
configure: error: gdal-config not found or not executable.
ERROR: configuration failed for package ‘sf’ - removing ‘/home/davide/R/sf’
ERROR: dependency ‘mvtnorm’ is not available for package ‘bridgesampling’ - removing ‘/home/davide/R/bridgesampling’
ERROR: dependency ‘sf’ is not available for package ‘spdep’ - removing ‘/home/davide/R/spdep’
ERROR: dependency ‘bridgesampling’ is not available for package ‘brms’ - removing ‘/home/davide/R/brms’
The downloaded source packages are in
‘/tmp/RtmpVPe7O3/downloaded_packages’
++ Note: @ 13:26:22
This package has been installed on the computer: brms
Warning messages:
1: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘sf’ had non-zero exit status
2: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘bridgesampling’ had non-zero exit status
3: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘spdep’ had non-zero exit status
4: In install.packages(pkgs_miss, dep = TRUE, repos = site) :
installation of package ‘brms’ had non-zero exit status
Any tips?
Thanks
Dave