fracture: Convert Decimals to Fractions

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.1
Depends: R (≥ 2.10)
Imports: Rcpp
LinkingTo: Rcpp
Suggests: covr, testthat (≥ 3.0.0), withr
Published: 2022-05-21
DOI: 10.32614/CRAN.package.fracture
Author: Alexander Rossell Hayes ORCID iD [aut, cre, cph]
Maintainer: Alexander Rossell Hayes <alexander at>
License: MIT + file LICENSE
NeedsCompilation: yes
SystemRequirements: C++11
Materials: README NEWS
CRAN checks: fracture results


Reference manual: fracture.pdf


Package source: fracture_0.2.1.tar.gz
Windows binaries: r-devel:, r-release:, r-oldrel:
macOS binaries: r-release (arm64): fracture_0.2.1.tgz, r-oldrel (arm64): fracture_0.2.1.tgz, r-release (x86_64): fracture_0.2.1.tgz, r-oldrel (x86_64): fracture_0.2.1.tgz
Old sources: fracture archive

Reverse dependencies:

Reverse imports: nombre
Reverse suggests: plu


Please use the canonical form to link to this page.