Package: lt 0.0.15
lt: Lightweight Tables via JSON Specs and JavaScript
A lightweight grammar of tables. Build a table by declaring a JSON spec (titles, spanners, row groups, footnotes, formatters, etc.); a tiny vanilla JavaScript runtime builds the HTML table from the spec on page load. No 'sass', no 'V8', no 'htmlwidgets' — just base R and 'xfun' ('htmltools' is used only for the optional Shiny binding).
Authors:
lt_0.0.15.tar.gz
lt_0.0.15.zip(r-4.7)lt_0.0.15.zip(r-4.6)lt_0.0.15.zip(r-4.5)
lt_0.0.15.tgz(r-4.6-any)lt_0.0.15.tgz(r-4.5-any)
lt_0.0.15.tar.gz(r-4.7-any)lt_0.0.15.tar.gz(r-4.6-any)
lt_0.0.15.tgz(r-4.6-emscripten)
manual.pdf |manual.html✨
DESCRIPTION |NEWS
card.svg |card.png
lt/json (API)
| # Install 'lt' in R: |
| install.packages('lt', repos = c('https://yihui.r-universe.dev', 'https://cloud.r-project.org')) |
Bug tracker:https://github.com/yihui/lt/issues
Last updated from:f4ed6442a0. Checks:9 OK. Indexed: yes.
| Target | Result | Time | Files | Syslog |
|---|---|---|---|---|
| linux-devel-x86_64 | OK | 137 | ||
| source / vignettes | OK | 146 | ||
| linux-release-x86_64 | OK | 167 | ||
| macos-release-arm64 | OK | 71 | ||
| macos-oldrel-arm64 | OK | 72 | ||
| windows-devel | OK | 70 | ||
| windows-release | OK | 66 | ||
| windows-oldrel | OK | 65 | ||
| wasm-release | OK | 130 |
Exports:ltlt_alignlt_csslt_datelt_footnotelt_formatlt_grouplt_headerlt_indentlt_labellt_mergelt_movelt_notelt_outputlt_spannerlt_stylelt_sublt_widthrender_lt
Dependencies:xfun
Readme and manuals
Help Manual
| Help page | Topics |
|---|---|
| Render an 'lt_tbl' to HTML | format.lt_tbl |
| Create a Table Specification | lt lt.default |
| Set Column Alignment | lt_align |
| Attach Custom CSS | lt_css |
| Format Date/Time Columns | lt_date |
| Add a Footnote | lt_footnote |
| Format Numeric Columns | lt_format |
| Define Row Groups | lt_group |
| Add a Title and Subtitle | lt_header |
| Indent Rows | lt_indent |
| Rename Column Labels | lt_label |
| Merge Columns | lt_merge |
| Move Columns | lt_move |
| Add a Note | lt_note |
| Shiny Bindings for lt | lt_output render_lt |
| Add a Column Spanner | lt_spanner |
| Style Cells | lt_style |
| Substitute Cell Values | lt_sub |
| Set Column Widths | lt_width |
| Print an 'lt_tbl' (Opens in the Viewer or Browser) | print.lt_tbl |
