/usr/lib/R/site-library/dplyr/include/dplyr/white_list.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 | #ifndef dplyr_white_list_H
#define dplyr_white_list_H
namespace dplyr {
inline bool white_list(SEXP x) {
if (Rf_isMatrix(x)) {
// might have to refine later
return true;
}
switch (TYPEOF(x)) {
case INTSXP:
return true;
case REALSXP:
return true;
case LGLSXP:
return true;
case STRSXP:
return true;
case CPLXSXP:
return true;
case VECSXP: {
if (Rf_inherits(x, "POSIXlt")) return false;
return true;
}
default:
break;
}
return false;
}
}
#endif
|