Hi,
I got the error below when installing ggVennDiagram
devtools::install_github("gaospecial/ggVennDiagram")
Downloading GitHub repo gaospecial/ggVennDiagram@HEAD
Installing 1 packages: sf
Installing package into ‘/home/raizada/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
trying URL 'https://cloud.r-project.org/src/contrib/sf_1.0-7.tar.gz'
Content type 'application/x-gzip' length 3529597 bytes (3.4 MB)
downloaded 3.4 MB
- installing source package ‘sf’ ...
** package ‘sf’ successfully unpacked and MD5 sums checked
** using staged installation
configure: CC: gcc
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/raizada/R/x86_64-pc-linux-gnu-library/4.2/sf’
The downloaded source packages are in
‘/tmp/Rtmpw8F3op/downloaded_packages’
checking for file ‘/tmp/Rtmpw8F3op/remotes38b9e440aeeb7/gaospecial-ggVennDiagram-db6742d/DESCRIPTION’
─ preparing ‘ggVennDiagram’:
checking DESCRIPTION meta-information ...
─ checking for LF line-endings in source and make files and shell scripts
─ checking for empty or unneeded directories
─ looking to see if a ‘data/datalist’ file should be added
─ building ‘ggVennDiagram_1.2.1.tar.gz’
Installing package into ‘/home/R/x86_64-pc-linux-gnu-library/4.2’
(as ‘lib’ is unspecified)
ERROR: dependency ‘sf’ is not available for package ‘ggVennDiagram’
- removing ‘/home/R/x86_64-pc-linux-gnu-library/4.2/ggVennDiagram’
Warning messages:
1: In i.p(...) : installation of package ‘sf’ had non-zero exit status
2: In i.p(...) :
installation of package ‘/tmp/Rtmpw8F3op/file38b9e158b1ee/ggVennDiagram_1.2.1.tar.gz’ had non-zero exit status