* installing *source* package ‘TTR.PGM’ ... ** package ‘TTR.PGM’ successfully unpacked and MD5 sums checked ** using staged installation ** libs using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’ using C++17 using SDK: ‘MacOSX11.3.sdk’ clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c make_swc.cpp -o make_swc.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c run_ttr.cpp -o run_ttr.o clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I. -I../inst/include/ -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/RcppArmadillo/include' -I/opt/R/arm64/include -fPIC -falign-functions=64 -Wall -g -O2 -c thorn_photo.cpp -o thorn_photo.o In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:23:44: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:84:43: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:159:40: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:182:43: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:207:36: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:235:35: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:269:36: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:301:40: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:316:39: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:368:32: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ In file included from thorn_photo.cpp:2: In file included from ../inst/include/photosynthesis_functions.hpp:6: ../inst/include/definitions.hpp:450:32: error: implicit instantiation of undefined template 'std::array' inline constexpr EnumNames enum_names{ ^ /Library/Developer/CommandLineTools/SDKs/MacOSX11.sdk/usr/include/c++/v1/__tuple:219:64: note: template is declared here template struct _LIBCPP_TEMPLATE_VIS array; ^ 11 errors generated. make: *** [thorn_photo.o] Error 1 ERROR: compilation failed for package ‘TTR.PGM’ * removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.4/TTR.PGM.Rcheck/TTR.PGM’