* installing *source* package ‘adaR’ ...
** package ‘adaR’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c adaR.cpp -o adaR.o
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.4/Rcpp/include' -I/opt/R/arm64/include    -fPIC  -falign-functions=64 -Wall -g -O2   -c urldecode.cpp -o urldecode.o
In file included from adaR.cpp:1:
In file included from ./adaR.h:5:
In file included from ./ada/ada.cpp:3:
./ada/ada.h:4401:8: error: expected concept name with optional arguments
  } -> std::same_as<std::optional<typename T::regex_type>>;
       ^
./ada/ada.h:4406:8: error: expected concept name with optional arguments
  } -> std::same_as<std::optional<std::vector<std::optional<std::string>>>>;
       ^
./ada/ada.h:4411:8: error: expected concept name with optional arguments
  } -> std::same_as<bool>;
       ^
./ada/ada.h:4414:38: error: expected concept name with optional arguments
  { T(std::declval<const T&>()) } -> std::same_as<T>;
                                     ^
./ada/ada.h:4417:33: error: expected concept name with optional arguments
  { T(std::declval<T&&>()) } -> std::same_as<T>;
                                ^
./ada/ada.h:4486:16: error: expected concept name with optional arguments
  { f(sv) } -> std::same_as<tl::expected<std::string, errors>>;
               ^
./ada/ada.h:5597:13: error: unknown type name 'url_pattern_encoding_callback'
  template <url_pattern_encoding_callback F>
            ^
./ada/ada.h:5599:31: error: unknown type name 'F'
      std::string_view input, F& encoding_callback,
                              ^
./ada/ada.h:5889:11: error: unknown type name 'url_pattern_encoding_callback'
template <url_pattern_encoding_callback F>
          ^
./ada/ada.h:5892:22: error: unknown type name 'F'
  url_pattern_parser(F& encoding_callback_,
                     ^
./ada/ada.h:5921:3: error: unknown type name 'F'
  F& encoding_callback;
  ^
./ada/ada.h:6137:11: error: unknown type name 'url_pattern_encoding_callback'
template <url_pattern_encoding_callback F>
          ^
./ada/ada.h:6140:5: error: unknown type name 'F'
    F& encoding_callback);
    ^
./ada/ada.h:9214:10: fatal error: 'ranges' file not found
#include <ranges>
         ^~~~~~~~
14 errors generated.
make: *** [adaR.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘adaR’
* removing ‘/Volumes/Builds/packages/big-sur-arm64/results/4.4/adaR.Rcheck/adaR’