* using log directory ‘/data/gannet/ripley/R/packages/tests-CXX20-clang/plogr.Rcheck’ * using R Under development (unstable) (2026-01-29 r89354) * using platform: x86_64-pc-linux-gnu * R was compiled by clang version 21.1.8 flang version 21.1.8 * running under: Fedora Linux 42 (Workstation Edition) * using session charset: UTF-8 * using option ‘--no-stop-on-test-error’ * checking for file ‘plogr/DESCRIPTION’ ... OK * this is package ‘plogr’ version ‘0.2.0’ * package encoding: UTF-8 * checking package namespace information ... OK * checking package dependencies ... OK * checking if this is a source package ... OK * checking if there is a namespace ... OK * checking for executable files ... OK * checking for hidden files and directories ... OK * checking for portable file names ... OK * checking for sufficient/correct file permissions ... OK * checking whether package ‘plogr’ can be installed ... OK * checking installed package size ... OK * checking package directory ... OK * checking DESCRIPTION meta-information ... OK * checking top-level files ... OK * checking for left-over files ... OK * checking index information ... OK * checking package subdirectories ... OK * checking code files for non-ASCII characters ... OK * checking R files for syntax errors ... OK * checking whether the package can be loaded ... OK * checking whether the package can be loaded with stated dependencies ... OK * checking whether the package can be unloaded cleanly ... OK * checking whether the namespace can be loaded with stated dependencies ... OK * checking whether the namespace can be unloaded cleanly ... OK * checking loading without being on the library search path ... OK * checking use of S3 registration ... OK * checking dependencies in R code ... OK * checking S3 generic/method consistency ... OK * checking replacement functions ... OK * checking foreign function calls ... OK * checking R code for possible problems ... [4s/12s] OK * checking Rd files ... OK * checking Rd metadata ... OK * checking Rd line widths ... OK * checking Rd cross-references ... OK * checking for missing documentation entries ... OK * checking for code/documentation mismatches ... OK * checking Rd \usage sections ... OK * checking Rd contents ... OK * checking for unstated dependencies in examples ... OK * checking LazyData ... INFO 'LazyData' is specified without a 'data' directory * checking line endings in C/C++/Fortran sources/headers ... OK * checking pragmas in C/C++ headers and code ... OK * checking examples ... [10s/29s] ERROR 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 + + 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 // not necessary to use plogr + // C++ code end + ' + ) using C++ compiler: ‘clang version 21.1.8’ make[2]: Entering directory '/tmp/RtmpMdHCOk/working_dir/RtmpmytHmH/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_1883861b14fa9d' /usr/local/clang21/bin/clang++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20-clang/include" -DNDEBUG -I"/data/gannet/ripley/R/test-clang/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-CXX20-clang/plogr.Rcheck/plogr/include" -I"/tmp/RtmpMdHCOk/working_dir/RtmpmytHmH/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 file1883861295d366.cpp -o file1883861295d366.o In file included from file1883861295d366.cpp:4: In file included from /data/gannet/ripley/R/packages/tests-CXX20-clang/plogr.Rcheck/plogr/include/plogr.h:4: In file included from /data/gannet/ripley/R/packages/tests-CXX20-clang/plogr.Rcheck/plogr/include/plog/Log.h:7: /data/gannet/ripley/R/packages/tests-CXX20-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-CXX20-clang/plogr.Rcheck/plogr/include/plog/Record.h:30:19: note: in instantiation of function template specialization 'plog::Record::operator<<' 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] has been explicitly deleted 626 | basic_ostream& operator<<(basic_ostream&, 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& operator<<(basic_ostream& __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& operator<<(basic_ostream& __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& operator<<(basic_ostream& __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& operator<<(basic_ostream& __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& __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& __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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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::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::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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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& operator<<(basic_ostream&, 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 &(*)(basic_ios &)' (aka 'basic_ios> &(*)(basic_ios> &)') for 1st argument 84 | operator<<(basic_ios& (*__pf)(basic_ios&)) { | ^ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ /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 *' (aka 'basic_streambuf> *') for 1st argument 163 | basic_ostream& operator<<(basic_streambuf* __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[2]: *** [/data/gannet/ripley/R/cxx20-clang/etc/Makeconf:201: file1883861295d366.o] Error 1 make[2]: Target 'all' not remade because of errors. make[2]: Leaving directory '/tmp/RtmpMdHCOk/working_dir/RtmpmytHmH/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_1883861b14fa9d' Error in sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, : Error 1 occurred building shared library. Calls: -> sourceCpp Execution halted * checking PDF version of manual ... [8s/17s] OK * checking HTML version of manual ... OK * checking for non-standard things in the check directory ... OK * checking for detritus in the temp directory ... OK * DONE Status: 1 ERROR See ‘/data/gannet/ripley/R/packages/tests-CXX20-clang/plogr.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 1:48.84, 33.04 + 6.44