* installing *source* package ‘RQuantLib’ ...
** this is package ‘RQuantLib’ version ‘0.4.28’
** package ‘RQuantLib’ successfully unpacked and MD5 sums checked
** using staged installation
checking whether the C++ compiler works... yes
checking for C++ compiler default output file name... a.out
checking for suffix of executables...
checking whether we are cross compiling... no
checking for suffix of object files... o
checking whether the compiler supports GNU C++... yes
checking whether clang++ -arch x86_64 -std=gnu++20 accepts -g... yes
checking for clang++ -arch x86_64 -std=gnu++20 option to enable C++11 features... -std=gnu++11
checking how to run the C++ preprocessor... clang++ -arch x86_64 -std=gnu++20 -std=gnu++11 -E
checking whether the compiler supports GNU C++... (cached) yes
checking whether clang++ -arch x86_64 -std=gnu++20 -std=gnu++11 accepts -g... (cached) yes
checking for clang++ -arch x86_64 -std=gnu++20 -std=gnu++11 option to enable C++11 features... (cached) -std=gnu++11
checking for R... yes
checking for quantlib-config... yes
checking for suitable QuantLib version... yes (1.35)
checking for Boost development files... yes
checking for minimal Boost version... yes
configure: creating ./config.status
config.status: creating src/Makevars
RQuantlib 0.4.28 (using QuantLib 1.35)
======================================
cxxflags: -I/opt/R/x86_64/include -std=c++14
libs: -L/opt/R/x86_64/lib -lQuantLib
** libs
using C++ compiler: ‘Apple clang version 14.0.3 (clang-1403.0.22.14.1)’
using SDK: ‘MacOSX11.3.1.sdk’
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c RcppExports.cpp -o RcppExports.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c affine.cpp -o affine.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c asian.cpp -o asian.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c barrier_binary.cpp -o barrier_binary.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c bermudan.cpp -o bermudan.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c bonds.cpp -o bonds.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c calendars.cpp -o calendars.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c curves.cpp -o curves.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c dates.cpp -o dates.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c daycounter.cpp -o daycounter.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c discount.cpp -o discount.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c hullwhite.cpp -o hullwhite.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c implieds.cpp -o implieds.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c modules.cpp -o modules.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c sabr.cpp -o sabr.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c schedule.cpp -o schedule.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c utils.cpp -o utils.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c vanilla.cpp -o vanilla.o
clang++ -arch x86_64 -std=gnu++20 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I'/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include' -I/opt/R/x86_64/include -I/opt/R/x86_64/include -std=c++14 -I../inst/include -I. -fPIC -falign-functions=64 -Wall -g -O2 -c zero.cpp -o zero.o
vanilla.cpp:57:29: error: call to constructor of 'Rcpp::NumericVector' (aka 'Vector<14>') is ambiguous
Rcpp::NumericVector divvalues(discreteDividends), divtimes(discreteDividendsTimeUntil);
^ ~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/Vector.h:64:5: note: candidate constructor
Vector( const Vector& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/Vector.h:72:5: note: candidate constructor
Vector( SEXP x ) {
^
vanilla.cpp:57:59: error: call to constructor of 'Rcpp::NumericVector' (aka 'Vector<14>') is ambiguous
Rcpp::NumericVector divvalues(discreteDividends), divtimes(discreteDividendsTimeUntil);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/Vector.h:64:5: note: candidate constructor
Vector( const Vector& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/Vector.h:72:5: note: candidate constructor
Vector( SEXP x ) {
^
vanilla.cpp:146:29: error: call to constructor of 'Rcpp::NumericVector' (aka 'Vector<14>') is ambiguous
Rcpp::NumericVector divvalues(discreteDividends), divtimes(discreteDividendsTimeUntil);
^ ~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/Vector.h:64:5: note: candidate constructor
Vector( const Vector& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/Vector.h:72:5: note: candidate constructor
Vector( SEXP x ) {
^
vanilla.cpp:146:59: error: call to constructor of 'Rcpp::NumericVector' (aka 'Vector<14>') is ambiguous
Rcpp::NumericVector divvalues(discreteDividends), divtimes(discreteDividendsTimeUntil);
^ ~~~~~~~~~~~~~~~~~~~~~~~~~~
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/Vector.h:64:5: note: candidate constructor
Vector( const Vector& other){
^
/Volumes/Builds/packages/big-sur-x86_64/Rlib/4.6/Rcpp/include/Rcpp/vector/Vector.h:72:5: note: candidate constructor
Vector( SEXP x ) {
^
4 errors generated.
make: *** [vanilla.o] Error 1
make: *** Waiting for unfinished jobs....
ERROR: compilation failed for package ‘RQuantLib’
* removing ‘/Volumes/Builds/packages/big-sur-x86_64/results/4.6/RQuantLib.Rcheck/RQuantLib’