- using R version 4.5.2 Patched (2026-01-31 r89382)
- using platform: aarch64-apple-darwin20
- R was compiled by
Apple clang version 16.0.0 (clang-1600.0.26.6)
GNU Fortran (GCC) 14.2.0
- running under: macOS Ventura 13.7.8
- using session charset: UTF-8
- checking for file ‘cppally/DESCRIPTION’ ... OK
- this is package ‘cppally’ version ‘1.1.0’
- package encoding: UTF-8
- checking package namespace information ... OK
- checking package dependencies ... OK
- checking if this is a source package ... OK
- checking if there is a namespace ... OK
- checking for executable files ... OK
- checking for hidden files and directories ... OK
- checking for portable file names ... OK
- checking for sufficient/correct file permissions ... OK
- checking whether package ‘cppally’ can be installed ... [1s/1s] OK
See the install log for details.
- checking installed package size ... OK
- checking package directory ... OK
- checking ‘build’ directory ... OK
- checking DESCRIPTION meta-information ... OK
- checking top-level files ... OK
- checking for left-over files ... OK
- checking index information ... OK
- checking package subdirectories ... OK
- checking code files for non-ASCII characters ... OK
- checking R files for syntax errors ... OK
- checking whether the package can be loaded ... [0s/0s] OK
- checking whether the package can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the package can be unloaded cleanly ... [0s/0s] OK
- checking whether the namespace can be loaded with stated dependencies ... [0s/0s] OK
- checking whether the namespace can be unloaded cleanly ... [0s/0s] OK
- checking loading without being on the library search path ... [0s/0s] OK
- checking dependencies in R code ... OK
- checking S3 generic/method consistency ... OK
- checking replacement functions ... OK
- checking foreign function calls ... OK
- checking R code for possible problems ... [1s/1s] OK
- checking Rd files ... [0s/0s] OK
- checking Rd metadata ... OK
- checking Rd cross-references ... OK
- checking for missing documentation entries ... OK
- checking for code/documentation mismatches ... OK
- checking Rd \usage sections ... OK
- checking Rd contents ... OK
- checking for unstated dependencies in examples ... OK
- checking line endings in C/C++/Fortran sources/headers ... OK
- checking installed files from ‘inst/doc’ ... OK
- checking files in ‘vignettes’ ... OK
- checking examples ... [0s/1s] OK
- checking for unstated dependencies in vignettes ... OK
- checking package vignettes ... OK
- checking re-building of vignette outputs ... [12s/25s] 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/RtmpBB7dNH/filee4b31f4d923f/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/RtmpBB7dNH/filee4b31f4d923f/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/RtmpBB7dNH/filee4b31f4d923f/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/RtmpBB7dNH/filee4b31f4d923f/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/RtmpBB7dNH/filee4b31f4d923f/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/RtmpBB7dNH/filee4b31f4d923f/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/RtmpBB7dNH/filee4b31f4d923f/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/RtmpBB7dNH/filee4b31f4d923f/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/Rtmp0U9L51/filef54b27b9e5a1/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/Rtmp0U9L51/filef54b27b9e5a1/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/Rtmp0U9L51/filef54b27b9e5a1/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/Rtmp0U9L51/filef54b27b9e5a1/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/Rtmp0U9L51/filef54b27b9e5a1/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/Rtmp0U9L51/filef54b27b9e5a1/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/Rtmp0U9L51/filef54b27b9e5a1/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/Rtmp0U9L51/filef54b27b9e5a1/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/RtmpRFOLqa/filef9412ac6465e/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/RtmpRFOLqa/filef9412ac6465e/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/RtmpRFOLqa/filef9412ac6465e/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/RtmpRFOLqa/filef9412ac6465e/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/RtmpRFOLqa/filef9412ac6465e/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/RtmpRFOLqa/filef9412ac6465e/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/RtmpRFOLqa/filef9412ac6465e/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/RtmpRFOLqa/filef9412ac6465e/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/RtmpzGCmfP/filefbe45eadad2f/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/RtmpzGCmfP/filefbe45eadad2f/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/RtmpzGCmfP/filefbe45eadad2f/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/RtmpzGCmfP/filefbe45eadad2f/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/RtmpzGCmfP/filefbe45eadad2f/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/RtmpzGCmfP/filefbe45eadad2f/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/RtmpzGCmfP/filefbe45eadad2f/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/RtmpzGCmfP/filefbe45eadad2f/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
- checking PDF version of manual ... [2s/2s] OK
- DONE
Status: 1 ERROR