* installing *source* package ‘epiworldR’ ...
** package ‘epiworldR’ 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 arm64 -std=gnu++17 accepts -g... yes
checking for clang++ -arch arm64 -std=gnu++17 option to enable C++11 features... none needed
checking how to run the C++ preprocessor... clang++ -arch arm64 -std=gnu++17 -E
checking whether the compiler supports GNU C++... (cached) yes
checking whether clang++ -arch arm64 -std=gnu++17 accepts -g... (cached) yes
checking for clang++ -arch arm64 -std=gnu++17 option to enable C++11 features... (cached) none needed
checking whether we have a suitable tempdir... /var/folders/k4/0jwzxmln0nb8y6rkzprptb640000gq/T
checking whether R CMD SHLIB can already compile programs using OpenMP... yes
checking whether to build the dev version... configure: creating ./config.status
config.status: creating src/Makevars
config.status: creating R/epiworldR-package.R
** libs
using C++ compiler: ‘Apple clang version 14.0.0 (clang-1400.0.29.202)’
using SDK: ‘MacOSX11.3.sdk’
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/cpp11/include' -I/opt/R/arm64/include    -I../inst/include/  -Dprintf_epiworld=Rprintf -fPIC  -falign-functions=64 -Wall -g -O2  -c actions.cpp -o actions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/cpp11/include' -I/opt/R/arm64/include    -I../inst/include/  -Dprintf_epiworld=Rprintf -fPIC  -falign-functions=64 -Wall -g -O2  -c agents.cpp -o agents.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/cpp11/include' -I/opt/R/arm64/include    -I../inst/include/  -Dprintf_epiworld=Rprintf -fPIC  -falign-functions=64 -Wall -g -O2  -c cpp11.cpp -o cpp11.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/cpp11/include' -I/opt/R/arm64/include    -I../inst/include/  -Dprintf_epiworld=Rprintf -fPIC  -falign-functions=64 -Wall -g -O2  -c db.cpp -o db.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/cpp11/include' -I/opt/R/arm64/include    -I../inst/include/  -Dprintf_epiworld=Rprintf -fPIC  -falign-functions=64 -Wall -g -O2  -c epimodels.cpp -o epimodels.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/cpp11/include' -I/opt/R/arm64/include    -I../inst/include/  -Dprintf_epiworld=Rprintf -fPIC  -falign-functions=64 -Wall -g -O2  -c model.cpp -o model.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/cpp11/include' -I/opt/R/arm64/include    -I../inst/include/  -Dprintf_epiworld=Rprintf -fPIC  -falign-functions=64 -Wall -g -O2  -c tool.cpp -o tool.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.3/cpp11/include' -I/opt/R/arm64/include    -I../inst/include/  -Dprintf_epiworld=Rprintf -fPIC  -falign-functions=64 -Wall -g -O2  -c virus.cpp -o virus.o
In file included from virus.cpp:4:
In file included from ./epiworld-common.h:4:
In file included from ../inst/include/epiworld/epiworld.hpp:54:
../inst/include/epiworld/virus-meat.hpp:59:47: warning: lambda capture 'logit' is not used [-Wunused-lambda-capture]
    VirusFun<TSeq> fun_infect = [coefs_f,vars,logit](
                                              ^
virus.cpp:108:11: note: in instantiation of function template specialization 'epiworld::virus_fun_logit<int>' requested here
          virus_fun_logit(
          ^
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -dynamiclib -Wl,-headerpad_max_install_names -undefined dynamic_lookup -single_module -multiply_defined suppress -L/Library/Frameworks/R.framework/Resources/lib -L/opt/R/arm64/lib -o epiworldR.so actions.o agents.o cpp11.o db.o epimodels.o model.o tool.o virus.o -L/Library/Frameworks/R.framework/Resources/lib -lRlapack -L/Library/Frameworks/R.framework/Resources/lib -lRblas -L/opt/gfortran/lib/gcc/aarch64-apple-darwin20.0/12.2.0 -L/opt/gfortran/lib -lgfortran -lemutls_w -lquadmath -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
ld: warning: could not create compact unwind for ___emutls_get_address: registers 23 and 24 not saved contiguously in frame
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.3/epiworldR.Rcheck/00LOCK-epiworldR/00new/epiworldR/libs
** generating debug symbols (dSYM)
** 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
** 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 (epiworldR)