- using R Under development (unstable) (2026-02-07 r89380)
- 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
* current time: 2026-02-09 16:58:52 UTC
- 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
See the install log for details.
- 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 ... 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 ... 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 <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++ (GCC) 15.1.1 20250521 (Red Hat 15.1.1-2)’
make[1]: Entering directory '/tmp/RtmpAE1HOR/working_dir/RtmphcXSuF/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_2a944b3ba3bb05'
g++ -std=gnu++20 -I"/data/gannet/ripley/R/R-devel/include" -DNDEBUG -I"/data/gannet/ripley/R/test-dev/Rcpp/include" -I"/data/gannet/ripley/R/packages/tests-devel/plogr.Rcheck/plogr/include" -I"/tmp/RtmpAE1HOR/working_dir/RtmphcXSuF/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 file2a944b22a553b4.cpp -o file2a944b22a553b4.o
In file included from /data/gannet/ripley/R/packages/tests-devel/plogr.Rcheck/plogr/include/plog/Log.h:7,
from /data/gannet/ripley/R/packages/tests-devel/plogr.Rcheck/plogr/include/plogr.h:4,
from file2a944b22a553b4.cpp:4:
/data/gannet/ripley/R/packages/tests-devel/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-devel/plogr.Rcheck/plogr/include/plog/Record.h:30:22: required from here
30 | *this << str;
| ^~~
/data/gannet/ripley/R/packages/tests-devel/plogr.Rcheck/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 /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 file2a944b22a553b4.cpp:3:
/usr/include/c++/15/bits/ostream.h:761:5: note: declared here
761 | operator<<(basic_ostream<char, _Traits>&, const wchar_t*) = delete;
| ^~~~~~~~
/data/gannet/ripley/R/packages/tests-devel/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/R-devel/etc/Makeconf:201: file2a944b22a553b4.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/tmp/RtmpAE1HOR/working_dir/RtmphcXSuF/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_2a944b3ba3bb05'
Error in sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, :
Error 1 occurred building shared library.
Calls: <Anonymous> -> sourceCpp
Execution halted
- checking PDF version of manual ... 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