Skip to content

Instantly share code, notes, and snippets.

@geoHeil
Created April 10, 2019 13:54
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save geoHeil/e684c14a7fe5731738beaa7084b2d3af to your computer and use it in GitHub Desktop.
Save geoHeil/e684c14a7fe5731738beaa7084b2d3af to your computer and use it in GitHub Desktop.
sf installation log
> install.packages("sf")
Installing package into ‘/Users/geoheil/my_project/packrat/lib/x86_64-apple-darwin18.2.0/3.5.3’
(as ‘lib’ is unspecified)
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 7975k 100 7975k 0 0 2506k 0 0:00:03 0:00:03 --:--:-- 2507k
* installing *source* package ‘sf’ ...
** Paket ‘sf’ erfolgreich entpackt und MD5 Summen überprüft
configure: CC: clang
configure: CXX: clang++ -std=gnu++11
checking for gdal-config... /usr/local/bin/gdal-config
checking gdal-config usability... yes
configure: GDAL: 2.4.1
checking GDAL version >= 2.0.0... yes
checking for gcc... clang
checking whether the C compiler works... yes
checking for C compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether clang accepts -g... yes
checking for clang option to accept ISO C89... none needed
checking how to run the C preprocessor... clang -E
checking for grep that handles long lines and -e... /usr/local/bin/grep
checking for egrep... /usr/local/bin/grep -E
checking for ANSI C header files... rm: conftest.dSYM: is a directory
rm: conftest.dSYM: is a directory
yes
checking for sys/types.h... yes
checking for sys/stat.h... yes
checking for stdlib.h... yes
checking for string.h... yes
checking for memory.h... yes
checking for strings.h... yes
checking for inttypes.h... yes
checking for stdint.h... yes
checking for unistd.h... yes
checking gdal.h usability... yes
checking gdal.h presence... yes
checking for gdal.h... yes
checking GDAL: linking with --libs only... yes
checking GDAL: /usr/local/Cellar/gdal/2.4.1/share/gdal/pcs.csv readable... yes
checking GDAL: checking whether PROJ is available for linking:... yes
checking GDAL: checking whether PROJ is available fur running:... yes
configure: pkg-config proj exists, will use it
checking proj_api.h usability... no
checking proj_api.h presence... no
checking for proj_api.h... no
configure: error: proj_api.h not found in standard or given locations.
ERROR: configuration failed for package ‘sf’
* removing ‘/Users/geoheil/my_project/packrat/lib/x86_64-apple-darwin18.2.0/3.5.3/sf’
Warning in install.packages :
installation of package ‘sf’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/lz/vlbj1rj12dzbvbmj16jbp0k80000gn/T/RtmplDpy0T/downloaded_packages’
Quitting from lines 185-186 (1_dataframes_intro.Rmd)
Quitting from lines 185-186 (1_dataframes_intro.Rmd)
>
@edzer
Copy link

edzer commented Apr 10, 2019

Have you tried

remotes::install_github("r-spatial/sf")

?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment