terra
terra copied to clipboard
Issue in installation with "__Z6Rlog1pd"
Hey guys!
I am currently having an issue with the installation of your package. I have an M1 Mac, and the issue might come from some of the dependencies (like Rcpp), but I am not sure. Just in case I tried reinstalling those but nothing has changed. I am going to put here part of the output of my installation attempts:
`> remotes::install_github("rspatial/terra", configure.args = "--with-proj-lib=$(brew --prefix)/lib/") Downloading GitHub repo rspatial/terra@HEAD ── R CMD build ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file ‘/private/var/folders/z8/nrcst881607gn95xh3_4qvb00000gp/T/RtmpZqAcQV/remotes7ec3b0f943f/rspatial-terra-e536db7/DESCRIPTION’ (392ms) ─ preparing ‘terra’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ running ‘cleanup’ ─ checking for LF line-endings in source and make files and shell scripts (435ms) ─ checking for empty or unneeded directories ─ building ‘terra_1.7-65.tar.gz’
- installing source package ‘terra’ ... ** using staged installation configure: CC: arm64-apple-darwin20.0.0-clang configure: CXX: arm64-apple-darwin20.0.0-clang++ -std=gnu++14 checking for gdal-config... /opt/homebrew/bin/gdal-config checking gdal-config usability... yes configure: GDAL: 3.8.1 checking GDAL version >= 2.0.1... yes checking for arm64-apple-darwin20.0.0-gcc... arm64-apple-darwin20.0.0-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 the compiler supports GNU C... yes checking whether arm64-apple-darwin20.0.0-clang accepts -g... yes checking for arm64-apple-darwin20.0.0-clang option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for gdal.h... yes checking GDAL: linking with --libs only... yes checking GDAL: /opt/homebrew/Cellar/gdal/3.8.1_1/share/gdal/pcs.csv readable... no checking GDAL: checking whether PROJ is available for linking:... yes checking GDAL: checking whether PROJ is available for running:... yes configure: GDAL: 3.8.1 configure: pkg-config proj exists, will use it configure: using proj.h. checking PROJ: checking whether PROJ and sqlite3 are available for linking:... yes checking for geos-config... /Users/javierescudero/miniconda3/envs/R423/bin/geos-config checking geos-config usability... yes configure: GEOS: 3.11.2 checking GEOS version >= 3.4.0... yes checking for geos_c.h... yes checking geos: linking with -L/Users/javierescudero/miniconda3/envs/R423/lib -lgeos_c... yes configure: Package CPP flags: -I/opt/homebrew/Cellar/proj/9.3.1/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/Cellar/zstd/1.5.5/include -I/opt/homebrew/Cellar/xz/5.4.5/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.0/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.1_1/include -I/Users/javierescudero/miniconda3/envs/R423/include configure: Package LIBS: -L/opt/homebrew/lib/ -lproj -L/opt/homebrew/Cellar/gdal/3.8.1_1/lib -lgdal -L/Users/javierescudero/miniconda3/envs/R423/lib -lgeos_c configure: creating ./config.status config.status: creating src/Makevars ** libs ------------------------------------------------ STUFF----------------------- arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/javierescudero/miniconda3/envs/R423/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.3.1/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/Cellar/zstd/1.5.5/include -I/opt/homebrew/Cellar/xz/5.4.5/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.0/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.1_1/include -I/Users/javierescudero/miniconda3/envs/R423/include -I'/Users/javierescudero/miniconda3/envs/R423/lib/R/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/javierescudero/miniconda3/envs/R423/include -mmacosx-version-min=11.0 -I/Users/javierescudero/miniconda3/envs/R423/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/javierescudero/miniconda3/envs/R423/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1678912368421/work=/usr/local/src/conda/r-base-4.2.3 -fdebug-prefix-map=/Users/javierescudero/miniconda3/envs/R423=/usr/local/src/conda-prefix -c gdalio.cpp -o gdalio.o gdalio.cpp:450:22: warning: implicit conversion from 'unsigned long long' to 'double' changes value from 18446744073709550514 to 18446744073709549568 [-Wimplicit-const-int-float-conversion] naval = UINT64_MAX - 1101; ~ ~~~~~~~~~~~^~~~~~ 1 warning generated. --------------------------------------------------MORE STUFF--------------------------- installing to /Users/javierescudero/miniconda3/envs/R423/lib/R/library/00LOCK-terra/00new/terra/libs ** R ** inst ** byte-compile and prepare package for lazy loading in method for ‘sds’ with signature ‘x="stars"’: no definition for class “stars” in method for ‘sds’ with signature ‘x="stars_proxy"’: no definition for class “stars_proxy” in method for ‘svc’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"stars","SpatRasterDataset"’: no definition for class “stars” in method for ‘coerce’ with signature ‘"ggmap","SpatRaster"’: no definition for class “ggmap” in method for ‘coerce’ with signature ‘"sf","SpatRaster"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"sf","SpatVector"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"sfc","SpatVector"’: no definition for class “sfc” in method for ‘coerce’ with signature ‘"sfg","SpatVector"’: no definition for class “sfg” in method for ‘coerce’ with signature ‘"XY","SpatVector"’: no definition for class “XY” in method for ‘coerce’ with signature ‘"im","SpatRaster"’: no definition for class “im” in method for ‘coerce’ with signature ‘"SpatVector","Spatial"’: no definition for class “Spatial” in method for ‘coerce’ with signature ‘"Spatial","SpatVector"’: no definition for class “Spatial” in method for ‘coerce’ with signature ‘"SpatialGrid","SpatRaster"’: no definition for class “SpatialGrid” in method for ‘coerce’ with signature ‘"SpatialPixels","SpatRaster"’: no definition for class “SpatialPixels” in method for ‘crs’ with signature ‘"sf"’: no definition for class “sf” Creating a generic function for ‘ncol’ from package ‘base’ in package ‘terra’ in method for ‘distance’ with signature ‘x="SpatRaster",y="sf"’: no definition for class “sf” in method for ‘ext’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘ext’ with signature ‘x="bbox"’: no definition for class “bbox” in method for ‘ext’ with signature ‘x="Extent"’: no definition for class “Extent” in method for ‘ext’ with signature ‘x="Raster"’: no definition for class “Raster” in method for ‘ext’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘extract’ with signature ‘x="SpatRaster",y="sf"’: no definition for class “sf” in method for ‘mask’ with signature ‘x="SpatRaster",mask="sf"’: no definition for class “sf” in method for ‘points’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘lines’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘polys’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘lines’ with signature ‘x="leaflet"’: no definition for class “leaflet” in method for ‘points’ with signature ‘x="leaflet"’: no definition for class “leaflet” in method for ‘rast’ with signature ‘x="stars"’: no definition for class “stars” in method for ‘rast’ with signature ‘x="stars_proxy"’: no definition for class “stars_proxy” in method for ‘rasterize’ with signature ‘x="sf",y="SpatRaster"’: no definition for class “sf” in method for ‘show’ with signature ‘"Rcpp_SpatDataFrame"’: no definition for class “Rcpp_SpatDataFrame” in method for ‘show’ with signature ‘"Rcpp_SpatCategories"’: no definition for class “Rcpp_SpatCategories” in method for ‘geomtype’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘vect’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘vect’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘vect’ with signature ‘x="sfc"’: no definition for class “sfc” in method for ‘vect’ with signature ‘x="XY"’: no definition for class “XY” Creating a generic function for ‘unserialize’ from package ‘base’ in package ‘terra’ Creating a generic function for ‘readRDS’ from package ‘base’ in package ‘terra’ ** help *** installing help indices *** copying figures ** building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘terra’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Users/javierescudero/miniconda3/envs/R423/lib/R/library/00LOCK-terra/00new/terra/libs/terra.dylib': dlopen(/Users/javierescudero/miniconda3/envs/R423/lib/R/library/00LOCK-terra/00new/terra/libs/terra.dylib, 0x0006): symbol not found in flat namespace '__Z6Rlog1pd' Error: loading failed Execution halted ERROR: loading failed
- removing ‘/Users/javierescudero/miniconda3/envs/R423/lib/R/library/terra’ Warning message: In i.p(...) : installation of package ‘/var/folders/z8/nrcst881607gn95xh3_4qvb00000gp/T//RtmpZqAcQV/file7ec359203d0e/terra_1.7-65.tar.gz’ had non-zero exit status `
Thank you for your time!! :))
I think the compiler cannot find the log1p function. That function is defined in <cmath> and I have now added that header to arith.cpp, where log1p is referenced. Maybe that fixes the problem you are having.
Thanks for the swift reply! :)
I have tried reinstalling again with remotes::install_github("rspatial/terra", configure.args = "--with-proj-lib=$(brew --prefix)/lib/") and I still get an error:
`Creating a generic function for ‘ncol’ from package ‘base’ in package ‘terra’ in method for ‘distance’ with signature ‘x="SpatRaster",y="sf"’: no definition for class “sf” in method for ‘ext’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘ext’ with signature ‘x="bbox"’: no definition for class “bbox” in method for ‘ext’ with signature ‘x="Extent"’: no definition for class “Extent” in method for ‘ext’ with signature ‘x="Raster"’: no definition for class “Raster” in method for ‘ext’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘extract’ with signature ‘x="SpatRaster",y="sf"’: no definition for class “sf” in method for ‘mask’ with signature ‘x="SpatRaster",mask="sf"’: no definition for class “sf” in method for ‘points’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘lines’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘polys’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘lines’ with signature ‘x="leaflet"’: no definition for class “leaflet” in method for ‘points’ with signature ‘x="leaflet"’: no definition for class “leaflet” in method for ‘rast’ with signature ‘x="stars"’: no definition for class “stars” in method for ‘rast’ with signature ‘x="stars_proxy"’: no definition for class “stars_proxy” in method for ‘rasterize’ with signature ‘x="sf",y="SpatRaster"’: no definition for class “sf” in method for ‘show’ with signature ‘"Rcpp_SpatDataFrame"’: no definition for class “Rcpp_SpatDataFrame” in method for ‘show’ with signature ‘"Rcpp_SpatCategories"’: no definition for class “Rcpp_SpatCategories” in method for ‘geomtype’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘vect’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘vect’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘vect’ with signature ‘x="sfc"’: no definition for class “sfc” in method for ‘vect’ with signature ‘x="XY"’: no definition for class “XY” Creating a generic function for ‘unserialize’ from package ‘base’ in package ‘terra’ Creating a generic function for ‘readRDS’ from package ‘base’ in package ‘terra’ ** help *** installing help indices *** copying figures ** building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘terra’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Users/javierescudero/miniconda3/envs/R423/lib/R/library/00LOCK-terra/00new/terra/libs/terra.dylib': dlopen(/Users/javierescudero/miniconda3/envs/R423/lib/R/library/00LOCK-terra/00new/terra/libs/terra.dylib, 0x0006): symbol not found in flat namespace '__Z6Rlog1pd' Error: loading failed Execution halted ERROR: loading failed
- removing ‘/Users/javierescudero/miniconda3/envs/R423/lib/R/library/terra’ Warning message: In i.p(...) : installation of package ‘/var/folders/z8/nrcst881607gn95xh3_4qvb00000gp/T//RtmpBH4qO9/file99ea501aee45/terra_1.7-67.tar.gz’ had non-zero exit status`
Was this ever solved? I have the same problem when installing an old version of Seurat in a conda environment. People over in a thread in the seurat repo were mentioning that the issue might stem from Rcpp. I was curious if this error was figured out eventually?
I would also like to know whether this issue was resolved. Here's the output when I try to install terra using remotes
System information
- Macbook Pro M2
- Ventura 13.6.2
`> remotes::install_github("rspatial/terra", configure.args = "--with-proj-lib=$(brew --prefix)/lib/") Using GitHub PAT from the git credential store. Downloading GitHub repo rspatial/terra@HEAD ── R CMD build ──────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────────── ✔ checking for file ‘/private/var/folders/bk/gbxh7f8j26s5zx0j36wx67y80000gn/T/RtmpBTFuGB/remotes1740917f2d6bd/rspatial-terra-f332a70/DESCRIPTION’ (377ms) ─ preparing ‘terra’: ✔ checking DESCRIPTION meta-information ... ─ cleaning src ─ running ‘cleanup’ ─ checking for LF line-endings in source and make files and shell scripts (403ms) ─ checking for empty or unneeded directories ─ building ‘terra_1.7-76.tar.gz’
Installing package into ‘/Users/jeewanthabandara/Library/R/arm64/4.1/library’ (as ‘lib’ is unspecified)
- installing source package ‘terra’ ... ** using staged installation configure: CC: arm64-apple-darwin20.0.0-clang configure: CXX: arm64-apple-darwin20.0.0-clang++ -std=gnu++14 checking for gdal-config... /opt/homebrew/bin/gdal-config checking gdal-config usability... yes configure: GDAL: 3.8.5 checking GDAL version >= 2.0.1... yes checking for arm64-apple-darwin20.0.0-gcc... arm64-apple-darwin20.0.0-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 the compiler supports GNU C... yes checking whether arm64-apple-darwin20.0.0-clang accepts -g... yes checking for arm64-apple-darwin20.0.0-clang option to enable C11 features... none needed checking for stdio.h... yes checking for stdlib.h... yes checking for string.h... yes checking for inttypes.h... yes checking for stdint.h... yes checking for strings.h... yes checking for sys/stat.h... yes checking for sys/types.h... yes checking for unistd.h... yes checking for gdal.h... yes checking GDAL: linking with --libs only... yes checking GDAL: /opt/homebrew/Cellar/gdal/3.8.5_2/share/gdal/pcs.csv readable... no checking GDAL: checking whether PROJ is available for linking:... yes checking GDAL: checking whether PROJ is available for running:... yes configure: GDAL: 3.8.5 configure: pkg-config proj exists, will use it configure: using proj.h. checking PROJ: checking whether PROJ and sqlite3 are available for linking:... yes checking for geos-config... /opt/homebrew/bin/geos-config checking geos-config usability... yes configure: GEOS: 3.12.1 checking GEOS version >= 3.4.0... yes checking for geos_c.h... yes checking geos: linking with -L/opt/homebrew/Cellar/geos/3.12.1/lib -lgeos_c... yes configure: Package CPP flags: -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include configure: Package LIBS: -L/opt/homebrew/lib/ -lproj -L/opt/homebrew/Cellar/gdal/3.8.5_2/lib -lgdal -L/opt/homebrew/Cellar/geos/3.12.1/lib -lgeos_c configure: creating ./config.status config.status: creating src/Makevars ** libs arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c RcppExports.cpp -o RcppExports.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c RcppFunctions.cpp -o RcppFunctions.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c RcppModule.cpp -o RcppModule.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c arith.cpp -o arith.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c crs.cpp -o crs.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c distRaster.cpp -o distRaster.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c distance.cpp -o distance.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c extract.cpp -o extract.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c file_utils.cpp -o file_utils.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c focal.cpp -o focal.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c gcp.cpp -o gcp.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c gdal_algs.cpp -o gdal_algs.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c gdal_multidimensional.cpp -o gdal_multidimensional.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c gdalio.cpp -o gdalio.o arm64-apple-darwin20.0.0-clang -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c geodesic.c -o geodesic.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c geos_methods.cpp -o geos_methods.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c geosphere.cpp -o geosphere.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c math_utils.cpp -o math_utils.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c mediancut.cpp -o mediancut.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c memory.cpp -o memory.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c movingWindow.cpp -o movingWindow.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c ncdf.cpp -o ncdf.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c ram.cpp -o ram.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c raster_methods.cpp -o raster_methods.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c raster_stats.cpp -o raster_stats.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c rasterize.cpp -o rasterize.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c read.cpp -o read.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c read_gdal.cpp -o read_gdal.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c read_ogr.cpp -o read_ogr.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c sample.cpp -o sample.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c sort.cpp -o sort.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatBase.cpp -o spatBase.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatDataframe.cpp -o spatDataframe.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatFactor.cpp -o spatFactor.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatRaster.cpp -o spatRaster.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatRasterMultiple.cpp -o spatRasterMultiple.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatSources.cpp -o spatSources.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatTime.cpp -o spatTime.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatVector.cpp -o spatVector.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c spatVector2.cpp -o spatVector2.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c string_utils.cpp -o string_utils.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c vecmath.cpp -o vecmath.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c vecmathse.cpp -o vecmathse.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c vector_methods.cpp -o vector_methods.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c write.cpp -o write.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c write_gdal.cpp -o write_gdal.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -I"/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/include" -DNDEBUG -I/opt/homebrew/Cellar/proj/9.4.0/include -I/opt/homebrew/Cellar/libtiff/4.6.0/include -I/opt/homebrew/opt/zstd/include -I/opt/homebrew/Cellar/xz/5.4.6/include -I/opt/homebrew/Cellar/jpeg-turbo/3.0.2/include -DHAVE_PROJ_H -I/opt/homebrew/Cellar/gdal/3.8.5_2/include -I/opt/homebrew/Cellar/geos/3.12.1/include -I'/Users/jeewanthabandara/Library/R/arm64/4.1/library/Rcpp/include' -D_FORTIFY_SOURCE=2 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -mmacosx-version-min=11.0 -I/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fPIC -ftree-vectorize -fPIC -fPIE -fstack-protector-strong -O2 -pipe -stdlib=libc++ -fvisibility-inlines-hidden -fmessage-length=0 -isystem /Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/include -fdebug-prefix-map=/Users/runner/miniforge3/conda-bld/r-base-split_1684500376859/work=/usr/local/src/conda/r-base-4.1.3 -fdebug-prefix-map=/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3=/usr/local/src/conda-prefix -c write_ogr.cpp -o write_ogr.o arm64-apple-darwin20.0.0-clang++ -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/lib -Wl,-dead_strip_dylibs -Wl,-pie -Wl,-headerpad_max_install_names -Wl,-dead_strip_dylibs -Wl,-rpath,/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib -L/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib -o terra.dylib RcppExports.o RcppFunctions.o RcppModule.o arith.o crs.o distRaster.o distance.o extract.o file_utils.o focal.o gcp.o gdal_algs.o gdal_multidimensional.o gdalio.o geodesic.o geos_methods.o geosphere.o math_utils.o mediancut.o memory.o movingWindow.o ncdf.o ram.o raster_methods.o raster_stats.o rasterize.o read.o read_gdal.o read_ogr.o sample.o sort.o spatBase.o spatDataframe.o spatFactor.o spatRaster.o spatRasterMultiple.o spatSources.o spatTime.o spatVector.o spatVector2.o string_utils.o vecmath.o vecmathse.o vector_methods.o write.o write_gdal.o write_ogr.o -L/opt/homebrew/lib/ -lproj -L/opt/homebrew/Cellar/gdal/3.8.5_2/lib -lgdal -L/opt/homebrew/Cellar/geos/3.12.1/lib -lgeos_c -L/Users/jeewanthabandara/anaconda3/envs/jeew_r_dev_3/lib/R/lib -lR -Wl,-framework -Wl,CoreFoundation ld: warning: -pie being ignored. It is only used when linking a main executable installing to /Users/jeewanthabandara/Library/R/arm64/4.1/library/00LOCK-terra/00new/terra/libs ** R ** inst ** byte-compile and prepare package for lazy loading in method for ‘sds’ with signature ‘x="stars"’: no definition for class “stars” in method for ‘sds’ with signature ‘x="stars_proxy"’: no definition for class “stars_proxy” in method for ‘svc’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"stars","SpatRasterDataset"’: no definition for class “stars” in method for ‘coerce’ with signature ‘"ggmap","SpatRaster"’: no definition for class “ggmap” in method for ‘coerce’ with signature ‘"sf","SpatRaster"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"sf","SpatVector"’: no definition for class “sf” in method for ‘coerce’ with signature ‘"sfc","SpatVector"’: no definition for class “sfc” in method for ‘coerce’ with signature ‘"sfg","SpatVector"’: no definition for class “sfg” in method for ‘coerce’ with signature ‘"XY","SpatVector"’: no definition for class “XY” in method for ‘coerce’ with signature ‘"im","SpatRaster"’: no definition for class “im” in method for ‘coerce’ with signature ‘"SpatVector","Spatial"’: no definition for class “Spatial” in method for ‘coerce’ with signature ‘"Spatial","SpatVector"’: no definition for class “Spatial” in method for ‘coerce’ with signature ‘"SpatialGrid","SpatRaster"’: no definition for class “SpatialGrid” in method for ‘coerce’ with signature ‘"SpatialPixels","SpatRaster"’: no definition for class “SpatialPixels” in method for ‘crs’ with signature ‘"sf"’: no definition for class “sf” Creating a generic function for ‘ncol’ from package ‘base’ in package ‘terra’ in method for ‘distance’ with signature ‘x="SpatRaster",y="sf"’: no definition for class “sf” in method for ‘ext’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘ext’ with signature ‘x="bbox"’: no definition for class “bbox” in method for ‘ext’ with signature ‘x="Extent"’: no definition for class “Extent” in method for ‘ext’ with signature ‘x="Raster"’: no definition for class “Raster” in method for ‘ext’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘extract’ with signature ‘x="SpatRaster",y="sf"’: no definition for class “sf” in method for ‘mask’ with signature ‘x="SpatRaster",mask="sf"’: no definition for class “sf” in method for ‘points’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘lines’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘polys’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘lines’ with signature ‘x="leaflet"’: no definition for class “leaflet” in method for ‘points’ with signature ‘x="leaflet"’: no definition for class “leaflet” in method for ‘rast’ with signature ‘x="stars"’: no definition for class “stars” in method for ‘rast’ with signature ‘x="stars_proxy"’: no definition for class “stars_proxy” in method for ‘rasterize’ with signature ‘x="sf",y="SpatRaster"’: no definition for class “sf” in method for ‘show’ with signature ‘"Rcpp_SpatDataFrame"’: no definition for class “Rcpp_SpatDataFrame” in method for ‘show’ with signature ‘"Rcpp_SpatCategories"’: no definition for class “Rcpp_SpatCategories” in method for ‘geomtype’ with signature ‘x="Spatial"’: no definition for class “Spatial” Creating a generic function for ‘identical’ from package ‘base’ in package ‘terra’ in method for ‘vect’ with signature ‘x="Spatial"’: no definition for class “Spatial” in method for ‘vect’ with signature ‘x="sf"’: no definition for class “sf” in method for ‘vect’ with signature ‘x="sfc"’: no definition for class “sfc” in method for ‘vect’ with signature ‘x="XY"’: no definition for class “XY” Creating a generic function for ‘unserialize’ from package ‘base’ in package ‘terra’ Creating a generic function for ‘readRDS’ from package ‘base’ in package ‘terra’ ** help *** installing help indices *** copying figures ** building package indices ** testing if installed package can be loaded from temporary location Error: package or namespace load failed for ‘terra’ in dyn.load(file, DLLpath = DLLpath, ...): unable to load shared object '/Users/jeewanthabandara/Library/R/arm64/4.1/library/00LOCK-terra/00new/terra/libs/terra.dylib': dlopen(/Users/jeewanthabandara/Library/R/arm64/4.1/library/00LOCK-terra/00new/terra/libs/terra.dylib, 0x0006): symbol not found in flat namespace '__Z6Rlog1pd' Error: loading failed Execution halted ERROR: loading failed
- removing ‘/Users/jeewanthabandara/Library/R/arm64/4.1/library/terra’ Warning message: In i.p(...) : installation of package ‘/var/folders/bk/gbxh7f8j26s5zx0j36wx67y80000gn/T//RtmpBTFuGB/file1740947f01e93/terra_1.7-76.tar.gz’ had non-zero exit status`
Thank you very much!
The first thing to do is to see if you can install "sf" (to see whether this is specific to something in "terra", or more general). But whichever the case may be, these issues all appear to be related to, and specific to, installing "terra" in a conda environment. I have no experience with that, and it seems that nobody out here can provide help. So the best I can do is suggest asking the conda people for help.