* using log directory ‘/data/gannet/ripley/R/packages/tests-CXX20/plogr.Rcheck’ * using R Under development (unstable) (2026-01-27 r89337) * using platform: x86_64-pc-linux-gnu * R was compiled by gcc (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) GNU Fortran (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2) * 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 ... [3s/95s] 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 ... [3s/31s] 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 ... [7s/56s] 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: ‘g++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’ make[1]: Entering directory '/tmp/RtmpJwVUVr/working_dir/Rtmp21EmJw/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_eca8034076309' g++ -std=gnu++20 -I"/data/gannet/ripley/R/cxx20/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-CXX20/plogr.Rcheck/plogr/include" -I"/tmp/RtmpJwVUVr/working_dir/Rtmp21EmJw/sourceCpp-x86_64-pc-linux-gnu-1.1.1" -I/usr/local/include -fpic -g -O2 -Wall -pedantic -mtune=native -Wno-ignored-attributes -Wno-parentheses -Wp,-D_FORTIFY_SOURCE=3 -fexceptions -fstack-protector-strong -fstack-clash-protection -fcf-protection -c fileeca804fc5287c.cpp -o fileeca804fc5287c.o In file included from /data/gannet/ripley/R/packages/tests-CXX20/plogr.Rcheck/plogr/include/plog/Log.h:7, from /data/gannet/ripley/R/packages/tests-CXX20/plogr.Rcheck/plogr/include/plogr.h:4, from fileeca804fc5287c.cpp:4: /data/gannet/ripley/R/packages/tests-CXX20/plogr.Rcheck/plogr/include/plog/Record.h: In instantiation of ‘plog::Record& plog::Record::operator<<(const T&) [with T = wchar_t [2]]’: /data/gannet/ripley/R/packages/tests-CXX20/plogr.Rcheck/plogr/include/plog/Record.h:30:22: required from here 30 | *this << str; | ^~~ /data/gannet/ripley/R/packages/tests-CXX20/plogr.Rcheck/plogr/include/plog/Record.h:37:23: error: use of deleted function ‘std::basic_ostream& std::operator<<(basic_ostream&, const wchar_t*) [with _Traits = char_traits]’ 37 | m_message << data; | ~~~~~~~~~~^~~~~~~ In file included from /usr/include/c++/15/ostream:42, from /usr/include/c++/15/iostream:43, from /data/gannet/ripley/R/test-dev/Rcpp/include/RcppCommon.h:53, from /data/gannet/ripley/R/test-dev/Rcpp/include/Rcpp.h:27, from fileeca804fc5287c.cpp:3: /usr/include/c++/15/bits/ostream.h:761:5: note: declared here 761 | operator<<(basic_ostream&, const wchar_t*) = delete; | ^~~~~~~~ /data/gannet/ripley/R/packages/tests-CXX20/plogr.Rcheck/plogr/include/plog/Record.h:37:23: note: use ‘-fdiagnostics-all-candidates’ to display considered candidates 37 | m_message << data; | ~~~~~~~~~~^~~~~~~ make[1]: *** [/data/gannet/ripley/R/cxx20/etc/Makeconf:201: fileeca804fc5287c.o] Error 1 make[1]: Target 'all' not remade because of errors. make[1]: Leaving directory '/tmp/RtmpJwVUVr/working_dir/Rtmp21EmJw/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_eca8034076309' 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/65s] 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/plogr.Rcheck/00check.log’ for details. Command exited with non-zero status 1 Time 8:51.42, 28.80 + 7.22