Please specify whether your issue is about:
Writing and reading seem to mess up character vectors with leading zeroes.
data <- data.frame(x = 1, y = c("10", "05"))
file <- tempfile()
csvy::write_csvy(data, file, name = "abc")
csvy::read_csvy(file)
#> x y
#> 1 1 10
#> 2 1 5
str(csvy::read_csvy(file))
#> 'data.frame': 2 obs. of 2 variables:
#> $ x: num 1 1
#> $ y: chr "10" "5"
#> ..- attr(*, "levels")= chr "05" "10"
#> - attr(*, "profile")= chr "tabular-data-package"
#> - attr(*, "name")= chr "abc"
Created on 2019-12-16 by the reprex package (v0.3.0)
Please specify whether your issue is about:
Writing and reading seem to mess up character vectors with leading zeroes.
Created on 2019-12-16 by the reprex package (v0.3.0)