Skip to content

Printing Floating Point Numbers in a Human-Friendly Format

0packages dependsuggested by 2
44.8Kdownloads / year
58.2%test coverage
12/13flavors OK

Overview

About

Print vectors (and data frames) of floating point numbers using a non-scientific format optimized for human readers. Vectors of numbers are rounded using significant digits, aligned at the decimal point, and all zeros trailing the decimal point are dropped. See: Wright (2016). Lucid: An R Package for Pretty-Printing Floating Point Numbers. In JSM Proceedings, Statistical Computing Section. Alexandria, VA: American Statistical Association. 2270-2279.

Changes in 1.12
  • Fix CRAN check issues with .Dim etc.

From NEWS.md in the release

Install

Health

CRAN checks
1ERROR12OK
Check messages
ERRORtestsr-devel-linux-x86_64-fedora-clang
Running ‘testthat.R’ [3s/11s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > library(testthat)
  > library(lucid)
  > 
  > test_check("lucid")
    id P1 P2          P3
  1  A  a -1 3.3175e-140
  2  B  b  0 1.0637e-165
  3  C c   1 1.1279e-157
    id P1 P2
  1  A  a -1
  2  B  b  0
  3  C c   1
                                                                                                                                                  P3
  1 0.0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000332
  2 0                                                                                                                                               
  3 0                                                                                                                                               
        effect variance stddev
   (Intercept)   615.3  24.81 
      Residual    16.17  
...[truncated]...
g::eval_bare(expr, quo_get_env(quo))
   4. └─lucid::vc(m1l)
  ── Error ('test_vc.r:64:3'): glmer ─────────────────────────────────────────────
  Error in `vc(m1g)`: cannot open file '/tmp/RtmpQbPnIJ/RLIBS_585e17a9dc73f/lucid/R/lucid.rdb': No such file or directory
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(vc(m1g), ref_val, tolerance = 0.1) at test_vc.r:64:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─lucid::vc(m1g)
  ── Error ('test_vc.r:99:3'): mmer ──────────────────────────────────────────────
  Error in `vc(m1s)`: cannot open file '/tmp/RtmpQbPnIJ/RLIBS_585e17a9dc73f/lucid/R/lucid.rdb': No such file or directory
  Backtrace:
      ▆
   1. ├─testthat::expect_equal(...) at test_vc.r:99:3
   2. │ └─testthat::quasi_label(enquo(object), label)
   3. │   └─rlang::eval_bare(expr, quo_get_env(quo))
   4. └─lucid::vc(m1s)
  
  [ FAIL 3 | WARN 1 | SKIP 2 | PASS 19 ]
  Error:
  ! Test failures.
  Execution halted

CRAN check page ↗

Slowest check: 1.3 min · r-devel-windows-x86_64
Status changes
  • ERROR12 OK, 1 ERROR2026-10-24
  • OK13 OK2026-09-09
  • NOTE11 OK, 2 NOTE2026-07-16
  • OK14 OK2026-04-10
  • ERROR13 OK, 1 ERROR2026-04-09
Show 1 earlier changeHide 1 earlier change
  • OK14 OK2026-03-10
Advisories

none known

Documentation

In release 1.12
READMENoVignettesYes · 1 · dynamicNEWSYes · 100% structured · mentions 1.12Citation fileNoWebsiteYes · pkgdown
Help pages
3
Examples that run
67%2 run in a plain check · 1 never run
Exported functions with examples
100%
Documented parameters
100%
Return-value docs
100%
Help pages citing references
33%

Downloads

44.8K
CRAN downloads in the past year
Rank #1,996 · ~123/day · ~3.7K/mo
Daily download trend is not available in this view yet.
4.4K30 days
9.4K90 days
44.8K1 year
Compare downloads with other packages →
Also on106 r2u3 autocran

Repository

25Stars
3Forks
0Open issues
0Open PRs
0Releases
49Commits
2Commit identities
rstats
49 commits · Last activity 2026-09-03
Responsiveness
How these are sampled
PRs merged (all time)
100%
Median days to close, 50 most recently updated closed issues
5
Median days to close, 50 most recently updated closed PRs
0

Stars over time

2025-03-03 · 242026-07-07 · 25
PracticesBeta

5 development-tooling and community-health practices detected across 3 families in the upstream repository

Checks run against github.com/kwstat/lucid on 2026-10-21.

Continuous integration (1)
GitHub Actions
Docs source (3)
pkgdown

GitHub Pages site last deployed 2026-09-03 · The repository has a site deploy workflow

pkgdown site last built 2026-09-03

CRAN release process (1)
cran-comments.md
How this is detected·Detection ruleset v4 (2026-10-20)

Dependencies

Declared dependencies
8 external dependencies (excludes base and recommended)

Installing lucid adds no packages beyond those that come with R.

Depends (0)
none
Imports (1)
nlme
LinkingTo (0)
none
Enhances (0)
none
Reverse dependencies
0direct
0indirect
Suggested by 2
Suggests, most downloaded first

Datasets

People & History

People (1)
Author, Maintainer since 1.0 (2014), Copyright holder
Releases (11)

Pick two releases to compare their code metrics.

  • 1.12Latest
    record
    2026-09-03 · current release · diff ↗
  • R
    R 4.6.0 released · 2026-04-24
  • 1.11
    record
    2026-03-03 · diff ↗
  • R
    R 4.5.0 released · 2025-04-11
  • 1.9
    record
    2025-04-04 · diff ↗
  • R
    R 4.4.0 released · 2024-04-24
  • R
    R 4.3.0 released · 2023-04-21
  • R
    R 4.2.0 released · 2022-04-22
  • R
    R 4.1.0 released · 2021-05-18
  • 1.8
    record
    2021-04-16 · diff ↗
  • R
    R 4.0.0 released · 2020-04-24
  • R
    R 3.6.0 released · 2019-04-26
  • 1.7
    record
    2019-02-06 · diff ↗
  • 1.6
    record
    2018-08-24 · diff ↗
  • R
    R 3.5.0 released · 2018-04-23
  • R
    R 3.4.0 released · 2017-04-21
Show 8 earlier eventsHide 8 earlier events

Package metadata

First published
2014-11-26
Total releases
11 / 12 yrs
License
MIT + file LICENSE OSI · relicensed from GPL-3 in 1.9
Bundled data
0.7 KB / 1 file
Download size
49 KB

Cite

Cite this package

Run in R for the authors' preferred citation:

citation("lucid")
Wright, K. (2026). lucid: Printing Floating Point Numbers in a Human-Friendly Format (Version 1.12) [Computer software]. https://doi.org/10.32614/CRAN.package.lucid

This package has no citation file, so citation() returns this entry built from DESCRIPTION.

Cite the R Observatory

For a number measured here: a download total, a coverage figure, an archival date.

APA

Balamuta, J. J. (2026). R Observatory: Metrics for lucid version 1.12 [Data set]. HJJB, LLC. Data release v2026-10-24. https://doi.org/10.5281/zenodo.21843040

From data release v2026-10-24, which the citation names so these numbers can be found later. More on citing and the projects behind them.

Report a problem with this page →

Privacy choices

These apply to this browser and are stored on this device only. Nothing about your choice is sent to us.

Read the privacy policy