Package: fracture 0.2.2

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:
fracture_0.2.2.tar.gz
fracture_0.2.2.zip(r-4.7)fracture_0.2.2.zip(r-4.6)fracture_0.2.2.zip(r-4.5)
fracture_0.2.2.tgz(r-4.6-x86_64)fracture_0.2.2.tgz(r-4.6-arm64)fracture_0.2.2.tgz(r-4.5-x86_64)fracture_0.2.2.tgz(r-4.5-arm64)
fracture_0.2.2.tar.gz(r-4.7-arm64)fracture_0.2.2.tar.gz(r-4.7-x86_64)fracture_0.2.2.tar.gz(r-4.6-arm64)fracture_0.2.2.tar.gz(r-4.6-x86_64)
fracture_0.2.2.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
fracture/json (API)
| # Install 'fracture' in R: |
| install.packages('fracture', repos = c('https://rossellhayes.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/rossellhayes/fracture/issues
Pkgdown/docs site:https://fracture.rossellhayes.com
Last updated from:2b652703b8. Checks:13 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-arm64 | OK | 134 | ||
| linux-devel-x86_64 | OK | 205 | ||
| source / vignettes | OK | 157 | ||
| linux-release-arm64 | OK | 171 | ||
| linux-release-x86_64 | OK | 134 | ||
| macos-release-arm64 | OK | 81 | ||
| macos-release-x86_64 | OK | 270 | ||
| macos-oldrel-arm64 | OK | 79 | ||
| macos-oldrel-x86_64 | OK | 208 | ||
| windows-devel | OK | 109 | ||
| windows-release | OK | 224 | ||
| windows-oldrel | OK | 201 | ||
| wasm-release | OK | 132 |
Exports:as.frac_matas.fracturefrac_gcdfrac_lcmfrac_matfrac_stylefractureis.frac_matis.fracture
Dependencies:Rcpp
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Least common multiple and greatest common divisor | frac_gcd frac_lcm |
| Convert decimals to a matrix of numerators and denominators | as.frac_mat frac_mat is.frac_mat |
| Style a fracture with superscripts and subscripts | frac_style |
| Convert decimals to a character vector of fractions | as.fracture fracture is.fracture |
