2937#> In file included from /usr/include/c++/10/unordered_map:35,
2938#> from sbo.h:5,
2939#> from PrefixCompletion.cpp:1:
2940#> /usr/include/c++/10/bits/c++0x_warning.h:32:2: error: #error This file requires compiler and library support for the ISO C++ 2011 standard. This support must be enabled with the -std=c++11 or -std=gnu++11 compiler options.
2941#> 32 | #error This file requires compiler and library support \
2942#> | ^~~~~
2943#> In file included from PrefixCompletion.cpp:1:
2944#> sbo.h:14:26: error: ‘unordered_map’ is not a member of ‘std’
2945#> 14 | std::vector> freqs_;
2946#> | ^~~~~~~~~~~~~
2947#> sbo.h:14:26: note: ‘std::unordered_map’ is only available from C++11 onwards
2948#> sbo.h:14:26: error: ‘unordered_map’ is not a member of ‘std’
2949#> sbo.h:14:26: note: ‘std::unordered_map’ is only available from C++11 onwards
2950#> sbo.h:14:56: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
2951#> 14 | std::vector> freqs_;
2952#> | ^~
2953#> sbo.h:14:56: error: template argument 1 is invalid
2954#> sbo.h:23:32: error: ‘unordered_map’ is not a member of ‘std’
2955#> 23 | const std::vector>& freqs() const
2956#> | ^~~~~~~~~~~~~
2957#> sbo.h:23:32: note: ‘std::unordered_map’ is only available from C++11 onwards
2958#> sbo.h:23:32: error: ‘unordered_map’ is not a member of ‘std’
2959#> sbo.h:23:32: note: ‘std::unordered_map’ is only available from C++11 onwards
2960#> sbo.h:23:62: error: spurious ‘>>’, use ‘>’ to terminate a template argument list
2961#> 23 | const std::vector>& freqs() const
2962#> | ^~
2963#> sbo.h:23:62: error: template argument 1 is invalid
2964#> sbo.h:35:50: error: ‘>>’ should be ‘> >’ within a nested template argument list
2965#> 35 | std::vector> pc;
2966#> | ^~
2967#> | > >
2968#> PrefixCompletion.cpp: In constructor ‘PrefixCompletion::PrefixCompletion(const List&)’:
2969#> PrefixCompletion.cpp:5:10: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
2970#> 5 | N{object.attr("N")}, L{object.attr("L")}, EOS{object.attr("EOS")}
2971#> | ^
2972#> PrefixCompletion.cpp:5:31: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
2973#> 5 | N{object.attr("N")}, L{object.attr("L")}, EOS{object.attr("EOS")}
2974#> | ^
2975#> PrefixCompletion.cpp:5:54: warning: extended initializer lists only available with ‘-std=c++11’ or ‘-std=gnu++11’
2976#> 5 | N{object.attr("N")}, L{object.attr("L")}, EOS{object.attr("EOS")}
2977#> | ^
2978#> PrefixCompletion.cpp:5:73: error: call of overloaded ‘basic_string()’ is ambiguous
2979#> 5 | N{object.attr("N")}, L{object.attr("L")}, EOS{object.attr("EOS")}
2980#> | ^
2981#> In file included from /usr/include/c++/10/string:55,
2982#> from /home/docker/R/Rcpp/include/Rcpp/macros/macros.h:25,
2983#> from /home/docker/R/Rcpp/include/Rcpp/r/headers.h:69,
2984#> from /home/docker/R/Rcpp/include/RcppCommon.h:29,
2985#> from /home/docker/R/Rcpp/include/Rcpp.h:27,
2986#> from sbo.h:1,
2987#> from PrefixCompletion.cpp:1:
2988#> /usr/include/c++/10/bits/basic_string.h:525:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _CharT*, const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’
2989#> 525 | basic_string(const _CharT* __s, const _Alloc& __a = _Alloc())
2990#> | ^~~~~~~~~~~~
2991#> /usr/include/c++/10/bits/basic_string.h:448:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’
2992#> 448 | basic_string(const basic_string& __str)
2993#> | ^~~~~~~~~~~~
2994#> /usr/include/c++/10/bits/basic_string.h:440:7: note: candidate: ‘std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::basic_string(const _Alloc&) [with _CharT = char; _Traits = std::char_traits; _Alloc = std::allocator]’
2995#> 440 | basic_string(const _Alloc& __a) _GLIBCXX_NOEXCEPT
2996#> | ^~~~~~~~~~~~
2997#> PrefixCompletion.cpp:7:42: error: ‘>>’ should be ‘> >’ within a nested template argument list
2998#> 7 | dict = as>(object.attr("dict"));
2999#> | ^~
3000#> | > >
3001#> make: *** [/usr/local/lib/R/etc/Makeconf:177: PrefixCompletion.o] Error 1
3002#> ERROR: compilation failed for package ‘sbo’
3003#> * removing ‘/home/docker/R/sbo’
3004#> Warning message:
3005#> In i.p(...) :
3006#> installation of package ‘/tmp/RtmpHrNntD/file143bd854f6/sbo_0.4.0.9000.tar.gz’ had non-zero exit status