Package: proratar
Title: Proportional Allocation with Sum Consistency
Version: 0.1.0
Authors@R: person(given = "Shunsuke", family = "Homma", email = "shunsuke.homma@proton.me", role = c("aut", "cre"))
Description: Provides robust functions for proportional allocation of numeric values. It guarantees sum consistency after rounding or integer truncation using one of two adjustment methods: the largest remainder method or max-value adjustment. Handles edge cases like NA weights and vector total values seamlessly.
License: MIT + file LICENSE
Encoding: UTF-8
RoxygenNote: 7.3.3
Suggests: testthat (>= 3.0.0)
Config/testthat/edition: 3
NeedsCompilation: no
Packaged: 2026-06-11 09:28:13 UTC; HOMMA
Author: Shunsuke Homma [aut, cre]
Maintainer: Shunsuke Homma <shunsuke.homma@proton.me>
Repository: CRAN
Date/Publication: 2026-06-18 14:10:07 UTC
Built: R 4.5.2; ; 2026-06-18 14:41:59 UTC; unix
