* installing *source* package ‘archive’ ... ** this is package ‘archive’ version ‘1.1.12’ ** package ‘archive’ successfully unpacked and MD5 sums checked ** using staged installation ** Running ./configure Unknown option --path Found pkg-config cflags and libs! 'config' variable 'CXX11' is defunct 'config' variable 'CXX11FLAGS' is defunct PKG_CONFIG_PATH=/opt/R/arm64/lib/pkgconfig:/usr/lib/pkgconfig:/opt/homebrew/opt/libarchive/lib/pkgconfig PKG_CFLAGS=-I/opt/R/arm64/include PKG_LIBS=-L/opt/R/arm64/lib -larchive -lzstd -llz4 -lbz2 -lz -llzma -pthread -lpthread -lxml2 -lpthread -lz -lm ./configure: line 91: -isystem: command not found --------------------------- [ANTICONF] -------------------------------- Configuration failed because libarchive was not found. Try installing: * deb: libarchive-dev (Debian, Ubuntu, etc) * rpm: libarchive-devel (Fedora, CentOS, RHEL) * csw: libarchive_dev (Solaris) * brew: libarchive (Mac OSX) If libarchive is already installed, check that 'pkg-config' is in your PATH and PKG_CONFIG_PATH contains a libarchive.pc file. If pkg-config is unavailable you can set INCLUDE_DIR and LIB_DIR manually via: R CMD INSTALL --configure-vars='INCLUDE_DIR=... LIB_DIR=...' -------------------------------------------------------------------- ERROR: configuration failed for package ‘archive’ * removing ‘/Users/ripley/R/packages/tests-devel/archive.Rcheck/archive’