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

352

Last 30 days

10895th

868

Last 90 days

3.1K

Last year

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

CRAN Check Status

14 OK
Show all 14 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-macos-arm64 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 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

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