/usr/lib/R/site-library/dplyr/include/dplyr/Result/ILazySubsets.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_ILazySubsets_H
#define dplyr_ILazySubsets_H
#include <tools/SlicingIndex.h>
#include <tools/SymbolString.h>
#include <tools/SymbolVector.h>
namespace dplyr {
class ILazySubsets {
protected:
ILazySubsets() {}
public:
virtual ~ILazySubsets() {}
virtual const SymbolVector get_variable_names() const = 0;
virtual SEXP get_variable(const SymbolString& symbol) const = 0;
virtual SEXP get(const SymbolString& symbol, const SlicingIndex& indices) const = 0;
virtual bool is_summary(const SymbolString& symbol) const = 0;
virtual bool has_variable(const SymbolString& symbol) const = 0;
virtual void input(const SymbolString& symbol, SEXP x) = 0;
virtual int size() const = 0;
virtual int nrows() const = 0;
public:
bool has_non_summary_variable(const SymbolString& symbol) const {
return has_variable(symbol) && !is_summary(symbol);
}
};
}
#endif
|