Found the following significant warnings:
  RcppFunctions.cpp:389:14: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  arith.cpp:166:8: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  ./vecmath.h:621:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  ./vecmath.h:642:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  ./vecmath.h:686:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  ./vecmath.h:664:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  gdalio.cpp:316:13: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  ./geos_spat.h:332:6: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:1166:9: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2712:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2727:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2744:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2761:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2833:11: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2868:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2891:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2929:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  raster_methods.cpp:2953:12: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  raster_stats.cpp:177:6: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  spatBase.cpp:440:10: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  spatRaster.cpp:1658:21: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  spatRaster.cpp:2011:6: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  spatVector.cpp:798:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  spatVector.cpp:866:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  ./vecmath.h:485:17: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  write_gdal.cpp:355:6: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
See ‘/data/gannet/ripley/R/packages/tests-clang/terra.Rcheck/00install.out’ for details.