Rパッケージインストール時に詰まるであろう箇所のメモ。
環境(バージョン)
$ cat /etc/debian_version 11.6 $ R --version R version 4.0.4 (2021-02-15) -- "Lost Library Book" Copyright (C) 2021 The R Foundation for Statistical Computing Platform: x86_64-pc-linux-gnu (64-bit) ... $
opensslv.hが存在しないよエラー
fatal error: openssl/opensslv.h: No such file or directory
gdalが存在しないよ このバージョンのRでは使えないよエラー
... configure: error: gdal-config not found or not executable ...
install.packages("gdal-config") をR上で試行してもエラーを吐く。
> install.packages("gdal") Installing package into ‘/usr/local/lib/R/site-library’ (as ‘lib’ is unspecified) Warning message: package ‘gdal’ is not available for this version of R ...