fn builtin_toml_parse(
args: &[RValue],
named: &[(String, RValue)],
) -> Result<RValue, RError>Expand description
Parse a TOML string into an R value.
Conversion rules:
- TOML table -> named list
- TOML array of tables (homogeneous keys) -> data.frame
- TOML array of scalars -> atomic vector
- TOML array of mixed types -> list
- TOML string -> character
- TOML integer -> integer
- TOML float -> double
- TOML boolean -> logical
- TOML datetime -> character (ISO 8601 string)
@param text character scalar: TOML string to parse @return R value corresponding to the TOML structure