Found the following significant warnings:
  distances.cpp:40:51: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  distances.cpp:40:11: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  leapandshift.cpp:58:6: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  rmallows.cpp:74:8: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_leap_and_shift_probs.cpp:59:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_leap_and_shift_probs.cpp:61:16: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank.cpp:115:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank.cpp:115:56: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank.cpp:212:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank.cpp:212:56: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank.cpp:255:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank.cpp:255:58: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank.cpp:337:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank.cpp:337:58: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank_alpha_fixed.cpp:118:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank_alpha_fixed.cpp:118:56: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank_alpha_fixed.cpp:211:18: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank_alpha_fixed.cpp:211:56: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank_alpha_fixed.cpp:252:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank_alpha_fixed.cpp:252:58: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank_alpha_fixed.cpp:325:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_item_rank_alpha_fixed.cpp:325:58: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_users_partial.cpp:129:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_users_partial.cpp:129:58: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_users_partial.cpp:232:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_users_partial.cpp:232:58: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_users_partial_alpha_fixed.cpp:118:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_users_partial_alpha_fixed.cpp:118:58: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_users_partial_alpha_fixed.cpp:213:20: warning: use of bitwise '&' with boolean operands [-Wbitwise-instead-of-logical]
  smc_mallows_new_users_partial_alpha_fixed.cpp:213:58: warning: use of bitwise '|' with boolean operands [-Wbitwise-instead-of-logical]
See '/home/hornik/tmp/R.check/r-devel-clang/Work/PKGS/BayesMallows.Rcheck/00install.out' for details.