Package: fracture 0.2.1

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.

Authors:Alexander Rossell Hayes [aut, cre, cph]

fracture_0.2.1.tar.gz
fracture_0.2.1.zip(r-4.5)fracture_0.2.1.zip(r-4.4)fracture_0.2.1.zip(r-4.3)
fracture_0.2.1.tgz(r-4.4-x86_64)fracture_0.2.1.tgz(r-4.4-arm64)fracture_0.2.1.tgz(r-4.3-x86_64)fracture_0.2.1.tgz(r-4.3-arm64)
fracture_0.2.1.tar.gz(r-4.5-noble)fracture_0.2.1.tar.gz(r-4.4-noble)
fracture_0.2.1.tgz(r-4.4-emscripten)fracture_0.2.1.tgz(r-4.3-emscripten)
fracture.pdf |fracture.html
fracture/json (API)
NEWS

# Install 'fracture' in R:
install.packages('fracture', repos = c('https://rossellhayes.r-universe.dev', 'https://cloud.r-project.org'))

Peer review:

Bug tracker:https://github.com/rossellhayes/fracture/issues

Uses libs:
  • c++– GNU Standard C++ Library v3

On CRAN:

4.54 score 23 stars 1 packages 3 scripts 178 downloads 9 exports 1 dependencies

Last updated 3 years agofrom:b0e7925c81. Checks:OK: 1 NOTE: 8. Indexed: yes.

TargetResultDate
Doc / VignettesOKNov 06 2024
R-4.5-win-x86_64NOTENov 06 2024
R-4.5-linux-x86_64NOTENov 06 2024
R-4.4-win-x86_64NOTENov 06 2024
R-4.4-mac-x86_64NOTENov 06 2024
R-4.4-mac-aarch64NOTENov 06 2024
R-4.3-win-x86_64NOTENov 06 2024
R-4.3-mac-x86_64NOTENov 06 2024
R-4.3-mac-aarch64NOTENov 06 2024

Exports:as.frac_matas.fracturefrac_gcdfrac_lcmfrac_matfrac_stylefractureis.frac_matis.fracture

Dependencies:Rcpp