* installing *source* package ‘microsimulation’ ...
** package ‘microsimulation’ successfully unpacked and MD5 sums checked
** using staged installation
** libs
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c microsimulation.cc -o microsimulation.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c person-r.cc -o person-r.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c calibperson-r.cc -o calibperson-r.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c simple-example.cc -o simple-example.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c simple-example2.cc -o simple-example2.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c illness-death.cpp -o illness-death.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c ssim.cc -o ssim.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c RngStream.cpp -o RngStream.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c tprocess.cc -o tprocess.o
tprocess.cc:70:9: warning: 'swapcontext' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
    if (swapcontext(&resume_ctx, &running_ctx) < 0) {
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/usr/include/ucontext.h:40:6: note: 'swapcontext' has been explicitly marked deprecated here
int  swapcontext(ucontext_t * __restrict, const ucontext_t * __restrict) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_2_0, __IPHONE_2_0) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
     ^
tprocess.cc:89:9: warning: 'swapcontext' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
    if (swapcontext(&running_ctx, &resume_ctx) < 0) {
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/usr/include/ucontext.h:40:6: note: 'swapcontext' has been explicitly marked deprecated here
int  swapcontext(ucontext_t * __restrict, const ucontext_t * __restrict) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_2_0, __IPHONE_2_0) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
     ^
tprocess.cc:148:9: warning: 'getcontext' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
    if (getcontext(&running_ctx)) {     // first we create a running context
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/usr/include/ucontext.h:37:6: note: 'getcontext' has been explicitly marked deprecated here
int  getcontext(ucontext_t *) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_2_0, __IPHONE_2_0) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
     ^
tprocess.cc:157:5: warning: 'makecontext' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
    makecontext(&running_ctx, TProcess::starter, 0);
    ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/usr/include/ucontext.h:38:6: note: 'makecontext' has been explicitly marked deprecated here
void makecontext(ucontext_t *, void (*)(), int, ...) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_2_0, __IPHONE_2_0) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
     ^
tprocess.cc:159:9: warning: 'swapcontext' is deprecated: first deprecated in macOS 10.6 [-Wdeprecated-declarations]
    if (swapcontext(&resume_ctx, &running_ctx) < 0) {
        ^
/Library/Developer/CommandLineTools/SDKs/MacOSX10.13.sdk/usr/include/ucontext.h:40:6: note: 'swapcontext' has been explicitly marked deprecated here
int  swapcontext(ucontext_t * __restrict, const ucontext_t * __restrict) __OSX_AVAILABLE_BUT_DEPRECATED(__MAC_10_5, __MAC_10_6, __IPHONE_2_0, __IPHONE_2_0) __WATCHOS_PROHIBITED __TVOS_PROHIBITED;
     ^
5 warnings generated.
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -DVERSION=\"1.7.6\" -I../inst/include -DBOOST_NO_AUTO_PTR -fPIC  -Wall -g -O2  -c pqueue.cpp -o pqueue.o
clang -mmacosx-version-min=10.13 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/Rcpp/include' -I'/Volumes/Builds/packages/high-sierra-x86_64/Rlib/4.1/BH/include' -I/usr/local/include  -I. -fPIC  -Wall -g -O2  -c init.c -o init.o
clang++ -mmacosx-version-min=10.13 -std=gnu++14 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/usr/local/lib -o microsimulation.so microsimulation.o person-r.o calibperson-r.o simple-example.o simple-example2.o illness-death.o ssim.o RngStream.o tprocess.o pqueue.o init.o -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ar cr ../inst/lib/libmicrosimulation.a microsimulation.o person-r.o calibperson-r.o simple-example.o simple-example2.o illness-death.o ssim.o RngStream.o tprocess.o pqueue.o init.o
ranlib ../inst/lib/libmicrosimulation.a
installing to /Volumes/Builds/packages/high-sierra-x86_64/results/4.1/microsimulation.Rcheck/00LOCK-microsimulation/00new/microsimulation/libs
** generating debug symbols (dSYM)
** R
** data
*** moving datasets to lazyload DB
** inst
** byte-compile and prepare package for lazy loading
** help
*** installing help indices
** building package indices
** 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 (microsimulation)