* installing *source* package 'greeks' ...
** package 'greeks' successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C++ compiler: 'g++.exe (GCC) 12.3.0'
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpcRrA1i/R.INSTALLcfb062207ea0/greeks/src'
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c Binomial_American_Greeks.cpp -o Binomial_American_Greeks.o
Binomial_American_Greeks.cpp: In function 'Rcpp::NumericVector Binomial_American_Greeks_cpp(double, double, double, double, double, double, std::string, int)':
Binomial_American_Greeks.cpp:77:26: warning: 'payoff_function' may be used uninitialized [-Wmaybe-uninitialized]
   77 |           payoff_function(price(2*steps - 2*i + j - steps), exercise_price),
      |           ~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Binomial_American_Greeks.cpp:29:12: note: 'payoff_function' was declared here
   29 |   double (*payoff_function)(double price, double exercise_price);
      |            ^~~~~~~~~~~~~~~
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c RcppExports.cpp -o RcppExports.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calc_I.cpp -o calc_I.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calc_I_1.cpp -o calc_I_1.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calc_I_2.cpp -o calc_I_2.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calc_I_3.cpp -o calc_I_3.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calc_X.cpp -o calc_X.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calc_XW.cpp -o calc_XW.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calc_log_X.cpp -o calc_log_X.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c calc_tXW.cpp -o calc_tXW.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c make_BM.cpp -o make_BM.o
g++ -std=gnu++17  -I"D:/RCompile/recent/R-4.3.3/include" -DNDEBUG  -I'D:/RCompile/CRANpkg/lib/4.3/Rcpp/include'   -I"d:/rtools43/x86_64-w64-mingw32.static.posix/include"  -fopenmp   -pedantic -O2 -Wall  -mfpmath=sse -msse2 -mstackrealign  -c rowCumsums.cpp -o rowCumsums.o
g++ -std=gnu++17 -shared -s -static-libgcc -o greeks.dll tmp.def Binomial_American_Greeks.o RcppExports.o calc_I.o calc_I_1.o calc_I_2.o calc_I_3.o calc_X.o calc_XW.o calc_log_X.o calc_tXW.o make_BM.o rowCumsums.o -fopenmp -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRlapack -LD:/RCompile/recent/R-4.3.3/bin/x64 -lRblas -lgfortran -lm -lquadmath -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib/x64 -Ld:/rtools43/x86_64-w64-mingw32.static.posix/lib -LD:/RCompile/recent/R-4.3.3/bin/x64 -lR
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpcRrA1i/R.INSTALLcfb062207ea0/greeks/src'
make[1]: Entering directory '/d/temp/2024_12_20_01_50_00_19051/RtmpcRrA1i/R.INSTALLcfb062207ea0/greeks/src'
make[1]: Leaving directory '/d/temp/2024_12_20_01_50_00_19051/RtmpcRrA1i/R.INSTALLcfb062207ea0/greeks/src'
installing to d:/Rcompile/CRANpkg/lib/4.3/00LOCK-greeks/00new/greeks/libs/x64
** R
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
*** copying figures
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* MD5 sums
packaged installation of 'greeks' as greeks_1.4.3.zip
* DONE (greeks)