Home
last modified time | relevance | path

Searched refs:name_repair (Results 1 – 25 of 79) sorted by relevance

1234

/dports/math/R-cran-haven/haven/R/
H A Dcpp11.R11 df_parse_xpt_file <- function(spec, cols_skip, n_max, rows_skip, name_repair) { argument
12 .Call(`_haven_df_parse_xpt_file`, spec, cols_skip, n_max, rows_skip, name_repair)
15 df_parse_xpt_raw <- function(spec, cols_skip, n_max, rows_skip, name_repair) { argument
16 .Call(`_haven_df_parse_xpt_raw`, spec, cols_skip, n_max, rows_skip, name_repair)
19 df_parse_dta_file <- function(spec, encoding, cols_skip, n_max, rows_skip, name_repair) { argument
20 .Call(`_haven_df_parse_dta_file`, spec, encoding, cols_skip, n_max, rows_skip, name_repair)
23 df_parse_dta_raw <- function(spec, encoding, cols_skip, n_max, rows_skip, name_repair) { argument
24 .Call(`_haven_df_parse_dta_raw`, spec, encoding, cols_skip, n_max, rows_skip, name_repair)
27 df_parse_sav_file <- function(spec, encoding, user_na, cols_skip, n_max, rows_skip, name_repair) { argument
31 df_parse_sav_raw <- function(spec, encoding, user_na, cols_skip, n_max, rows_skip, name_repair) { argument
[all …]
H A Dhaven-sas.R63 …alog_encoding, cols_skip = cols_skip, n_max = n_max, rows_skip = skip, name_repair = .name_repair),
64 …alog_encoding, cols_skip = cols_skip, n_max = n_max, rows_skip = skip, name_repair = .name_repair),
103 source_file = df_parse_xpt_file(spec, cols_skip, n_max, skip, name_repair = .name_repair),
104 source_raw = df_parse_xpt_raw(spec, cols_skip, n_max, skip, name_repair = .name_repair),
H A Dhaven-spss.R47 …source_file = df_parse_sav_file(spec, encoding, user_na, cols_skip, n_max, skip, name_repair = .na…
48 …source_raw = df_parse_sav_raw(spec, encoding, user_na, cols_skip, n_max, skip, name_repair = .name…
61 …r_file(spec, encoding = "", user_na = user_na, cols_skip, n_max, skip, name_repair = .name_repair),
62 …or_raw(spec, encoding = "", user_na = user_na, cols_skip, n_max, skip, name_repair = .name_repair),
/dports/devel/R-cran-tibble/tibble/tests/testthat/_snaps/
H A Das_tibble.md21 # as_tibble.matrix() supports .name_repair
38 # as_tibble.poly() supports .name_repair
48 # as_tibble.table() supports .name_repair
54 Use .name_repair to specify repair.
59 Use .name_repair to specify repair.
128 Use .name_repair to specify repair.
133 Use .name_repair to specify repair.
138 Use .name_repair to specify repair.
143 Use .name_repair to specify repair.
148 Use .name_repair to specify repair.
[all …]
H A Dnames.md15 Use .name_repair to specify repair.
25 repaired_names(c("a", "a"), repair_hint = FALSE, .name_repair = "universal")
33 repaired_names(c("a", "a"), repair_hint = FALSE, .name_repair = "universal",
38 repaired_names(c("if"), repair_hint = FALSE, .name_repair = "universal")
H A Dadd.md33 Use .name_repair to specify repair.
38 Use .name_repair to specify repair.
48 Use .name_repair to specify repair.
/dports/math/R-cran-haven/haven/src/
H A Dcpp11.cpp22 …ist spec, std::vector<std::string> cols_skip, long n_max, long rows_skip, std::string name_repair);
23 …_haven_df_parse_xpt_file(SEXP spec, SEXP cols_skip, SEXP n_max, SEXP rows_skip, SEXP name_repair) { in _haven_df_parse_xpt_file() argument
29 …ist spec, std::vector<std::string> cols_skip, long n_max, long rows_skip, std::string name_repair);
30 … _haven_df_parse_xpt_raw(SEXP spec, SEXP cols_skip, SEXP n_max, SEXP rows_skip, SEXP name_repair) { in _haven_df_parse_xpt_raw() argument
37 …_dta_file(SEXP spec, SEXP encoding, SEXP cols_skip, SEXP n_max, SEXP rows_skip, SEXP name_repair) { in _haven_df_parse_dta_file() argument
43 …encoding, std::vector<std::string> cols_skip, long n_max, long rows_skip, std::string name_repair);
44 …e_dta_raw(SEXP spec, SEXP encoding, SEXP cols_skip, SEXP n_max, SEXP rows_skip, SEXP name_repair) { in _haven_df_parse_dta_raw() argument
51 … spec, SEXP encoding, SEXP user_na, SEXP cols_skip, SEXP n_max, SEXP rows_skip, SEXP name_repair) { in _haven_df_parse_sav_file() argument
58 … spec, SEXP encoding, SEXP user_na, SEXP cols_skip, SEXP n_max, SEXP rows_skip, SEXP name_repair) { in _haven_df_parse_sav_raw() argument
65 … spec, SEXP encoding, SEXP user_na, SEXP cols_skip, SEXP n_max, SEXP rows_skip, SEXP name_repair) { in _haven_df_parse_por_file() argument
[all …]
H A DDfReader.cpp432 cpp11::list output(const std::string& name_repair) { in output() argument
462 return SEXP(as_tibble(output_, ".rows"_nm = nrows_, ".name_repair"_nm = name_repair)); in output()
666 const std::string& name_repair = "check_unique", in df_parse() argument
690 return builder.output(name_repair); in df_parse()
699 std::string name_repair) { in df_parse_sas_file() argument
706 std::string name_repair) { in df_parse_sas_raw() argument
712 … df_parse<HAVEN_XPT, DfReaderInputFile>(spec, cols_skip, n_max, rows_skip, "", false, name_repair); in df_parse_xpt_file()
716 …n df_parse<HAVEN_XPT, DfReaderInputRaw>(spec, cols_skip, n_max, rows_skip, "", false, name_repair); in df_parse_xpt_raw()
721 …rse<HAVEN_DTA, DfReaderInputFile>(spec, cols_skip, n_max, rows_skip, encoding, false, name_repair); in df_parse_dta_file()
725 …arse<HAVEN_DTA, DfReaderInputRaw>(spec, cols_skip, n_max, rows_skip, encoding, false, name_repair); in df_parse_dta_raw()
[all …]
/dports/devel/R-cran-vctrs/vctrs/src/
H A Dbind.c12 static SEXP as_df_row(SEXP x, struct name_repair_opts* name_repair);
13 static SEXP as_df_row_impl(SEXP x, struct name_repair_opts* name_repair);
25 SEXP name_repair = PROTECT(Rf_eval(CAR(args), env)); args = CDR(args); in vctrs_rbind() local
51 struct name_repair_opts* name_repair, in vec_rbind() argument
57 SET_VECTOR_ELT(xs, i, as_df_row(VECTOR_ELT(xs, i), name_repair)); in vec_rbind()
73 ptype = as_df_row_impl(vctrs_shared_na_lgl, name_repair); in vec_rbind()
251 return as_df_row_impl(x, name_repair); in as_df_row()
260 return df_repair_names(x, name_repair); in as_df_row_impl()
295 nms = PROTECT_N(vec_as_names(nms, name_repair), &nprot); in as_df_row_impl()
348 SEXP name_repair = PROTECT(Rf_eval(CAR(args), env)); in vctrs_cbind() local
[all …]
H A Dc-unchop.c17 const struct name_repair_opts* name_repair);
20 SEXP vctrs_unchop(SEXP x, SEXP indices, SEXP ptype, SEXP name_spec, SEXP name_repair) { in vctrs_unchop() argument
21 struct name_repair_opts name_repair_opts = new_name_repair_opts(name_repair, args_empty, false); in vctrs_unchop()
38 const struct name_repair_opts* name_repair,
45 const struct name_repair_opts* name_repair) { in vec_unchop() argument
51 return vec_c(xs, ptype, name_spec, name_repair); in vec_unchop()
69 …SEXP out = vec_unchop_fallback(ptype, xs, indices, name_spec, name_repair, FALLBACK_HOMOGENEOUS_fa… in vec_unchop()
75 …SEXP out = vec_unchop_fallback(ptype, xs, indices, name_spec, name_repair, FALLBACK_HOMOGENEOUS_tr… in vec_unchop()
166 out_names = PROTECT(vec_as_names(out_names, name_repair)); in vec_unchop()
187 const struct name_repair_opts* name_repair, in vec_unchop_fallback() argument
[all …]
H A Dc.c16 SEXP name_repair = PROTECT(Rf_eval(CAR(args), env)); in vctrs_c() local
18 struct name_repair_opts name_repair_opts = new_name_repair_opts(name_repair, args_empty, false); in vctrs_c()
32 const struct name_repair_opts* name_repair) { in vec_c() argument
37 return vec_c_opts(xs, ptype, name_spec, name_repair, &opts); in vec_c()
43 const struct name_repair_opts* name_repair, in vec_c_opts() argument
54 SEXP out = vec_c_fallback(ptype, xs, name_spec, name_repair); in vec_c_opts()
171 out_names = PROTECT(vec_as_names(out_names, name_repair)); in vec_c_opts()
270 const struct name_repair_opts* name_repair) { in vec_c_fallback() argument
290 return vec_c_opts(xs, R_NilValue, name_spec, name_repair, &fallback_opts); in vec_c_fallback()
H A Dc.h10 const struct name_repair_opts* name_repair,
17 const struct name_repair_opts* name_repair);
/dports/devel/R-cran-tibble/tibble/man/
H A Dname-repair-superseded.Rd21 same logic as \code{.name_repair = "unique"}. If \code{TRUE}, uses same logic as
22 \code{.name_repair = "universal"}.}
43 From tibble v2.0.0, the \code{.name_repair} argument gives direct access to three
51 …s_names_legacy]{vctrs::vec_as_names_legacy()}}.\preformatted{tibble(..., `.name_repair = "unique"`)
56 tibble(..., `.name_repair = "universal"`)
H A Dtibble.Rd11 .name_repair = c("check_unique", "unique", "universal", "minimal")
16 .name_repair = c("check_unique", "unique", "universal", "minimal")
35 \item{.name_repair}{Treatment of problematic column names:
42 \item a function: apply custom name repair (e.g., \code{.name_repair = make.names}
103 tibble(x = 1, x = 2, .name_repair = "unique")
104 tibble(x = 1, x = 2, .name_repair = "minimal")
114 df <- tibble(`a 1` = 1, `a 2` = 2, .name_repair = "universal")
118 tibble(x = 1, x = 2, .name_repair = make.unique)
121 tibble(`year 1` = 1, `year 2` = 2, .name_repair = fix_names)
125 tibble(x = 1, x = 2, .name_repair = ~ make.names(., unique = TRUE))
[all …]
H A Das_tibble.Rd19 .name_repair = c("check_unique", "unique", "universal", "minimal"),
28 .name_repair = c("check_unique", "unique", "universal", "minimal"),
37 .name_repair = c("check_unique", "unique", "universal", "minimal")
40 \method{as_tibble}{matrix}(x, ..., validate = NULL, .name_repair = NULL)
42 \method{as_tibble}{table}(x, `_n` = "n", ..., n = `_n`, .name_repair = "check_unique")
50 .name_repair = c("check_unique", "unique", "universal", "minimal")
64 \item{.name_repair}{Treatment of problematic column names:
71 \item a function: apply custom name repair (e.g., \code{.name_repair = make.names}
144 as_tibble_row(1:3, .name_repair = "unique")
H A Dadd_column.Rd12 .name_repair = c("check_unique", "unique", "universal", "minimal")
25 \item{.name_repair}{Treatment of problematic column names:
32 \item a function: apply custom name repair (e.g., \code{.name_repair = make.names}
/dports/textproc/R-cran-readr/readr/R/
H A Dread_delim.R151 name_repair = "unique", argument
183 .name_repair = name_repair,
218 name_repair = "unique", argument
248 .name_repair = name_repair,
284 name_repair = "unique", argument
312 .name_repair = name_repair,
340 name_repair = "unique", argument
362 .name_repair = name_repair,
/dports/textproc/R-cran-readxl/readxl/man/
H A Dread_excel.Rd12 progress = readxl_progress(), .name_repair = "unique")
17 progress = readxl_progress(), .name_repair = "unique")
22 progress = readxl_progress(), .name_repair = "unique")
74 \item{.name_repair}{Handling of column names. By default, readxl ensures
76 recent enough, there is full support for \code{.name_repair} as documented in
132 ## exploit full .name_repair flexibility from tibble
138 .name_repair = "universal"
142 read_excel(readxl_example("clippy.xlsx"), .name_repair = toupper)
148 .name_repair = my_custom_name_repair
155 .name_repair = ~ substr(.x, start = 1, stop = 3)
/dports/textproc/R-cran-vroom/vroom/R/
H A Dcpp11.R39 …puts, col_starts, col_ends, trim_ws, col_names, col_types, col_select, name_repair, skip, comment,… argument
40 …puts, col_starts, col_ends, trim_ws, col_names, col_types, col_select, name_repair, skip, comment,…
59 …p_empty_rows, skip, n_max, progress, col_names, col_types, col_select, name_repair, id, na, locale… argument
60 …p_empty_rows, skip, n_max, progress, col_names, col_types, col_select, name_repair, id, na, locale…
/dports/devel/R-cran-vctrs/vctrs/R/
H A Dslice-chop.R99 name_repair = c("minimal", "unique", "check_unique", "universal")) { argument
100 .Call(vctrs_unchop, x, indices, ptype, name_spec, name_repair)
/dports/devel/R-cran-tidyr/tidyr/man/
H A Dexpand.Rd9 expand(data, ..., .name_repair = "check_unique")
11 crossing(..., .name_repair = "check_unique")
13 nesting(..., .name_repair = "check_unique")
40 \item{.name_repair}{Treatment of problematic column names:
47 \item a function: apply custom name repair (e.g., \code{.name_repair = make.names}
H A Dexpand_grid.Rd7 expand_grid(..., .name_repair = "check_unique")
13 \item{.name_repair}{Treatment of problematic column names:
20 \item a function: apply custom name repair (e.g., \code{.name_repair = make.names}
/dports/math/R-cran-haven/haven/man/
H A Dread_spss.Rd17 .name_repair = "unique"
26 .name_repair = "unique"
37 .name_repair = "unique"
73 \item{.name_repair}{Treatment of problematic column names:
80 \item a function: apply custom name repair (e.g., \code{.name_repair = make.names}
/dports/devel/R-cran-tibble/tibble/R/
H A Das_tibble.R115 name_repair <- .name_repair functionVar
117 name_repair <- "check_unique"
119 name_repair <- "minimal"
125 name_repair
/dports/devel/R-cran-vctrs/vctrs/man/
H A Dvec_as_names_legacy.Rd30 tibble(a = 1, a = 2, .name_repair = "universal")
33 tibble(a = 1, a = 2, .name_repair = vec_as_names_legacy)

1234