[[Rcpp::export]]
| 871 | |
| 872 | // [[Rcpp::export]] |
| 873 | bool CharacterVector_test_equality(CharacterVector x, CharacterVector y) { |
| 874 | if (x.length() != y.length()) { |
| 875 | return false; |
| 876 | } |
| 877 | |
| 878 | return std::equal(x.begin(), x.end(), y.begin()); |
| 879 | } |
| 880 | |
| 881 | // [[Rcpp::export]] |
| 882 | bool CharacterVector_test_equality_crosspolicy(CharacterVector x, Vector<STRSXP,NoProtectStorage> y) { |