ARROW-7045: [R] Preserve factor in Parquet roundtrip by yutannihilation · Pull Request #6135 · apache/arrow

The ability to preserve categorical values was introduced in #5077 as the convention of storing a special ARROW:schema key in the metadata. To invoke this, we need to call ArrowWriterProperties::st...