37 const char*
fmt =
"Could not convert using R function: %s.";
48 const char*
fmt =
"Not compatible conversion to target: "
49 "[type=%s; target=%s].";
60 if(
TYPEOF(x) == RTYPE )
return x;
69 const char*
fmt =
"Not compatible with requested type: "
70 "[type=%s; target=%s].";
77 throw ::Rcpp::not_compatible(
fmt,
126 const char*
fmt =
"Not compatible with STRSXP: [type=%s].";
163 #ifdef RCPP_WARN_ON_COERCE
SEXP r_true_cast< EXPRSXP >(SEXP x)
SEXP r_true_cast< STRSXP >(SEXP x)
T as(SEXP x, ::Rcpp::traits::r_type_primitive_tag)
SEXP r_true_cast< CPLXSXP >(SEXP x)
SEXP r_true_cast< LISTSXP >(SEXP x)
SEXP r_true_cast< REALSXP >(SEXP x)
SEXP convert_using_rfunction(SEXP x, const char *const fun)
SEXP r_true_cast< LANGSXP >(SEXP x)
SEXP r_true_cast< VECSXP >(SEXP x)
SEXP r_true_cast< LGLSXP >(SEXP x)
SEXP r_true_cast< INTSXP >(SEXP x)
SEXP r_true_cast< RAWSXP >(SEXP x)
SEXP Rcpp_fast_eval(SEXP expr, SEXP env)
void warning(const std::string &message)