Last updated on 2026-07-13 09:50:15 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.0.0 | 2.25 | 263.67 | 265.92 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.0.0 | 1.85 | 194.21 | 196.06 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.0 | 363.27 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.1.0 | 342.23 | OK | |||
| r-devel-windows-x86_64 | 1.0.0 | 8.00 | 294.00 | 302.00 | OK | |
| r-patched-linux-x86_64 | 1.0.0 | 2.45 | 256.34 | 258.79 | OK | |
| r-release-linux-x86_64 | 1.0.0 | 2.07 | 251.06 | 253.13 | OK | |
| r-release-macos-arm64 | 1.1.0 | 1.00 | 105.00 | 106.00 | OK | |
| r-release-macos-x86_64 | 1.1.0 | 2.00 | 137.00 | 139.00 | ERROR | |
| r-release-windows-x86_64 | 1.0.0 | 6.00 | 330.00 | 336.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.0 | 1.00 | 44.00 | 45.00 | ERROR | |
| r-oldrel-macos-x86_64 | 1.1.0 | 2.00 | 149.00 | 151.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.0.0 | 5.00 | 414.00 | 419.00 | OK |
Version: 1.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘cppally.Rmd’ using rmarkdown
Quitting from cppally.Rmd:85-467 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpU8Si9p/file12fce4421ed87/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpU8Si9p/file12fce4421ed87/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpU8Si9p/file12fce4421ed87/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpU8Si9p/file12fce4421ed87/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'cppally.Rmd' failed with diagnostics:
Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpU8Si9p/file12fce4421ed87/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpU8Si9p/file12fce4421ed87/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpU8Si9p/file12fce4421ed87/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpU8Si9p/file12fce4421ed87/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
--- failed re-building ‘cppally.Rmd’
--- re-building ‘functionals.Rmd’ using rmarkdown
Quitting from functionals.Rmd:51-190 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpjMZzE7/file139707554129c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpjMZzE7/file139707554129c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpjMZzE7/file139707554129c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpjMZzE7/file139707554129c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'functionals.Rmd' failed with diagnostics:
Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpjMZzE7/file139707554129c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpjMZzE7/file139707554129c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpjMZzE7/file139707554129c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpjMZzE7/file139707554129c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
--- failed re-building ‘functionals.Rmd’
--- re-building ‘protection.Rmd’ using rmarkdown
Quitting from protection.Rmd:50-236 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmppXMD1x/file142225ad77d5c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmppXMD1x/file142225ad77d5c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmppXMD1x/file142225ad77d5c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmppXMD1x/file142225ad77d5c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"))
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'protection.Rmd' failed with diagnostics:
Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmppXMD1x/file142225ad77d5c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmppXMD1x/file142225ad77d5c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmppXMD1x/file142225ad77d5c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmppXMD1x/file142225ad77d5c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
--- failed re-building ‘protection.Rmd’
--- re-building ‘vector_name_hashing.Rmd’ using rmarkdown
Quitting from vector_name_hashing.Rmd:227-242 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpnGDCiY/file1494b2648eace/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpnGDCiY/file1494b2648eace/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpnGDCiY/file1494b2648eace/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpnGDCiY/file1494b2648eace/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
---
Backtrace:
▆
1. └─cppally::cpp_source(code = "\n#include <cppally.hpp>\nusing namespace cppally;\n\n[[cppally::register]]\nr_vec<r_sexp> do_lookup(r_vec<r_sexp> x, r_str name, int n_iterations){\n r_vec<r_sexp> out(n_iterations);\n for (int i = 0; i < n_iterations; ++i){\n out.set(i, x.get(name));\n }\n return out;\n}\n")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vector_name_hashing.Rmd' failed with diagnostics:
Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpnGDCiY/file1494b2648eace/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpnGDCiY/file1494b2648eace/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpnGDCiY/file1494b2648eace/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpnGDCiY/file1494b2648eace/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
--- failed re-building ‘vector_name_hashing.Rmd’
SUMMARY: processing the following files failed:
‘cppally.Rmd’ ‘functionals.Rmd’ ‘protection.Rmd’
‘vector_name_hashing.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-macos-x86_64
Version: 1.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘cppally.Rmd’ using rmarkdown
Quitting from cppally.Rmd:85-467 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpEv969u/filef14c55c22b91/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpEv969u/filef14c55c22b91/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpEv969u/filef14c55c22b91/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpEv969u/filef14c55c22b91/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x)
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'cppally.Rmd' failed with diagnostics:
Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpEv969u/filef14c55c22b91/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpEv969u/filef14c55c22b91/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpEv969u/filef14c55c22b91/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpEv969u/filef14c55c22b91/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x)
--- failed re-building ‘cppally.Rmd’
--- re-building ‘functionals.Rmd’ using rmarkdown
Quitting from functionals.Rmd:51-190 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpmjR7HS/file1063e5ff052a5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpmjR7HS/file1063e5ff052a5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpmjR7HS/file1063e5ff052a5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpmjR7HS/file1063e5ff052a5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'functionals.Rmd' failed with diagnostics:
Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpmjR7HS/file1063e5ff052a5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpmjR7HS/file1063e5ff052a5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpmjR7HS/file1063e5ff052a5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpmjR7HS/file1063e5ff052a5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool
--- failed re-building ‘functionals.Rmd’
--- re-building ‘protection.Rmd’ using rmarkdown
Quitting from protection.Rmd:50-236 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmphTyH40/file10c7f988a26f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmphTyH40/file10c7f988a26f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmphTyH40/file10c7f988a26f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmphTyH40/file10c7f988a26f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x)
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"))
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'protection.Rmd' failed with diagnostics:
Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmphTyH40/file10c7f988a26f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmphTyH40/file10c7f988a26f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmphTyH40/file10c7f988a26f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmphTyH40/file10c7f988a26f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x)
--- failed re-building ‘protection.Rmd’
--- re-building ‘vector_name_hashing.Rmd’ using rmarkdown
Quitting from vector_name_hashing.Rmd:227-242 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/Rtmp5yXUcT/file112233c27b92f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/Rtmp5yXUcT/file112233c27b92f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/Rtmp5yXUcT/file112233c27b92f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/Rtmp5yXUcT/file112233c27b92f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool
---
Backtrace:
▆
1. └─cppally::cpp_source(code = "\n#include <cppally.hpp>\nusing namespace cppally;\n\n[[cppally::register]]\nr_vec<r_sexp> do_lookup(r_vec<r_sexp> x, r_str name, int n_iterations){\n r_vec<r_sexp> out(n_iterations);\n for (int i = 0; i < n_iterations; ++i){\n out.set(i, x.get(name));\n }\n return out;\n}\n")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vector_name_hashing.Rmd' failed with diagnostics:
Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/Rtmp5yXUcT/file112233c27b92f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/Rtmp5yXUcT/file112233c27b92f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/Rtmp5yXUcT/file112233c27b92f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/Rtmp5yXUcT/file112233c27b92f/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-arm64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool
--- failed re-building ‘vector_name_hashing.Rmd’
SUMMARY: processing the following files failed:
‘cppally.Rmd’ ‘functionals.Rmd’ ‘protection.Rmd’
‘vector_name_hashing.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-macos-arm64
Version: 1.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘cppally.Rmd’ using rmarkdown
Quitting from cppally.Rmd:85-467 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/Rtmpob43Ty/file39b37a1768f2/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/Rtmpob43Ty/file39b37a1768f2/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/Rtmpob43Ty/file39b37a1768f2/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/Rtmpob43Ty/file39b37a1768f2/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : s
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'cppally.Rmd' failed with diagnostics:
Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/Rtmpob43Ty/file39b37a1768f2/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/Rtmpob43Ty/file39b37a1768f2/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/Rtmpob43Ty/file39b37a1768f2/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/Rtmpob43Ty/file39b37a1768f2/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : s
--- failed re-building ‘cppally.Rmd’
--- re-building ‘functionals.Rmd’ using rmarkdown
Quitting from functionals.Rmd:51-190 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpRspGKO/file3e8bb3ceff5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpRspGKO/file3e8bb3ceff5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpRspGKO/file3e8bb3ceff5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpRspGKO/file3e8bb3ceff5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : stati
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'functionals.Rmd' failed with diagnostics:
Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpRspGKO/file3e8bb3ceff5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpRspGKO/file3e8bb3ceff5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpRspGKO/file3e8bb3ceff5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpRspGKO/file3e8bb3ceff5/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : stati
--- failed re-building ‘functionals.Rmd’
--- re-building ‘protection.Rmd’ using rmarkdown
Quitting from protection.Rmd:50-236 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpU50Ytk/file456abb6c1fc/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpU50Ytk/file456abb6c1fc/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpU50Ytk/file456abb6c1fc/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpU50Ytk/file456abb6c1fc/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : stati
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"))
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'protection.Rmd' failed with diagnostics:
Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpU50Ytk/file456abb6c1fc/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpU50Ytk/file456abb6c1fc/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpU50Ytk/file456abb6c1fc/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpU50Ytk/file456abb6c1fc/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : stati
--- failed re-building ‘protection.Rmd’
--- re-building ‘vector_name_hashing.Rmd’ using rmarkdown
Quitting from vector_name_hashing.Rmd:227-242 [unnamed-chunk-9]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpoaAUlt/file45db3ff7d094/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpoaAUlt/file45db3ff7d094/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpoaAUlt/file45db3ff7d094/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpoaAUlt/file45db3ff7d094/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : s
---
Backtrace:
▆
1. └─cppally::cpp_source(code = "\n#include <cppally.hpp>\nusing namespace cppally;\n\n[[cppally::register]]\nr_vec<r_sexp> do_lookup(r_vec<r_sexp> x, r_str name, int n_iterations){\n r_vec<r_sexp> out(n_iterations);\n for (int i = 0; i < n_iterations; ++i){\n out.set(i, x.get(name));\n }\n return out;\n}\n")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vector_name_hashing.Rmd' failed with diagnostics:
Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpoaAUlt/file45db3ff7d094/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:13:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_sexp_types.h:8:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:292:25: error: no member named 'cmp_less_equal' in namespace 'std'
return std::cmp_less_equal(
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_concepts.h:296:18: error: no member named 'cmp_greater_equal' in namespace 'std'
std::cmp_greater_equal(
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpoaAUlt/file45db3ff7d094/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:5:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:56:17: error: no member named 'cmp_greater_equal' in namespace 'std'
return std::cmp_greater_equal(+x, +std::numeric_limits<To>::min())
~~~~~^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_utils.h:57:17: error: no member named 'cmp_less_equal' in namespace 'std'
&& std::cmp_less_equal(+x, +std::numeric_limits<To>::max());
~~~~~^
In file included from /Volumes/Temp/tmp/RtmpoaAUlt/file45db3ff7d094/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: in instantiation of function template specialization 'cppally::r_int::r_int<int>' requested here
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while checking constraint satisfaction for template 'r_int<int>' required here
return r_int(std::numeric_limits<int>::min());
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: note: while substituting deduced template arguments into function template 'r_int' [with T = std::numeric_limits<int>::type]
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:21:16: error: no matching conversion for functional-style cast from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int'
return r_int(std::numeric_limits<int>::min());
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit copy constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'const cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:10:8: note: candidate constructor (the implicit move constructor) not viable: no known conversion from 'std::numeric_limits<int>::type' (aka 'int') to 'cppally::r_int' for 1st argument
struct r_int {
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:16:24: note: candidate template ignored: failed template argument deduction
explicit constexpr r_int(T x) noexcept : value{static_cast<int>(x)} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:13:15: note: candidate constructor not viable: requires 0 arguments, but 1 was provided
constexpr r_int() noexcept : value{0} {}
^
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:30:24: error: constexpr variable 'na_int' must be initialized by a constant expression
inline constexpr r_int na_int = r_int::na();
^ ~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : static_cast<int>(static_cast<bool>(x))){}
^~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while substituting deduced template arguments into function template 'r_int' [with T = int]
In file included from /Volumes/Temp/tmp/RtmpoaAUlt/file45db3ff7d094/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : s
--- failed re-building ‘vector_name_hashing.Rmd’
SUMMARY: processing the following files failed:
‘cppally.Rmd’ ‘functionals.Rmd’ ‘protection.Rmd’
‘vector_name_hashing.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-oldrel-macos-x86_64