Searched refs:as_df_row (Results 1 – 3 of 3) sorted by relevance
/dports/devel/R-cran-vctrs/vctrs/R/ |
H A D | bind.R | 196 as_df_row <- function(x, quiet = FALSE) { function
|
/dports/devel/R-cran-vctrs/vctrs/src/ |
H A D | bind.c | 12 static SEXP as_df_row(SEXP x, struct name_repair_opts* name_repair); 57 SET_VECTOR_ELT(xs, i, as_df_row(VECTOR_ELT(xs, i), name_repair)); in vec_rbind() 247 static SEXP as_df_row(SEXP x, struct name_repair_opts* name_repair) { in as_df_row() function 315 return as_df_row(x, &name_repair_opts); in vctrs_as_df_row()
|
/dports/devel/R-cran-vctrs/vctrs/tests/testthat/ |
H A D | test-bind.R | 96 expect_identical(as_df_row(c(NA, NA)), c(NA, NA)) 97 expect_identical(as_df_row(unspecified(2)), unspecified(2)) 98 expect_identical(as_df_row(c(a = NA, a = NA), quiet = TRUE), data.frame(a...1 = NA, a...2 = NA)) 99 …expect_identical(as_df_row(c(a = TRUE, a = TRUE), quiet = TRUE), data.frame(a...1 = TRUE, a...2 = …
|