/usr/lib/R/site-library/dplyr/include/tools/Call.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 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 | #ifndef dplyr__Call_h
#define dplyr__Call_h
namespace Rcpp {
class Call {
public:
Call() : data(R_NilValue) {}
Call(SEXP x) : data(x) {
if (data != R_NilValue) R_PreserveObject(data);
}
~Call() {
if (data != R_NilValue) R_ReleaseObject(data);
}
Call(const Call& other) : data(other.data) {
if (data != R_NilValue) R_PreserveObject(data);
}
Call& operator=(SEXP other) {
if (other != data) {
if (data != R_NilValue) R_ReleaseObject(data);
data = other;
if (data != R_NilValue) R_PreserveObject(data);
}
return *this;
}
inline SEXP eval(SEXP env) const {
return Rcpp_eval(data, env);
}
inline operator SEXP() const {
return data;
}
private:
SEXP data;
Call& operator=(const Call& other);
// {
// *this = other.data;
// return *this;
// }
};
}
#endif
|