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

Function new_posixt_object

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

Source from the content-addressed store, hash-verified

184 }
185
186 inline SEXP new_posixt_object( double d) {
187 Shield<SEXP> x(Rf_ScalarReal(d));
188 Rf_setAttrib(x, R_ClassSymbol, getPosixClasses());
189 return x;
190 }
191
192 inline SEXP new_date_object(double d) {
193 Shield<SEXP> x(Rf_ScalarReal(d));

Callers 1

wrap<Datetime>Function · 0.85

Calls 1

getPosixClassesFunction · 0.85

Tested by

no test coverage detected