MCPcopy Create free account
hub / github.com/RcppCore/Rcpp / nth

Function nth

inst/include/Rcpp/exceptions.h:251–253  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249namespace internal {
250
251 inline SEXP nth(SEXP s, int n) { // #nocov start
252 return Rf_length(s) > n ? (n == 0 ? CAR(s) : CAR(Rf_nthcdr(s, n))) : R_NilValue;
253 }
254
255 // We want the call just prior to the call from Rcpp_eval
256 // This conditional matches

Callers 1

is_Rcpp_eval_callFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected