Last updated on 2026-02-03 09:54:21 CET.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 0.2.0 | 1.31 | 23.83 | 25.14 | OK | |
| r-devel-linux-x86_64-debian-gcc | 0.2.0 | 1.21 | 18.59 | 19.80 | OK | |
| r-devel-linux-x86_64-fedora-clang | 0.2.0 | 40.58 | ERROR | |||
| r-devel-linux-x86_64-fedora-gcc | 0.2.0 | 36.87 | ERROR | |||
| r-devel-windows-x86_64 | 0.2.0 | 5.00 | 50.00 | 55.00 | OK | |
| r-patched-linux-x86_64 | 0.2.0 | 1.39 | 20.49 | 21.88 | OK | |
| r-release-linux-x86_64 | 0.2.0 | 1.18 | 20.09 | 21.27 | OK | |
| r-release-macos-arm64 | 0.2.0 | OK | ||||
| r-release-macos-x86_64 | 0.2.0 | 1.00 | 29.00 | 30.00 | OK | |
| r-release-windows-x86_64 | 0.2.0 | 2.00 | 48.00 | 50.00 | OK | |
| r-oldrel-macos-arm64 | 0.2.0 | NOTE | ||||
| r-oldrel-macos-x86_64 | 0.2.0 | 1.00 | 34.00 | 35.00 | NOTE | |
| r-oldrel-windows-x86_64 | 0.2.0 | 4.00 | 54.00 | 58.00 | NOTE |
Version: 0.2.0
Check: examples
Result: 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: ‘clang version 21.1.8’
make[1]: Entering directory '/tmp/Rtmp0aHOqw/working_dir/RtmpoGBNaS/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_1f828d3a82e837'
/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/Rtmp0aHOqw/working_dir/RtmpoGBNaS/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 file1f828d6a0029e4.cpp -o file1f828d6a0029e4.o
In file included from file1f828d6a0029e4.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:201: file1f828d6a0029e4.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/tmp/Rtmp0aHOqw/working_dir/RtmpoGBNaS/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_1f828d3a82e837'
Error in sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, :
Error 1 occurred building shared library.
Calls: <Anonymous> -> sourceCpp
Execution halted
Flavor: r-devel-linux-x86_64-fedora-clang
Version: 0.2.0
Check: examples
Result: 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/RtmppIRliA/working_dir/RtmpwqFgQk/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_1d519e52afe68d'
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/RtmppIRliA/working_dir/RtmpwqFgQk/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 file1d519e1185b5f2.cpp -o file1d519e1185b5f2.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 file1d519e1185b5f2.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 file1d519e1185b5f2.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: file1d519e1185b5f2.o] Error 1
make[1]: Target 'all' not remade because of errors.
make[1]: Leaving directory '/tmp/RtmppIRliA/working_dir/RtmpwqFgQk/sourceCpp-x86_64-pc-linux-gnu-1.1.1/sourcecpp_1d519e52afe68d'
Error in sourceCpp(code = code, env = env, rebuild = rebuild, cacheDir = cacheDir, :
Error 1 occurred building shared library.
Calls: <Anonymous> -> sourceCpp
Execution halted
Flavor: r-devel-linux-x86_64-fedora-gcc
Version: 0.2.0
Check: LazyData
Result: NOTE
'LazyData' is specified without a 'data' directory
Flavors: r-oldrel-macos-arm64, r-oldrel-macos-x86_64, r-oldrel-windows-x86_64
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.