* installing to library ‘/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages’
* installing *source* package ‘creditr’ ...
** this is package ‘creditr’ version ‘0.6.2’
** package ‘creditr’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
using C compiler: ‘gcc-15 (Debian 15.2.0-7) 15.2.0’
using C++ compiler: ‘g++-15 (Debian 15.2.0-7) 15.2.0’
make[1]: Entering directory '/tmp/RtmpR8uC9j/R.INSTALL38471b6f4d995b/creditr/src'
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c badday.c -o badday.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c bsearch.c -o bsearch.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c busDaysOffset.c -o busDaysOffset.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c buscache.c -o buscache.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c busday.c -o busday.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c calcSpread.c -o calcSpread.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c calcUpfront.c -o calcUpfront.o
calcUpfront.c: In function ‘calcUpfrontTest’:
calcUpfront.c:278:25: warning: ‘upfrontPayment’ may be used uninitialized [-Wmaybe-uninitialized]
278 | REAL(upfrontPayment)[0] = result * notional_for_upf;
| ^
calcUpfront.c:73:8: note: ‘upfrontPayment’ was declared here
73 | SEXP upfrontPayment;
| ^~~~~~~~~~~~~~
In file included from calcUpfront.c:4:
macros.h:129:17: warning: ‘dates_main’ may be used uninitialized [-Wmaybe-uninitialized]
129 | #define FREE(x) JpmcdsFreeSafe ((void *) (x))
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~
calcUpfront.c:280:5: note: in expansion of macro ‘FREE’
280 | FREE(dates_main);
| ^~~~
calcUpfront.c:197:10: note: ‘dates_main’ was declared here
197 | TDate *dates_main;// = NULL;
| ^~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cashflow.c -o cashflow.o
cashflow.c: In function ‘JpmcdsNewCFLFromDL3’:
cashflow.c:320:17: warning: unused variable ‘routine’ [-Wunused-variable]
320 | static char routine[]="JpmcdsNewCFLFromDL3";
| ^~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cds.c -o cds.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cdsbootstrap.c -o cdsbootstrap.o
cdsbootstrap.c: In function ‘CdsBootstrap’:
cdsbootstrap.c:209:21: warning: unused variable ‘settleDiscount’ [-Wunused-variable]
209 | double settleDiscount = 0.0;
| ^~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cdsone.c -o cdsone.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cerror.c -o cerror.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cfileio.c -o cfileio.o
cfileio.c: In function ‘JpmcdsFgets’:
cfileio.c:172:18: warning: unused variable ‘routine’ [-Wunused-variable]
172 | static char routine[] = "JpmcdsFgets";
| ^~~~~~~
g++-15 -std=gnu++17 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -pedantic -mtune=native -c cfinanci.cpp -o cfinanci.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cmemory.c -o cmemory.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c contingentleg.c -o contingentleg.o
contingentleg.c: In function ‘onePeriodIntegral’:
contingentleg.c:181:12: warning: variable ‘t’ set but not used [-Wunused-but-set-variable]
181 | double t;
| ^
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c convert.c -o convert.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cx.c -o cx.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cxbsearch.c -o cxbsearch.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cxdatelist.c -o cxdatelist.o
cxdatelist.c:19:12: warning: ‘qsortDateCompare’ defined but not used [-Wunused-function]
19 | static int qsortDateCompare(const void *date1, const void *date2)
| ^~~~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c cxzerocurve.c -o cxzerocurve.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c date_sup.c -o date_sup.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c dateadj.c -o dateadj.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c dateconv.c -o dateconv.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c datelist.c -o datelist.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c defaulted.c -o defaulted.o
defaulted.c: In function ‘JpmcdsDefaultAccrual’:
defaulted.c:38:11: warning: unused variable ‘accrualEndDateAdj’ [-Wunused-variable]
38 | TDate accrualEndDateAdj;
| ^~~~~~~~~~~~~~~~~
defaulted.c:37:11: warning: unused variable ‘accrualStartDateAdj’ [-Wunused-variable]
37 | TDate accrualStartDateAdj;
| ^~~~~~~~~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c dtlist.c -o dtlist.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c feeleg.c -o feeleg.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c fltrate.c -o fltrate.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c gtozc.c -o gtozc.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c init.c -o init.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c interpc.c -o interpc.o
interpc.c: In function ‘JpmcdsInterpRateExact’:
interpc.c:113:9: warning: unused variable ‘order’ [-Wunused-variable]
113 | int order = 0;
| ^~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c ldate.c -o ldate.o
ldate.c:608:12: warning: ‘mymin’ defined but not used [-Wunused-function]
608 | static int mymin (int *values)
| ^~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c linterpc.c -o linterpc.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c lintrp1.c -o lintrp1.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c lprintf.c -o lprintf.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c lscanf.c -o lscanf.o
lscanf.c: In function ‘JpmcdsLvfscanf’:
lscanf.c:523:37: warning: ‘D.exp’ may be used uninitialized [-Wmaybe-uninitialized]
523 | ++D.exp;
| ^~~~~~~
lscanf.c:216:19: note: ‘D.exp’ was declared here
216 | struct decrec D;
| ^
lscanf.c:520:38: warning: ‘D.sig[0]’ may be used uninitialized [-Wmaybe-uninitialized]
520 | if (c != '0' || D.sig[0]) {
| ~~~~~~~~~^~~~~~~~~~~
lscanf.c:216:19: note: ‘D.sig[0]’ was declared here
216 | struct decrec D;
| ^
lscanf.c:527:36: warning: ‘D.sigD’ may be used uninitialized [-Wmaybe-uninitialized]
527 | D.sigD *= 10;
| ^~
lscanf.c:216:19: note: ‘D.sigD’ was declared here
216 | struct decrec D;
| ^
In function ‘ldtof’,
inlined from ‘JpmcdsLvfscanf’ at lscanf.c:631:21:
lscanf.c:700:8: warning: ‘D.sgn’ may be used uninitialized [-Wmaybe-uninitialized]
700 | if (d->sgn == 1) {
| ^
lscanf.c: In function ‘JpmcdsLvfscanf’:
lscanf.c:216:19: note: ‘D.sgn’ was declared here
216 | struct decrec D;
| ^
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c rtbrent.c -o rtbrent.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c schedule.c -o schedule.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c streamcf.c -o streamcf.o
streamcf.c: In function ‘JpmcdsNewStreamFloatCFLGen’:
streamcf.c:120:18: warning: unused variable ‘stubCompound’ [-Wunused-variable]
120 | TBoolean stubCompound = FALSE; /* TRUE for tam, FALSE for t4m */
| ^~~~~~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c strutil.c -o strutil.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c stub.c -o stub.o
stub.c: In function ‘JpmcdsStubPayment’:
stub.c:44:12: warning: variable ‘coupon’ set but not used [-Wunused-but-set-variable]
44 | double coupon, couponYearFrac;
| ^~~~~~
stub.c:43:12: warning: variable ‘stubFrac’ set but not used [-Wunused-but-set-variable]
43 | double stubFrac; /* Fraction of coupon */
| ^~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c tcurve.c -o tcurve.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c timeline.c -o timeline.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c version.c -o version.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c yearfrac.c -o yearfrac.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c zcall.c -o zcall.o
zcall.c: In function ‘JpmcdsZCInterpolate’:
zcall.c:1142:20: warning: unused variable ‘yearsFromBaseDate’ [-Wunused-variable]
1142 | double yearsFromBaseDate = (date - zc->valueDate) / 365.25;
| ^~~~~~~~~~~~~~~~~
zcall.c:1140:20: warning: unused variable ‘interpData’ [-Wunused-variable]
1140 | TInterpData *interpData = interpDataIn; /* interpolation data */
| ^~~~~~~~~~
zcall.c:1136:22: warning: variable ‘metricFP’ set but not used [-Wunused-but-set-variable]
1136 | TMetricDoubleFunc metricFP; /* day counting metric function */
| ^~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c zcswap.c -o zcswap.o
zcswap.c: In function ‘JpmcdsZCAddSwaps’:
zcswap.c:188:19: warning: unused variable ‘useFastZC’ [-Wunused-variable]
188 | TBoolean useFastZC = FALSE; /* whether to use swap zc */
| ^~~~~~~~~
zcswap.c:185:19: warning: unused variable ‘newDates’ [-Wunused-variable]
185 | TSwapDates *newDates = NULL; /* Swap dates w/ synthetics */
| ^~~~~~~~
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c zcswdate.c -o zcswdate.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c zcswutil.c -o zcswutil.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c zerocurve.c -o zerocurve.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c zr2coup.c -o zr2coup.o
gcc-15 -I"/home/hornik/tmp/R.check/r-devel-gcc/Work/build/include" -DNDEBUG -I'/home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/Rcpp/include' -I/usr/local/include -D_FORTIFY_SOURCE=3 -fpic -g -O2 -Wall -Wstrict-prototypes -pedantic -mtune=native -c zr2fwd.c -o zr2fwd.o
g++-15 -std=gnu++17 -shared -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -Wl,-O1 -o creditr.so badday.o bsearch.o busDaysOffset.o buscache.o busday.o calcSpread.o calcUpfront.o cashflow.o cds.o cdsbootstrap.o cdsone.o cerror.o cfileio.o cfinanci.o cmemory.o contingentleg.o convert.o cx.o cxbsearch.o cxdatelist.o cxzerocurve.o date_sup.o dateadj.o dateconv.o datelist.o defaulted.o dtlist.o feeleg.o fltrate.o gtozc.o init.o interpc.o ldate.o linterpc.o lintrp1.o lprintf.o lscanf.o rtbrent.o schedule.o streamcf.o strutil.o stub.o tcurve.o timeline.o version.o yearfrac.o zcall.o zcswap.o zcswdate.o zcswutil.o zerocurve.o zr2coup.o zr2fwd.o -L/home/hornik/tmp/R.check/r-devel-gcc/Work/build/lib -lR
make[1]: Leaving directory '/tmp/RtmpR8uC9j/R.INSTALL38471b6f4d995b/creditr/src'
make[1]: Entering directory '/tmp/RtmpR8uC9j/R.INSTALL38471b6f4d995b/creditr/src'
make[1]: Leaving directory '/tmp/RtmpR8uC9j/R.INSTALL38471b6f4d995b/creditr/src'
installing to /home/hornik/tmp/R.check/r-devel-gcc/Work/build/Packages/00LOCK-creditr/00new/creditr/libs
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** installing vignettes
** testing if installed package can be loaded from temporary location
** checking absolute paths in shared objects and dynamic libraries
** testing if installed package can be loaded from final location
** testing if installed package keeps a record of temporary installation path
* DONE (creditr)