/usr/lib/R/site-library/dplyr/include/dplyr/Result/is_smaller.h is in r-cran-dplyr 0.7.4-3.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | #ifndef dplyr_Result_is_smaller_H
#define dplyr_Result_is_smaller_H
namespace dplyr {
namespace internal {
template <int RTYPE>
inline bool is_smaller(typename Rcpp::traits::storage_type<RTYPE>::type lhs, typename Rcpp::traits::storage_type<RTYPE>::type rhs) {
return lhs < rhs;
}
template <>
inline bool is_smaller<STRSXP>(SEXP lhs, SEXP rhs) {
return strcmp(CHAR(lhs), CHAR(rhs)) < 0;
}
} // namespace internal
} // namespace dplyr
#endif
|