Provides functions for converting decimals to a matrix of numerators and denominators or a character vector of fractions. Supports mixed or improper fractions, finding common denominators for vectors of fractions, limiting denominators to powers of ten, and limiting denominators to a maximum value. Also includes helper functions for finding the least common multiple and greatest common divisor for a vector of integers. Implemented using C++ for maximum speed.
| Version: | 0.2.2 |
| Depends: | R (≥ 2.10) |
| Imports: | Rcpp |
| LinkingTo: | Rcpp |
| Suggests: | covr,testthat (≥ 3.0.0),withr |
| Published: | 2025-12-01 |
| DOI: | 10.32614/CRAN.package.fracture |
| Author: | Alexander Rossell Hayes |
| Maintainer: | Alexander Rossell Hayes <alexander at rossellhayes.com> |
| BugReports: | https://github.com/rossellhayes/fracture/issues |
| License: | MIT + fileLICENSE |
| URL: | https://fracture.rossellhayes.com/,https://github.com/rossellhayes/fracture |
| NeedsCompilation: | yes |
| Materials: | README,NEWS |
| CRAN checks: | fracture results |
| Reference manual: | fracture.html ,fracture.pdf |
| Package source: | fracture_0.2.2.tar.gz |
| Windows binaries: | r-devel:fracture_0.2.2.zip, r-release:fracture_0.2.2.zip, r-oldrel:fracture_0.2.2.zip |
| macOS binaries: | r-release (arm64):fracture_0.2.2.tgz, r-oldrel (arm64):fracture_0.2.2.tgz, r-release (x86_64):fracture_0.2.2.tgz, r-oldrel (x86_64):fracture_0.2.2.tgz |
| Old sources: | fracture archive |
| Reverse imports: | nombre |
| Reverse suggests: | plu |
Please use the canonical formhttps://CRAN.R-project.org/package=fractureto link to this page.