Found the following significant warnings:
  betabinom.cpp:144:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:147:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:150:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:153:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:267:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:270:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:273:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:276:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:385:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:388:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:391:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:460:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:463:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  betabinom.cpp:466:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  gradients.cpp:409:9: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  objective.cpp:463:11: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  util_funs.cpp:46:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  util_funs.cpp:110:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  util_funs.cpp:113:7: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
See ‘/data/gannet/ripley/R/packages/tests-clang/updog.Rcheck/00install.out’ for details.