Reports structural issues that would make SeaTable reject the file, or
that indicate the base was built incorrectly in R: missing top-level
keys; a table without a name or an _id; repeated table names, table
ids, column keys, column names or row ids; a column without a key, a
type or a name, or one named _id; rows without an _id; and empty
table or view settings that would be written as [] where SeaTable
expects {}.
Value
A tibble with columns location (chr), problem (chr) and
severity (chr, "error" or "warning"). Zero rows means the base
is well-formed.
Examples
base <- hb_dtable(Samples = data.frame(x = 1))
hb_validate_dtable(base)
#> # A tibble: 0 × 3
#> # ℹ 3 variables: location <chr>, problem <chr>, severity <chr>