Package: zmij
Title: Round-Trip-Safe Double-Precision Formatting
Version: 0.1.0
Authors@R: c(
person("Nan", "Xiao", email = "me@nanx.me", role = c("aut", "cre", "cph"),
comment = c(ORCID = "0000-0002-0250-5673")),
person("David", "Tolnay", role = c("ctb", "cph"),
comment = "Author of the vendored Rust zmij crate"),
person("Victor", "Zverovich", role = c("ctb", "cph"),
comment = "Author of the zmij algorithm and original C++ implementation")
)
Description: Converts double-precision floating-point values to decimal
strings with the shortest significands needed for round-trip
recovery. Uses the 'zmij' algorithm through a vendored 'Rust'
implementation. The method is described in Zverovich (2025),
"Faster Double-to-String Conversion"
. Provides
vectorized formatting, a correctly rounded inverse parser, and
explicit handling of missing and non-finite values.
License: MIT + file LICENSE
Copyright: file inst/COPYRIGHTS
URL: https://nanx.me/zmij/, https://github.com/nanxstats/zmij
BugReports: https://github.com/nanxstats/zmij/issues
Encoding: UTF-8
Depends: R (>= 4.2)
Suggests: testthat (>= 3.0.0)
SystemRequirements: Cargo (Rust's package manager), rustc >= 1.71.0, xz
Config/rextendr/version: 0.5.0
Config/testthat/edition: 3
Roxygen: list(markdown = TRUE)
RoxygenNote: 8.0.0
Config/pak/sysreqs: xz-utils libclang-dev
Repository: https://nanxstats.r-universe.dev
Date/Publication: 2026-09-09 17:24:24 UTC
RemoteUrl: https://github.com/nanxstats/zmij
RemoteRef: HEAD
RemoteSha: 14f8e87474966ac118e572828dea2dabf41fec75
NeedsCompilation: yes
Packaged: 2026-10-09 10:50:51 UTC; root
Author: Nan Xiao [aut, cre, cph] (ORCID:
),
David Tolnay [ctb, cph] (Author of the vendored Rust zmij crate),
Victor Zverovich [ctb, cph] (Author of the zmij algorithm and original
C++ implementation)
Maintainer: Nan Xiao