* installing *source* package ‘rayrender’ ...
** package ‘rayrender’ successfully unpacked and MD5 sums checked
** using staged installation
checking for gcc... clang -arch arm64
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 accepts -g... yes
checking for clang -arch arm64 option to enable C11 features... none needed
checking how to run the C preprocessor... clang -arch arm64 -E
checking whether the compiler supports GNU C++... yes
checking whether clang++ -arch arm64 accepts -g... yes
checking for clang++ -arch arm64 option to enable C++11 features... none needed
checking how to run the C++ preprocessor... clang++ -arch arm64 -E
checking for X... libraries /usr/X11/lib, headers /usr/X11/include
configure: creating ./config.status
config.status: creating src/Makevars

  --------------------------------------------------
  Configuration for  

    cppflags: -I/opt/R/arm64/include -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11
    libs:      -L/usr/X11/lib -lX11 
    includes:  -I/usr/X11/include -I/opt/X11/include

  --------------------------------------------------

** libs
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c PreviewDisplay.cpp -o PreviewDisplay.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c RayMatrix.cpp -o RayMatrix.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c RcppExports.cpp -o RcppExports.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c aabb.cpp -o aabb.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c adaptivesampler.cpp -o adaptivesampler.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c animatedtransform.cpp -o animatedtransform.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c box.cpp -o box.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c buildscene.cpp -o buildscene.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c bvh_node.cpp -o bvh_node.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c camera.cpp -o camera.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c color.cpp -o color.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c constant.cpp -o constant.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c csg.cpp -o csg.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c curve.cpp -o curve.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c cylinder.cpp -o cylinder.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c debug.cpp -o debug.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c define_functions.cpp -o define_functions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c disk.cpp -o disk.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c distributions.cpp -o distributions.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c ellipsoid.cpp -o ellipsoid.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c filter.cpp -o filter.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c hitable.cpp -o hitable.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c hitablelist.cpp -o hitablelist.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c infinite_area_light.cpp -o infinite_area_light.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c integrator.cpp -o integrator.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c material.cpp -o material.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c matrix.cpp -o matrix.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c mesh3d.cpp -o mesh3d.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c microfacetdist.cpp -o microfacetdist.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c miniply.cpp -o miniply.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c my_new.cpp -o my_new.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c pdf.cpp -o pdf.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c perlin.cpp -o perlin.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c plymesh.cpp -o plymesh.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c quaternion.cpp -o quaternion.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c ray.cpp -o ray.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c raymesh.cpp -o raymesh.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c rectangle.cpp -o rectangle.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c render_animation_rcpp.cpp -o render_animation_rcpp.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c render_scene_rcpp.cpp -o render_scene_rcpp.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c rng.cpp -o rng.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c sampler.cpp -o sampler.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c scenerenderer.cpp -o scenerenderer.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c sphere.cpp -o sphere.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c texture.cpp -o texture.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c tonemap.cpp -o tonemap.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c transform.cpp -o transform.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c transformcache.cpp -o transformcache.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c triangle.cpp -o triangle.o
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c trianglemesh.cpp -o trianglemesh.o
trianglemesh.cpp:193:11: warning: unused variable 'illum' [-Wunused-variable]
      int illum = Rcpp::as<int>(single_material["illum"]);
          ^
1 warning generated.
clang++ -arch arm64 -std=gnu++17 -I"/Library/Frameworks/R.framework/Resources/include" -DNDEBUG -I/usr/X11/include -I/opt/X11/include  -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/Rcpp/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/RcppThread/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/progress/include' -I'/Volumes/Builds/packages/big-sur-arm64/Rlib/4.2/spacefillr/include' -I/opt/R/arm64/include  -D RAY_REPRODUCE_PERLIN -DSTRICT_R_HEADERS -DRAY_HAS_X11 -fPIC  -falign-functions=64 -Wall -g -O2  -c trimesh.cpp -o trimesh.o
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 rayrender.so PreviewDisplay.o RayMatrix.o RcppExports.o aabb.o adaptivesampler.o animatedtransform.o box.o buildscene.o bvh_node.o camera.o color.o constant.o csg.o curve.o cylinder.o debug.o define_functions.o disk.o distributions.o ellipsoid.o filter.o hitable.o hitablelist.o infinite_area_light.o integrator.o material.o matrix.o mesh3d.o microfacetdist.o miniply.o my_new.o pdf.o perlin.o plymesh.o quaternion.o ray.o raymesh.o rectangle.o render_animation_rcpp.o render_scene_rcpp.o rng.o sampler.o scenerenderer.o sphere.o texture.o tonemap.o transform.o transformcache.o triangle.o trianglemesh.o trimesh.o -L/usr/X11/lib -lX11 -F/Library/Frameworks/R.framework/.. -framework R -Wl,-framework -Wl,CoreFoundation
installing to /Volumes/Builds/packages/big-sur-arm64/results/4.2/rayrender.Rcheck/00LOCK-rayrender/00new/rayrender/libs
** generating debug symbols (dSYM)
** R
** 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 (rayrender)