* installing *source* package ‘dynsurv’ ... ** package ‘dynsurv’ successfully unpacked and MD5 sums checked checking for g++... g++ 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 we are using the GNU C++ compiler... yes checking whether g++ accepts -g... yes checking how to run the C++ preprocessor... g++ -E checking whether we are using the GNU C++ compiler... (cached) yes checking whether g++ accepts -g... (cached) yes checking for R... yes checking for Rscript... yes checking for Boost development files... yes checking for minimal Boost version... yes configure: creating ./config.status config.status: creating src/Makevars Completed configuration and ready to build. ** libs clang++ -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -DNDEBUG -I/usr/local/include -g -O2 -I. -fPIC -g -O2 -c IntRegPar.cpp -o IntRegPar.o clang -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -DNDEBUG -I/usr/local/include -fPIC -g -O2 -Wall -pedantic -Wconversion -Wno-sign-conversion -c arms.c -o arms.o arms.c:406:7: warning: variable 'xl' is used uninitialized whenever 'if' condition is true [-Wsometimes-uninitialized] if (q->pl->x == q->x) { ^~~~~~~~~~~~~~~~ arms.c:438:15: note: uninitialized use occurs here if ((p->x < xl) || (p->x > xr))return(1); ^~ arms.c:406:3: note: remove the 'if' if its condition is always false if (q->pl->x == q->x) { ^~~~~~~~~~~~~~~~~~~~~~~ arms.c:385:14: note: initialize the variable 'xl' to silence this warning double u,xl,xr,yl,yr,eyl,eyr,prop; //,z; ^ = 0.0 arms.c:871:45: warning: format specifies type 'unsigned int' but the argument has type 'POINT *' (aka 'struct point *') [-Wformat] fprintf(f,"ymax = %f, p = %x\n",env->ymax,env->p); ~~ ^~~~~~ arms.c:881:56: warning: format specifies type 'unsigned int' but the argument has type 'POINT *' (aka 'struct point *') [-Wformat] fprintf(f,"point at %x, left at %x, right at %x\n",q,q->pl,q->pr); ~~ ^ arms.c:881:58: warning: format specifies type 'unsigned int' but the argument has type 'struct point *' [-Wformat] fprintf(f,"point at %x, left at %x, right at %x\n",q,q->pl,q->pr); ~~ ^~~~~ arms.c:881:64: warning: format specifies type 'unsigned int' but the argument has type 'struct point *' [-Wformat] fprintf(f,"point at %x, left at %x, right at %x\n",q,q->pl,q->pr); ~~ ^~~~~ 5 warnings generated. clang++ -mtune=native -I/Users/ripley/R/R-clang/include -DNDEBUG -DNDEBUG -I/usr/local/include -g -O2 -I. -fPIC -g -O2 -c bayesCox.cpp -o bayesCox.o clang++ -mtune=native -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/usr/local/lib -o dynsurv.so IntRegPar.o arms.o bayesCox.o -L/Users/ripley/R/R-clang/lib -lR -dylib_file libRblas.dylib:/Users/ripley/R/R-clang/lib/libRblas.dylib -Wl,-framework -Wl,CoreFoundation installing to /Users/ripley/R/packages/tests-clang/dynsurv.Rcheck/dynsurv/libs ** R ** data *** moving datasets to lazyload DB ** preparing package for lazy loading ** help *** installing help indices ** building package indices ** testing if installed package can be loaded * DONE (dynsurv)