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

Function getPosixClasses

inst/include/Rcpp/date_datetime/Date.h:179–184  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

177 namespace internal {
178
179 inline SEXP getPosixClasses() {
180 Shield<SEXP> datetimeclass(Rf_allocVector(STRSXP,2));
181 SET_STRING_ELT(datetimeclass, 0, Rf_mkChar("POSIXct"));
182 SET_STRING_ELT(datetimeclass, 1, Rf_mkChar("POSIXt"));
183 return datetimeclass;
184 }
185
186 inline SEXP new_posixt_object( double d) {
187 Shield<SEXP> x(Rf_ScalarReal(d));

Callers 2

new_posixt_objectFunction · 0.85
Datetime>Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected