* installing *source* package ‘adaR’ ...
** this is package ‘adaR’ version ‘0.4.0’
** 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.1.sdk’
/bin/sh: -d: invalid option
Usage:	/bin/sh [GNU long option] [option] ...
	/bin/sh [GNU long option] [option] script-file ...
GNU long options:
	--debug
	--debugger
	--dump-po-strings
	--dump-strings
	--help
	--init-file
	--login
	--noediting
	--noprofile
	--norc
	--posix
	--protected
	--rcfile
	--restricted
	--verbose
	--version
	--wordexp
Shell options:
	-irsD or -c command or -O shopt_option		(invocation only)
	-abefhkmnptuvxBCHP or -o option
clang++ -arch arm64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.5/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.5/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.5/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:4528:8: error: expected concept name with optional arguments
  } -> std::same_as<std::optional<typename T::regex_type>>;
       ^
./ada/ada.h:4533:8: error: expected concept name with optional arguments
  } -> std::same_as<std::optional<std::vector<std::optional<std::string>>>>;
       ^
./ada/ada.h:4538:8: error: expected concept name with optional arguments
  } -> std::same_as<bool>;
       ^
./ada/ada.h:4541:38: error: expected concept name with optional arguments
  { T(std::declval<const T&>()) } -> std::same_as<T>;
                                     ^
./ada/ada.h:4544:33: error: expected concept name with optional arguments
  { T(std::declval<T&&>()) } -> std::same_as<T>;
                                ^
./ada/ada.h:4613:16: error: expected concept name with optional arguments
  { f(sv) } -> std::same_as<tl::expected<std::string, errors>>;
               ^
./ada/ada.h:5762:13: error: unknown type name 'url_pattern_encoding_callback'
  template <url_pattern_encoding_callback F>
            ^
./ada/ada.h:5764:31: error: unknown type name 'F'
      std::string_view input, F& encoding_callback,
                              ^
./ada/ada.h:6054:11: error: unknown type name 'url_pattern_encoding_callback'
template <url_pattern_encoding_callback F>
          ^
./ada/ada.h:6057:22: error: unknown type name 'F'
  url_pattern_parser(F& encoding_callback_,
                     ^
./ada/ada.h:6086:3: error: unknown type name 'F'
  F& encoding_callback;
  ^
./ada/ada.h:6307:11: error: unknown type name 'url_pattern_encoding_callback'
template <url_pattern_encoding_callback F>
          ^
./ada/ada.h:6310:5: error: unknown type name 'F'
    F& encoding_callback);
    ^
./ada/ada.h:9552: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.5/adaR.Rcheck/adaR’