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

Function DataFrame_PushWrongSize

inst/tinytest/cpp/DataFrame.cpp:161–168  ·  view source on GitHub ↗

[[Rcpp::export]]

Source from the content-addressed store, hash-verified

159
160// [[Rcpp::export]]
161DataFrame DataFrame_PushWrongSize(){
162 NumericVector u(2);
163 NumericVector v(3);
164
165 DataFrame df1 = DataFrame::create(_["u"] = u);
166 df1.push_back(v);
167 return df1;
168}
169
170// [[Rcpp::export]]
171DataFrame DataFrame_PushReplicateLength(){

Callers

nothing calls this directly

Calls 1

push_backMethod · 0.45

Tested by

no test coverage detected