Skip to content

fracture

Convert Decimals to Fractions

v0.2.2 · Nov 30, 2025 · MIT + file LICENSE

Description

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.

Downloads

CRAN

307

Last 30 days

12816th

881

Last 90 days

3.3K

Last year

Trend: +43.5% (30d vs prior 30d)

r2u CRAN

41

Last 30 days

123

Last 90 days

496

Last year

Trend: -16.3% (30d vs prior 30d)

CRAN Check Status

13 OK
Show all 13 flavors
Flavor Status
r-devel-linux-x86_64-debian-clang OK
r-devel-linux-x86_64-debian-gcc OK
r-devel-linux-x86_64-fedora-clang OK
r-devel-linux-x86_64-fedora-gcc OK
r-devel-windows-x86_64 OK
r-oldrel-macos-arm64 OK
r-oldrel-macos-x86_64 OK
r-oldrel-windows-x86_64 OK
r-patched-linux-x86_64 OK
r-release-linux-x86_64 OK
r-release-macos-arm64 OK
r-release-macos-x86_64 OK
r-release-windows-x86_64 OK

Check History

OK 13 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Jun 9, 2026
WARNING 12 OK · 0 NOTE · 1 WARNING · 0 ERROR · 0 FAILURE Jun 8, 2026
WARNING r-devel-linux-x86_64-debian-gcc

for code/documentation mismatches

Warning in file(open = "w+") :
  cannot open file '/tmp/RtmpcwQ0mc/Rff47e26bac55cc': No space left on device
Error in file(open = "w+") : cannot open the connection
Calls: <Anonymous> -> .load_package_quietly -> .try_quietly -> file
Execution halted
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Apr 22, 2026
ERROR 13 OK · 0 NOTE · 0 WARNING · 1 ERROR · 0 FAILURE Apr 18, 2026
ERROR r-devel-windows-x86_64

whether package can be installed

Installation failed.
See 'd:/Rcompile/CRANpkg/local/4.6/fracture.Rcheck/00install.out' for details.
OK 14 OK · 0 NOTE · 0 WARNING · 0 ERROR · 0 FAILURE Mar 10, 2026

Reverse Dependencies (2)

imports

suggests

plu

Dependency Network

Dependencies Reverse dependencies Rcpp nombre plu fracture

Version History

7 tracked
new 0.2.2 Mar 10, 2026
updated 0.2.2 ← 0.2.1 diff Nov 30, 2025
updated 0.2.1 ← 0.2.0 diff May 20, 2022
updated 0.2.0 ← 0.1.3 diff Oct 24, 2021
updated 0.1.3 ← 0.1.2 diff May 24, 2021
updated 0.1.2 ← 0.1.0 diff Sep 7, 2020
new 0.1.0 Sep 2, 2020