/usr/lib/R/site-library/dplyr/include/dplyr/vector_class.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 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 | #ifndef dplyr_vector_class_H
#define dplyr_vector_class_H
namespace dplyr {
template <int RTYPE>
inline std::string vector_class();
template <>
inline std::string vector_class<INTSXP>() {
return "integer";
}
template <>
inline std::string vector_class<REALSXP>() {
return "numeric";
}
template <>
inline std::string vector_class<STRSXP>() {
return "character";
}
template <>
inline std::string vector_class<LGLSXP>() {
return "logical";
}
template <>
inline std::string vector_class<VECSXP>() {
return "list";
}
template <>
inline std::string vector_class<CPLXSXP>() {
return "complex";
}
}
#endif
|