Last updated on 2026-07-17 13:48:57 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.0 | 1.82 | 267.35 | 269.17 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.0 | 2.00 | 198.20 | 200.20 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.0 | 363.27 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.1.0 | 198.28 | OK | |||
| r-devel-windows-x86_64 | 1.1.0 | 5.00 | 324.00 | 329.00 | OK | |
| r-patched-linux-x86_64 | 1.1.0 | 2.41 | 255.25 | 257.66 | 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 | 145.00 | 147.00 | ERROR | |
| r-release-windows-x86_64 | 1.1.0 | 7.00 | 322.00 | 329.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.0 | 1.00 | 90.00 | 91.00 | ERROR | |
| r-oldrel-macos-x86_64 | 1.1.0 | 2.00 | 143.00 | 145.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.1.0 | 7.00 | 412.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/RtmpZLLIQm/file38ac7c9fa177/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/RtmpZLLIQm/file38ac7c9fa177/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/RtmpZLLIQm/file38ac7c9fa177/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/RtmpZLLIQm/file38ac7c9fa177/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_int(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:
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/RtmpZLLIQm/file38ac7c9fa177/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/RtmpZLLIQm/file38ac7c9fa177/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/RtmpZLLIQm/file38ac7c9fa177/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/RtmpZLLIQm/file38ac7c9fa177/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_int(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:
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/RtmpZnf8WR/file3dc6617e4c1c/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/RtmpZnf8WR/file3dc6617e4c1c/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/RtmpZnf8WR/file3dc6617e4c1c/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/RtmpZnf8WR/file3dc6617e4c1c/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_int(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 '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/RtmpZnf8WR/file3dc6617e4c1c/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/RtmpZnf8WR/file3dc6617e4c1c/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/RtmpZnf8WR/file3dc6617e4c1c/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/RtmpZnf8WR/file3dc6617e4c1c/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_int(x)
--- 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/RtmpyLyBqB/file419f35d54bda/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/RtmpyLyBqB/file419f35d54bda/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/RtmpyLyBqB/file419f35d54bda/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/RtmpyLyBqB/file419f35d54bda/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_int(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:
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/RtmpyLyBqB/file419f35d54bda/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/RtmpyLyBqB/file419f35d54bda/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/RtmpyLyBqB/file419f35d54bda/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/RtmpyLyBqB/file419f35d54bda/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_int(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:
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/RtmpfCiJuq/file4d0f637df1a3/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/RtmpfCiJuq/file4d0f637df1a3/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/RtmpfCiJuq/file4d0f637df1a3/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/RtmpfCiJuq/file4d0f637df1a3/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_int(x)
---
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/RtmpfCiJuq/file4d0f637df1a3/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/RtmpfCiJuq/file4d0f637df1a3/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/RtmpfCiJuq/file4d0f637df1a3/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/RtmpfCiJuq/file4d0f637df1a3/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_int(x)
--- 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/RtmpuP0MZz/filed89269e6341a/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/RtmpuP0MZz/filed89269e6341a/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/RtmpuP0MZz/filed89269e6341a/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/RtmpuP0MZz/filed89269e6341a/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/RtmpuP0MZz/filed89269e6341a/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/RtmpuP0MZz/filed89269e6341a/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/RtmpuP0MZz/filed89269e6341a/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/RtmpuP0MZz/filed89269e6341a/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/Rtmpl2RJSB/filee89c6f70c349/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/Rtmpl2RJSB/filee89c6f70c349/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/Rtmpl2RJSB/filee89c6f70c349/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/Rtmpl2RJSB/filee89c6f70c349/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 '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/Rtmpl2RJSB/filee89c6f70c349/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/Rtmpl2RJSB/filee89c6f70c349/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/Rtmpl2RJSB/filee89c6f70c349/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/Rtmpl2RJSB/filee89c6f70c349/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 ‘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/Rtmpzps5Xp/filee9efc8d73ee/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/Rtmpzps5Xp/filee9efc8d73ee/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/Rtmpzps5Xp/filee9efc8d73ee/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/Rtmpzps5Xp/filee9efc8d73ee/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/Rtmpzps5Xp/filee9efc8d73ee/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/Rtmpzps5Xp/filee9efc8d73ee/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/Rtmpzps5Xp/filee9efc8d73ee/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/Rtmpzps5Xp/filee9efc8d73ee/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/RtmpYsBhqz/fileec4872a208fb/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/RtmpYsBhqz/fileec4872a208fb/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/RtmpYsBhqz/fileec4872a208fb/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/RtmpYsBhqz/fileec4872a208fb/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. └─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/RtmpYsBhqz/fileec4872a208fb/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/RtmpYsBhqz/fileec4872a208fb/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/RtmpYsBhqz/fileec4872a208fb/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/RtmpYsBhqz/fileec4872a208fb/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 ‘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/Rtmp7RGYYZ/file160a8c215d4f/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/Rtmp7RGYYZ/file160a8c215d4f/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/Rtmp7RGYYZ/file160a8c215d4f/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/Rtmp7RGYYZ/file160a8c215d4f/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/Rtmp7RGYYZ/file160a8c215d4f/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/Rtmp7RGYYZ/file160a8c215d4f/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/Rtmp7RGYYZ/file160a8c215d4f/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/Rtmp7RGYYZ/file160a8c215d4f/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/RtmpovQUuf/file165c1740b16c/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/RtmpovQUuf/file165c1740b16c/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/RtmpovQUuf/file165c1740b16c/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/RtmpovQUuf/file165c1740b16c/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 '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/RtmpovQUuf/file165c1740b16c/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/RtmpovQUuf/file165c1740b16c/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/RtmpovQUuf/file165c1740b16c/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/RtmpovQUuf/file165c1740b16c/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 ‘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/RtmpGjSH62/file16a73409972e8/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/RtmpGjSH62/file16a73409972e8/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/RtmpGjSH62/file16a73409972e8/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/RtmpGjSH62/file16a73409972e8/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
---
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/RtmpGjSH62/file16a73409972e8/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/RtmpGjSH62/file16a73409972e8/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/RtmpGjSH62/file16a73409972e8/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/RtmpGjSH62/file16a73409972e8/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
--- 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/RtmpJKcWjt/file171b23f3f0f72/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/RtmpJKcWjt/file171b23f3f0f72/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/RtmpJKcWjt/file171b23f3f0f72/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/RtmpJKcWjt/file171b23f3f0f72/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
---
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/RtmpJKcWjt/file171b23f3f0f72/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/RtmpJKcWjt/file171b23f3f0f72/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/RtmpJKcWjt/file171b23f3f0f72/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/RtmpJKcWjt/file171b23f3f0f72/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
--- 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