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

Function collapse

inst/include/Rcpp/sugar/functions/strings/collapse.h:41–43  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39
40 template <bool NA, typename T>
41 inline String collapse( const VectorBase<STRSXP,NA,T>& vec ){
42 return sugar::collapse__impl( vec.get_ref().begin(), vec.size() ) ;
43 }
44
45}
46#endif

Callers

nothing calls this directly

Calls 3

collapse__implFunction · 0.85
beginMethod · 0.45
sizeMethod · 0.45

Tested by

no test coverage detected