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: 'g++.exe (GCC) 14.3.0'
make[1]: Entering directory '/d/temp/2026_02_19_01_50_00_20242/RtmpaYvwL0/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_135505422678d'
g++ -std=gnu++20  -I"D:/RCompile/recent/R/include" -DNDEBUG   -I"D:/RCompile/CRANpkg/lib/4.6/Rcpp/include" -I"D:/RCompile/CRANpkg/lib/4.6/plogr/include" -I"D:/temp/2026_02_19_01_50_00_20242/RtmpaYvwL0/sourceCpp-x86_64-w64-mingw32-1.1.1"   -I"d:/rtools45/x86_64-w64-mingw32.static.posix/include"      -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign    -c file135502082352e.cpp -o file135502082352e.o
In file included from D:/RCompile/CRANpkg/lib/4.6/plogr/include/plog/Log.h:7,
                 from D:/RCompile/CRANpkg/lib/4.6/plogr/include/plogr.h:4,
                 from file135502082352e.cpp:4:
D:/RCompile/CRANpkg/lib/4.6/plogr/include/plog/Record.h: In instantiation of 'plog::Record& plog::Record::operator<<(const T&) [with T = wchar_t [2]]':
D:/RCompile/CRANpkg/lib/4.6/plogr/include/plog/Record.h:30:22:   required from here
   30 |             *this << str;
      |                      ^~~
D:/RCompile/CRANpkg/lib/4.6/plogr/include/plog/Record.h:37:23: error: use of deleted function 'std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const wchar_t*) [with _Traits = char_traits<char>]'
   37 |             m_message << data;
      |             ~~~~~~~~~~^~~~~~~
In file included from D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/iostream:41,
                 from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/RcppCommon.h:53,
                 from D:/RCompile/CRANpkg/lib/4.6/Rcpp/include/Rcpp.h:27,
                 from file135502082352e.cpp:3:
D:/rtools45/x86_64-w64-mingw32.static.posix/lib/gcc/x86_64-w64-mingw32.static.posix/14.3.0/include/c++/ostream:698:5: note: declared here
  698 |     operator<<(basic_ostream<char, _Traits>&, const wchar_t*) = delete;
      |     ^~~~~~~~
D:/RCompile/CRANpkg/lib/4.6/plogr/include/plog/Record.h:37:23: note: use '-fdiagnostics-all-candidates' to display considered candidates
   37 |             m_message << data;
      |             ~~~~~~~~~~^~~~~~~
make[1]: *** [D:/RCompile/recent/R/etc/x64/Makeconf:304: file135502082352e.o] Error 1
make[1]: Leaving directory '/d/temp/2026_02_19_01_50_00_20242/RtmpaYvwL0/sourceCpp-x86_64-w64-mingw32-1.1.1/sourcecpp_135505422678d'
Error in sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir,  : 
  Error 1 occurred building shared library.
Calls: <Anonymous> -> sourceCpp
Execution halted