| 158 | return xp->has_typeinfo_name(clazz); |
| 159 | } |
| 160 | template <typename T> bool is__module__object(SEXP x) { |
| 161 | if (!is__simple<S4>(x)) return false; |
| 162 | typedef typename Rcpp::traits::un_pointer<T>::type CLASS; |
| 163 | return is_module_object_internal(x, typeid(CLASS).name()); |
| 164 | } |
| 165 | |
| 166 | #endif |
| 167 |
nothing calls this directly
no test coverage detected