Running examples in ‘plogr-Ex.R’ failed
The error most likely occurred in:

> ### Name: plogr-package
> ### Title: plogr: The 'plog' C++ Logging Library
> ### Aliases: plogr plogr-package
> 
> ### ** Examples
> 
> plogr_demo <- Rcpp::cppFunction(depends = "plogr", '
+ // C++ code begin
+ #include <plogr.h>
+ 
+ RObject plogr_demo() {
+   plog::init_r(plog::info);
+   LOG_INFO << "shown";
+   LOG_DEBUG << "not shown";
+   plog::init_r("DEBUG");
+   LOG_DEBUG << "shown now";
+   return R_NilValue;
+ }
+ 
+ #include <Rcpp.h> // not necessary to use plogr
+ // C++ code end
+ '
+ )
using C++ compiler: ‘clang version 21.1.8’
make[1]: Entering directory '/tmp/RtmpfcRINb/working_dir/RtmpqvzQJl/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_2d920b5aca990f'
/usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/R-clang/include" -DNDEBUG   -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-clang/plogr.Rcheck/plogr/include" -I"/tmp/RtmpfcRINb/working_dir/RtmpqvzQJl/sourceCpp-x86_64-pc-linux-gnu-1.1.1" -isystem /usr/local/clang21/include -I/usr/local/clang/include    -fpic  -O3 -Wall -pedantic -frtti -Wp,-D_FORTIFY_SOURCE=3 -Wno-missing-template-arg-list-after-template-kw   -c file2d920b49fb7f13.cpp -o file2d920b49fb7f13.o
In file included from file2d920b49fb7f13.cpp:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/plogr.Rcheck/plogr/include/plogr.h:4:
In file included from /data/gannet/ripley/R/packages/tests-clang/plogr.Rcheck/plogr/include/plog/Log.h:7:
/data/gannet/ripley/R/packages/tests-clang/plogr.Rcheck/plogr/include/plog/Record.h:37:23: error: overload resolution selected deleted operator '<<'
   37 |             m_message << data;
      |             ~~~~~~~~~ ^  ~~~~
/data/gannet/ripley/R/packages/tests-clang/plogr.Rcheck/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<<wchar_t[2]>' requested here
   30 |             *this << str;
      |                   ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:626:31: note: candidate function [with _Traits = std::char_traits<char>] has been explicitly deleted
  626 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, const wchar_t*) = delete;
      |                               ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:143:18: note: candidate function
  143 |   basic_ostream& operator<<(bool __n);
      |                  ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:155:18: note: candidate function
  155 |   basic_ostream& operator<<(const void* __p);
      |                  ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:349:55: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument
  349 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, char __cn) {
      |                                                       ^                                                ~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:376:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char' for 2nd argument
  376 | _LIBCPP_HIDE_FROM_ABI basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>& __os, char __c) {
      |                                                     ^                                              ~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:381:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'signed char' for 2nd argument
  381 | _LIBCPP_HIDE_FROM_ABI basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>& __os, signed char __c) {
      |                                                     ^                                              ~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:386:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'unsigned char' for 2nd argument
  386 | _LIBCPP_HIDE_FROM_ABI basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>& __os, unsigned char __c) {
      |                                                     ^                                              ~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:398:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument
  398 | operator<<(basic_ostream<_CharT, _Traits>& __os, const char* __strn) {
      | ^                                                ~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:437:53: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char *' for 2nd argument
  437 | _LIBCPP_HIDE_FROM_ABI basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>& __os, const char* __str) {
      |                                                     ^                                              ~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:443:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const signed char *' for 2nd argument
  443 | operator<<(basic_ostream<char, _Traits>& __os, const signed char* __str) {
      | ^                                              ~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:450:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const unsigned char *' for 2nd argument
  450 | operator<<(basic_ostream<char, _Traits>& __os, const unsigned char* __str) {
      | ^                                              ~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:588:1: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const error_code' for 2nd argument
  588 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __ec) {
      | ^                                                ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:623:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'wchar_t' for 2nd argument
  623 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, wchar_t) = delete;
      |                               ^                                         ~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:644:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char8_t' for 2nd argument
  644 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, char8_t) = delete;
      |                               ^                                         ~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:650:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char8_t *' for 2nd argument
  650 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, const char8_t*) = delete;
      |                               ^                                         ~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:657:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char16_t' for 2nd argument
  657 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, char16_t) = delete;
      |                               ^                                         ~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:660:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'char32_t' for 2nd argument
  660 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, char32_t) = delete;
      |                               ^                                         ~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:663:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char16_t *' for 2nd argument
  663 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, const char16_t*) = delete;
      |                               ^                                         ~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:666:31: note: candidate function template not viable: no known conversion from 'const wchar_t[2]' to 'const char32_t *' for 2nd argument
  666 | basic_ostream<char, _Traits>& operator<<(basic_ostream<char, _Traits>&, const char32_t*) = delete;
      |                               ^                                         ~~~~~~~~~~~~~~~
/data/gannet/ripley/R/test-clang/Rcpp/include/Rcpp/complex.h:76:23: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'const Rcomplex' for 2nd argument
   76 | inline std::ostream & operator<<(std::ostream &os, const Rcomplex& cplx) {
      |                       ^                            ~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:344:55: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'const wchar_t *')
  344 | _LIBCPP_HIDE_FROM_ABI basic_ostream<_CharT, _Traits>& operator<<(basic_ostream<_CharT, _Traits>& __os, _CharT __c) {
      |                                                       ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:392:1: note: candidate template ignored: deduced conflicting types for parameter '_CharT' ('char' vs. 'wchar_t')
  392 | operator<<(basic_ostream<_CharT, _Traits>& __os, const _CharT* __str) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/__cstddef/byte.h:63:38: note: candidate template ignored: requirement 'is_integral<const wchar_t *>::value' was not satisfied [with _Integer = const wchar_t *]
   63 | _LIBCPP_HIDE_FROM_ABI constexpr byte operator<<(byte __lhs, _Integer __shift) noexcept {
      |                                      ^
/usr/local/clang21/bin/../include/c++/v1/__random/uniform_int_distribution.h:234:1: note: candidate template ignored: could not match 'const uniform_int_distribution<_IT>' against 'const wchar_t[2]'
  234 | operator<<(basic_ostream<_CharT, _Traits>& __os, const uniform_int_distribution<_IT>& __x) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:569:33: note: candidate template ignored: requirement 'integral_constant<bool, false>::value' was not satisfied [with _Stream = util::nstringstream &, _Tp = wchar_t[2]]
  569 | _LIBCPP_HIDE_FROM_ABI _Stream&& operator<<(_Stream&& __os, const _Tp& __x) {
      |                                 ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:576:1: note: candidate template ignored: could not match 'const basic_string<_CharT, _Traits, _Allocator>' against 'const wchar_t[2]'
  576 | operator<<(basic_ostream<_CharT, _Traits>& __os, const basic_string<_CharT, _Traits, _Allocator>& __str) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:582:1: note: candidate template ignored: could not match 'basic_string_view<_CharT, _Traits>' against 'const wchar_t *'
  582 | operator<<(basic_ostream<_CharT, _Traits>& __os, basic_string_view<_CharT, _Traits> __sv) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:594:1: note: candidate template ignored: could not match 'const shared_ptr<_Yp>' against 'const wchar_t[2]'
  594 | operator<<(basic_ostream<_CharT, _Traits>& __os, shared_ptr<_Yp> const& __p) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:608:1: note: candidate template ignored: could not match 'const unique_ptr<_Yp, _Dp>' against 'const wchar_t[2]'
  608 | operator<<(basic_ostream<_CharT, _Traits>& __os, unique_ptr<_Yp, _Dp> const& __p) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:614:1: note: candidate template ignored: could not match 'const bitset<_Size>' against 'const wchar_t[2]'
  614 | operator<<(basic_ostream<_CharT, _Traits>& __os, const bitset<_Size>& __x) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:629:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream'
  629 | basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, char16_t) = delete;
      |                                  ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:632:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream'
  632 | basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, char32_t) = delete;
      |                                  ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:635:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream'
  635 | basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, const char16_t*) = delete;
      |                                  ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:638:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream'
  638 | basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, const char32_t*) = delete;
      |                                  ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:647:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream'
  647 | basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, char8_t) = delete;
      |                                  ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:653:34: note: candidate template ignored: could not match 'basic_ostream' against 'util::basic_stringstream'
  653 | basic_ostream<wchar_t, _Traits>& operator<<(basic_ostream<wchar_t, _Traits>&, const char8_t*) = delete;
      |                                  ^
/usr/local/clang21/bin/../include/c++/v1/iomanip:293:1: note: candidate template ignored: could not match 'const __iom_t8<_MoneyT>' against 'const wchar_t[2]'
  293 | operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t8<_MoneyT>& __x) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/iomanip:390:1: note: candidate template ignored: could not match 'const __iom_t10<_CharT>' against 'const wchar_t[2]'
  390 | operator<<(basic_ostream<_CharT, _Traits>& __os, const __iom_t10<_CharT>& __x) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/complex:1377:1: note: candidate template ignored: could not match 'const complex<_Tp>' against 'const wchar_t[2]'
 1377 | operator<<(basic_ostream<_CharT, _Traits>& __os, const complex<_Tp>& __x) {
      | ^
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:79:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ostream &(*)(ostream &)' for 1st argument
   79 |   inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(basic_ostream& (*__pf)(basic_ostream&)) {
      |                                                        ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:84:3: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_ios<char_type, traits_type> &(*)(basic_ios<char_type, traits_type> &)' (aka 'basic_ios<char, std::char_traits<char>> &(*)(basic_ios<char, std::char_traits<char>> &)') for 1st argument
   84 |   operator<<(basic_ios<char_type, traits_type>& (*__pf)(basic_ios<char_type, traits_type>&)) {
      |   ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:89:56: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'ios_base &(*)(ios_base &)' for 1st argument
   89 |   inline _LIBCPP_HIDE_FROM_ABI_AFTER_V1 basic_ostream& operator<<(ios_base& (*__pf)(ios_base&)) {
      |                                                        ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:144:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'short' for 1st argument
  144 |   basic_ostream& operator<<(short __n);
      |                  ^          ~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:145:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned short' for 1st argument
  145 |   basic_ostream& operator<<(unsigned short __n);
      |                  ^          ~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:146:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'int' for 1st argument
  146 |   basic_ostream& operator<<(int __n);
      |                  ^          ~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:147:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned int' for 1st argument
  147 |   basic_ostream& operator<<(unsigned int __n);
      |                  ^          ~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:148:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long' for 1st argument
  148 |   basic_ostream& operator<<(long __n);
      |                  ^          ~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:149:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long' for 1st argument
  149 |   basic_ostream& operator<<(unsigned long __n);
      |                  ^          ~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:150:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long long' for 1st argument
  150 |   basic_ostream& operator<<(long long __n);
      |                  ^          ~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:151:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'unsigned long long' for 1st argument
  151 |   basic_ostream& operator<<(unsigned long long __n);
      |                  ^          ~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:152:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'float' for 1st argument
  152 |   basic_ostream& operator<<(float __f);
      |                  ^          ~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:153:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'double' for 1st argument
  153 |   basic_ostream& operator<<(double __f);
      |                  ^          ~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:154:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'long double' for 1st argument
  154 |   basic_ostream& operator<<(long double __f);
      |                  ^          ~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:163:18: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'basic_streambuf<char_type, traits_type> *' (aka 'basic_streambuf<char, std::char_traits<char>> *') for 1st argument
  163 |   basic_ostream& operator<<(basic_streambuf<char_type, traits_type>* __sb);
      |                  ^          ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/usr/local/clang21/bin/../include/c++/v1/__ostream/basic_ostream.h:168:40: note: candidate function not viable: no known conversion from 'const wchar_t[2]' to 'nullptr_t' (aka 'std::nullptr_t') for 1st argument
  168 |   _LIBCPP_HIDE_FROM_ABI basic_ostream& operator<<(nullptr_t) { return *this << "nullptr"; }
      |                                        ^          ~~~~~~~~~
1 error generated.
make[1]: *** [/data/gannet/ripley/R/R-clang/etc/Makeconf:197: file2d920b49fb7f13.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/tmp/RtmpfcRINb/working_dir/RtmpqvzQJl/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_2d920b5aca990f'
Error in sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir,  : 
  Error 1 occurred building shared library.
Calls: <Anonymous> -> sourceCpp
Execution halted