Check that no col_name values have spaces
Source:R/check_meta_col_name_spaces.R
check_meta_col_name_spaces.RdChecks the metadata file's col_name column for values that contain spaces.
Details
NA in the column names don't contain spaces so won't count and are validated against elsewhere.'
See also
Other precheck_col:
precheck_col_invalid_meta(),
precheck_col_req_data(),
precheck_col_req_meta(),
precheck_col_to_rows()
Examples
check_meta_col_name_spaces(example_meta)
#> check result message
#> 1 col_name_spaces PASS There are no spaces in the col_name values.
#> guidance_url
#> 1 NA
check_meta_col_name_spaces(example_meta, verbose = TRUE)
#> ✔ There are no spaces in the col_name values.
#> check result message
#> 1 col_name_spaces PASS There are no spaces in the col_name values.
#> guidance_url
#> 1 NA