The hardware and bandwidth for this mirror is donated by dogado GmbH, the Webhosting and Full Service-Cloud Provider. Check out our Wordpress Tutorial.
If you wish to report a bug, or if you are interested in having us mirror your free-software or open-source project, please feel free to contact us at mirror[@]dogado.de.
Last updated on 2026-07-21 18:50:56 CEST.
| Flavor | Version | Tinstall | Tcheck | Ttotal | Status | Flags |
|---|---|---|---|---|---|---|
| r-devel-linux-x86_64-debian-clang | 1.1.0 | 2.41 | 264.23 | 266.64 | OK | |
| r-devel-linux-x86_64-debian-gcc | 1.1.0 | 1.71 | 197.22 | 198.93 | OK | |
| r-devel-linux-x86_64-fedora-clang | 1.1.0 | 342.26 | OK | |||
| r-devel-linux-x86_64-fedora-gcc | 1.1.0 | 198.28 | OK | |||
| r-devel-windows-x86_64 | 1.1.0 | 7.00 | 326.00 | 333.00 | OK | |
| r-patched-linux-x86_64 | 1.1.0 | 2.41 | 255.25 | 257.66 | OK | |
| r-release-linux-x86_64 | 1.1.0 | 2.51 | 253.18 | 255.69 | 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 | 123.00 | 125.00 | ERROR | |
| r-release-windows-x86_64 | 1.1.0 | 7.00 | 319.00 | 326.00 | OK | |
| r-oldrel-macos-arm64 | 1.1.0 | 1.00 | 35.00 | 36.00 | ERROR | |
| r-oldrel-macos-x86_64 | 1.1.0 | 2.00 | 131.00 | 133.00 | ERROR | |
| r-oldrel-windows-x86_64 | 1.1.0 | 7.00 | 409.00 | 416.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/RtmpLYJbi8/file1603e59c5ba60/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/RtmpLYJbi8/file1603e59c5ba60/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/RtmpLYJbi8/file1603e59c5ba60/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/RtmpLYJbi8/file1603e59c5ba60/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'cppally.Rmd' failed with diagnostics:
Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpLYJbi8/file1603e59c5ba60/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/RtmpLYJbi8/file1603e59c5ba60/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/RtmpLYJbi8/file1603e59c5ba60/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/RtmpLYJbi8/file1603e59c5ba60/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
--- failed re-building ‘cppally.Rmd’
--- re-building ‘functionals.Rmd’ using rmarkdown
Quitting from functionals.Rmd:51-190 [unnamed-chunk-3]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpZRyQAC/file1675829bf5e2c/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/RtmpZRyQAC/file1675829bf5e2c/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/RtmpZRyQAC/file1675829bf5e2c/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/RtmpZRyQAC/file1675829bf5e2c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'functionals.Rmd' failed with diagnostics:
Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpZRyQAC/file1675829bf5e2c/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/RtmpZRyQAC/file1675829bf5e2c/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/RtmpZRyQAC/file1675829bf5e2c/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/RtmpZRyQAC/file1675829bf5e2c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
--- failed re-building ‘functionals.Rmd’
--- re-building ‘protection.Rmd’ using rmarkdown
Quitting from protection.Rmd:50-236 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpFvJhuR/file172b5c8f13d5/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/RtmpFvJhuR/file172b5c8f13d5/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/RtmpFvJhuR/file172b5c8f13d5/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/RtmpFvJhuR/file172b5c8f13d5/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/RtmpFvJhuR/file172b5c8f13d5/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/RtmpFvJhuR/file172b5c8f13d5/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/RtmpFvJhuR/file172b5c8f13d5/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/RtmpFvJhuR/file172b5c8f13d5/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/RtmpnRABMd/file17bc3711b7e1c/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/RtmpnRABMd/file17bc3711b7e1c/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/RtmpnRABMd/file17bc3711b7e1c/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/RtmpnRABMd/file17bc3711b7e1c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
---
Backtrace:
▆
1. └─cppally::cpp_source(code = "\n#include <cppally.hpp>\nusing namespace cppally;\n\n[[cppally::register]]\nr_vec<r_sexp> do_lookup(r_vec<r_sexp> x, r_str name, int n_iterations){\n r_vec<r_sexp> out(n_iterations);\n for (int i = 0; i < n_iterations; ++i){\n out.set(i, x.get(name));\n }\n return out;\n}\n")
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette 'vector_name_hashing.Rmd' failed with diagnostics:
Compilation failed:
specified C++20
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpnRABMd/file17bc3711b7e1c/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/RtmpnRABMd/file17bc3711b7e1c/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/RtmpnRABMd/file17bc3711b7e1c/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/RtmpnRABMd/file17bc3711b7e1c/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.6/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_in
--- failed re-building ‘vector_name_hashing.Rmd’
SUMMARY: processing the following files failed:
‘cppally.Rmd’ ‘functionals.Rmd’ ‘protection.Rmd’
‘vector_name_hashing.Rmd’
Error: Vignette re-building failed.
Execution halted
Flavor: r-release-macos-x86_64
Version: 1.1.0
Check: re-building of vignette outputs
Result: ERROR
Error(s) in re-building vignettes:
--- re-building ‘cppally.Rmd’ using rmarkdown
Quitting from cppally.Rmd:85-467 [unnamed-chunk-5]
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
<error/rlang_error>
Error:
! Compilation failed:
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using C++20
using SDK: ‘MacOSX11.3.1.sdk’
In file included from /Volumes/Temp/tmp/RtmpxGOKdy/filed94e65f756e5/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/RtmpxGOKdy/filed94e65f756e5/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/RtmpxGOKdy/filed94e65f756e5/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/RtmpxGOKdy/filed94e65f756e5/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/RtmpxGOKdy/filed94e65f756e5/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/RtmpxGOKdy/filed94e65f756e5/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/RtmpxGOKdy/filed94e65f756e5/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/RtmpxGOKdy/filed94e65f756e5/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/RtmpRvOPiW/fileddfb3168d58f/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/RtmpRvOPiW/fileddfb3168d58f/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/RtmpRvOPiW/fileddfb3168d58f/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/RtmpRvOPiW/fileddfb3168d58f/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/RtmpRvOPiW/fileddfb3168d58f/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/RtmpRvOPiW/fileddfb3168d58f/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/RtmpRvOPiW/fileddfb3168d58f/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/RtmpRvOPiW/fileddfb3168d58f/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/RtmpyK2yRS/filee138189947bf/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/RtmpyK2yRS/filee138189947bf/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/RtmpyK2yRS/filee138189947bf/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/RtmpyK2yRS/filee138189947bf/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/RtmpyK2yRS/filee138189947bf/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/RtmpyK2yRS/filee138189947bf/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/RtmpyK2yRS/filee138189947bf/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/RtmpyK2yRS/filee138189947bf/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/RtmpVLZJwG/filee4b637807525/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/RtmpVLZJwG/filee4b637807525/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/RtmpVLZJwG/filee4b637807525/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/RtmpVLZJwG/filee4b637807525/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/RtmpVLZJwG/filee4b637807525/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/RtmpVLZJwG/filee4b637807525/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/RtmpVLZJwG/filee4b637807525/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/RtmpVLZJwG/filee4b637807525/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/RtmpOFjeHE/fileabe2745e720/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/RtmpOFjeHE/fileabe2745e720/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/RtmpOFjeHE/fileabe2745e720/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/RtmpOFjeHE/fileabe2745e720/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : stati
---
Backtrace:
▆
1. └─global cpp_source(code = paste(examples, collapse = "\n"), debug = TRUE)
2. └─cppally::cpp_source(debug = debug, env = env, code = code, ...)
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Error: processing vignette '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/RtmpOFjeHE/fileabe2745e720/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/RtmpOFjeHE/fileabe2745e720/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/RtmpOFjeHE/fileabe2745e720/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/RtmpOFjeHE/fileabe2745e720/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : stati
--- failed re-building ‘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/RtmpSqWx6x/fileb1c360fbbbfd/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/RtmpSqWx6x/fileb1c360fbbbfd/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/RtmpSqWx6x/fileb1c360fbbbfd/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/RtmpSqWx6x/fileb1c360fbbbfd/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/RtmpSqWx6x/fileb1c360fbbbfd/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/RtmpSqWx6x/fileb1c360fbbbfd/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/RtmpSqWx6x/fileb1c360fbbbfd/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/RtmpSqWx6x/fileb1c360fbbbfd/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/RtmpDg9mwY/fileb455380f7239/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/RtmpDg9mwY/fileb455380f7239/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/RtmpDg9mwY/fileb455380f7239/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/RtmpDg9mwY/fileb455380f7239/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"))
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/RtmpDg9mwY/fileb455380f7239/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/RtmpDg9mwY/fileb455380f7239/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/RtmpDg9mwY/fileb455380f7239/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/RtmpDg9mwY/fileb455380f7239/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 ‘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/RtmpXDstK3/fileb8353780d81/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/RtmpXDstK3/fileb8353780d81/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/RtmpXDstK3/fileb8353780d81/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/RtmpXDstK3/fileb8353780d81/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : stati
---
Backtrace:
▆
1. └─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/RtmpXDstK3/fileb8353780d81/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/RtmpXDstK3/fileb8353780d81/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/RtmpXDstK3/fileb8353780d81/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/RtmpXDstK3/fileb8353780d81/src/cppally.cpp:1:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_dispatch.h:14:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce.h:4:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_coerce_scalars.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_types.h:6:
In file included from /Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:7:
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_int.h:15:15: error: substitution into constraint expression resulted in a non-constant expression
requires (internal::lossless_numeric_cast<T, int>())
^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/results/4.5/cppally.Rcheck/cppally/include/cppally/r_lgl.h:20:52: note: while checking constraint satisfaction for template 'r_int<int>' required here
explicit constexpr r_lgl(int x) noexcept : value(r_int(x).is_na() ? x : stati
--- failed re-building ‘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
These binaries (installable software) and packages are in development.
They may not be fully stable and should be used with caution. We make no claims about them.
Health stats visible at Monitor.