Skip to content

clitable

Render Tables in Text for the Terminal

v0.1.0 · Oct 15, 2025 · GPL (>= 3)

Description

Render tables in text format in the terminal using ANSI strings thanks to the 'cli' and 'crayon' packages.

Downloads

191

Last 30 days

22882nd

453

Last 90 days

969

Last year

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

CRAN Check Status

3 ERROR
11 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 ERROR
r-oldrel-macos-x86_64 ERROR
r-oldrel-windows-x86_64 ERROR
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 details (9 non-OK)
WARNING r-oldrel-macos-arm64

dependencies in R code

Missing or unexported object: ‘datasets::penguins’
ERROR r-oldrel-macos-arm64

examples

Running examples in ‘clitable-Ex.R’ failed
The error most likely occurred in:

> ### Name: cli_table
> ### Title: generates a text table
> ### Aliases: cli_table
> 
> ### ** Examples
> 
>   df <- head(datasets::penguins, 20)
Error: 'penguins' is not an exported object from 'namespace:datasets'
Execution halted
ERROR r-oldrel-macos-arm64

tests

Running ‘testthat.R’ [1s/2s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > suppressPackageStartupMessages(library(clitable))
  > 
  > test_check("clitable")
  Saving _problems/test-cli_table-64.R
  Saving _problems/test-cli_table-104.R
  Saving _problems/test-cli_table-147.R
  
  [36m──[39m [1mclitable border styles[22m [36m──────────────────────────────────────────────────────[39m
  
  ── [1m[1mstyle: single [1m[22m ──
  
  ┌────────────┬───────────┬────────────┬───────────┬───────┐
  │Sepal.Length│Sepal.Width│Petal.Length│Petal.Width│Species│
  ├────────────┼──────────
...[truncated]...
 not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. └─utils::head(datasets::penguins) at test-cli_table.R:64:3
  ── Error ('test-cli_table.R:104:3'): to_character_matrix ───────────────────────
  Error: 'penguins' is not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. └─utils::head(datasets::penguins) at test-cli_table.R:104:3
  ── Error ('test-cli_table.R:147:3'): column_widths ─────────────────────────────
  Error: 'penguins' is not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. ├─base::as.matrix(head(datasets::penguins)) at test-cli_table.R:147:3
   2. └─utils::head(datasets::penguins)
  ── Failure ('test-demo.R:5:3'): demo ───────────────────────────────────────────
  Expected `demo()` not to throw any errors.
  Actually got a <simpleError> with message:
    'penguins' is not an exported object from 'namespace:datasets'
  
  [ FAIL 4 | WARN 0 | SKIP 6 | PASS 40 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-oldrel-macos-x86_64

dependencies in R code

Missing or unexported object: ‘datasets::penguins’
ERROR r-oldrel-macos-x86_64

examples

Running examples in ‘clitable-Ex.R’ failed
The error most likely occurred in:

> ### Name: cli_table
> ### Title: generates a text table
> ### Aliases: cli_table
> 
> ### ** Examples
> 
>   df <- head(datasets::penguins, 20)
Error: 'penguins' is not an exported object from 'namespace:datasets'
Execution halted
ERROR r-oldrel-macos-x86_64

tests

Running ‘testthat.R’ [2s/4s]
Running the tests in ‘tests/testthat.R’ failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > suppressPackageStartupMessages(library(clitable))
  > 
  > test_check("clitable")
  Saving _problems/test-cli_table-64.R
  Saving _problems/test-cli_table-104.R
  Saving _problems/test-cli_table-147.R
  
  [36m──[39m [1mclitable border styles[22m [36m──────────────────────────────────────────────────────[39m
  
  ── [1m[1mstyle: single [1m[22m ──
  
  ┌────────────┬───────────┬────────────┬───────────┬───────┐
  │Sepal.Length│Sepal.Width│Petal.Length│Petal.Width│Species│
  ├────────────┼──────────
...[truncated]...
 not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. └─utils::head(datasets::penguins) at test-cli_table.R:64:3
  ── Error ('test-cli_table.R:104:3'): to_character_matrix ───────────────────────
  Error: 'penguins' is not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. └─utils::head(datasets::penguins) at test-cli_table.R:104:3
  ── Error ('test-cli_table.R:147:3'): column_widths ─────────────────────────────
  Error: 'penguins' is not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. ├─base::as.matrix(head(datasets::penguins)) at test-cli_table.R:147:3
   2. └─utils::head(datasets::penguins)
  ── Failure ('test-demo.R:5:3'): demo ───────────────────────────────────────────
  Expected `demo()` not to throw any errors.
  Actually got a <simpleError> with message:
    'penguins' is not an exported object from 'namespace:datasets'
  
  [ FAIL 4 | WARN 0 | SKIP 6 | PASS 40 ]
  Error:
  ! Test failures.
  Execution halted
WARNING r-oldrel-windows-x86_64

dependencies in R code

Missing or unexported object: 'datasets::penguins'
ERROR r-oldrel-windows-x86_64

examples

Running examples in 'clitable-Ex.R' failed
The error most likely occurred in:

> ### Name: cli_table
> ### Title: generates a text table
> ### Aliases: cli_table
> 
> ### ** Examples
> 
>   df <- head(datasets::penguins, 20)
Error: 'penguins' is not an exported object from 'namespace:datasets'
Execution halted
ERROR r-oldrel-windows-x86_64

tests

Running 'testthat.R' [5s]
Running the tests in 'tests/testthat.R' failed.
Complete output:
  > # This file is part of the standard setup for testthat.
  > # It is recommended that you do not modify it.
  > #
  > # Where should you do additional test configuration?
  > # Learn more about the roles of various files in:
  > # * https://r-pkgs.org/testing-design.html#sec-tests-files-overview
  > # * https://testthat.r-lib.org/articles/special-files.html
  > 
  > library(testthat)
  > suppressPackageStartupMessages(library(clitable))
  > 
  > test_check("clitable")
  Saving _problems/test-cli_table-64.R
  Saving _problems/test-cli_table-104.R
  Saving _problems/test-cli_table-147.R
  
  [36m──[39m [1mclitable border styles[22m [36m──────────────────────────────────────────────────────[39m
  
  ── [1m[1mstyle: single [1m[22m ──
  
  ┌────────────┬───────────┬────────────┬───────────┬───────┐
  │Sepal.Length│Sepal.Width│Petal.Length│Petal.Width│Species│
  ├────────────┼───────────┼─
...[truncated]...
 not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. └─utils::head(datasets::penguins) at test-cli_table.R:64:3
  ── Error ('test-cli_table.R:104:3'): to_character_matrix ───────────────────────
  Error: 'penguins' is not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. └─utils::head(datasets::penguins) at test-cli_table.R:104:3
  ── Error ('test-cli_table.R:147:3'): column_widths ─────────────────────────────
  Error: 'penguins' is not an exported object from 'namespace:datasets'
  Backtrace:
      ▆
   1. ├─base::as.matrix(head(datasets::penguins)) at test-cli_table.R:147:3
   2. └─utils::head(datasets::penguins)
  ── Failure ('test-demo.R:5:3'): demo ───────────────────────────────────────────
  Expected `demo()` not to throw any errors.
  Actually got a <simpleError> with message:
    'penguins' is not an exported object from 'namespace:datasets'
  
  [ FAIL 4 | WARN 0 | SKIP 6 | PASS 40 ]
  Error:
  ! Test failures.
  Execution halted

Check History

ERROR 11 OK · 0 NOTE · 0 WARNING · 3 ERROR · 0 FAILURE Mar 10, 2026
ERROR r-oldrel-macos-arm64

dependencies in R code

Missing or unexported object: ‘datasets::penguins’
ERROR r-oldrel-macos-x86_64

dependencies in R code

Missing or unexported object: ‘datasets::penguins’
ERROR r-oldrel-windows-x86_64

dependencies in R code

Missing or unexported object: 'datasets::penguins'

Reverse Dependencies (1)

imports

Dependency Network

Dependencies Reverse dependencies cli crayon srcpkgs clitable

Version History

new 0.1.0 Mar 10, 2026