Package: ksTFL 0.11.6

Igor Aleschenkov

ksTFL: Framework for Clinical Tables, Figures, and Listings

Library provides framework for generation of clinical TFLs. The purpose is to provide functionality to prepare metadata that describes TFL and pass this metadata together with data to the C++ rendering engine to generate final DOCX documents with styles and deterministic pagination. Bundled third-party components include vendored FreeType, HarfBuzz, minizip, and nlohmann/json code plus Liberation fonts under their respective compatible licenses; see LICENSE for redistribution details.

Authors:Igor Aleschenkov [aut, cre, cph], Vladimir Larchenko [aut, cph]

ksTFL_0.11.6.tar.gz
ksTFL_0.11.6.zip(r-4.7)ksTFL_0.11.6.zip(r-4.6)ksTFL_0.11.6.zip(r-4.5)
ksTFL_0.11.6.tgz(r-4.6-arm64)
ksTFL_0.11.6.tar.gz(r-4.7-arm64)ksTFL_0.11.6.tar.gz(r-4.7-x86_64)ksTFL_0.11.6.tar.gz(r-4.6-arm64)ksTFL_0.11.6.tar.gz(r-4.6-x86_64)
ksTFL_0.11.6.tgz(r-4.6-emscripten)
manual.pdf |manual.html
card.svg |card.png
ksTFL/json (API)
NEWS

# Install 'ksTFL' in R:
install.packages('ksTFL', repos = c('https://crow16384.r-universe.dev', 'https://cloud.r-project.org'))

Bug tracker:https://github.com/crow16384/kstfl/issues

Pkgdown/docs site:https://crow16384.github.io

Uses libs:
  • zlib– Compression library
  • c++– GNU Standard C++ Library v3

On CRAN:

Conda:

zlibcpp

5.36 score 8 scripts 51 exports 18 dependencies

Last updated from:cc5d21f1fe. Checks:10 OK, 3 FAIL. Indexed: yes.
A new build is currently in progress.

TargetResultTimeFilesSyslog
linux-devel-arm64OK294
linux-devel-x86_64OK283
source / vignettesOK418
linux-release-arm64OK264
linux-release-x86_64OK233
macos-release-arm64OK221
macos-release-x86_64FAIL291
macos-oldrel-arm64FAIL89
macos-oldrel-x86_64FAIL217
windows-develOK252
windows-releaseOK353
windows-oldrelOK265
wasm-releaseOK211

Exports:add_body_textadd_footeradd_footnoteadd_headeradd_span_headeradd_styleadd_subtitleadd_titlec_addrowc_clearc_gluec_mergec_pageBreakc_styleclean_reportscompute_colscreate_figurecreate_reportcreate_tablecreate_textdefine_colsf_combinelist_reportsp_marginsp_pagereplay_reportrun_replay_apprun_styles_editors_borders_borderss_fonts_indentss_paragraphs_spacings_table_stylesave_reportset_documentset_page_styletfl_font_statustfl_get_optiontfl_get_optionstfl_list_templatestfl_print_style_atomstfl_rescan_fontstfl_reset_optionstfl_set_optionstfl_spec_preview_prompttfl_spec_preview_selectiontfl_style_atoms_catalogview_tfl_specwrite_doc

Dependencies:backportsbase64enccheckmateclidigestfastmapgluehtmltoolsjsonlitelifecyclemagrittrpurrrRcpprlangrstudioapitidyselectvctrswithr

Advanced StyleRows and Conditional Formatting in ksTFL

Rendered fromAdvanced_StyleRows.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-17
Started: 2025-12-25

Column Width Management in ksTFL

Rendered fromColumn_Width_Management.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-17
Started: 2025-12-25

FAQ and Practical Gotchas in ksTFL

Rendered fromFAQ_with_ksTFL.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-18
Started: 2026-06-17

Font Management in ksTFL

Rendered fromFont_Management.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-17
Started: 2026-03-19

Getting Started with ksTFL

Rendered fromGetting_Started_with_ksTFL.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-17
Started: 2025-12-22

Real Examples of Clinical Outputs using ksTFL

Rendered fromReal_Examples_with_ksTFL.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-18
Started: 2026-03-21

Rendering Pipeline and Full C++ Architecture in ksTFL

Rendered fromRendering_Pipeline.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-17
Started: 2026-03-13

Reporting Examples using ksTFL

Rendered fromReporting_Examples_with_ksTFL.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-17
Started: 2025-12-22

Styling Guide (ksTFL)

Rendered fromStyling_Guide_with_ksTFL.Rmdusingknitr::rmarkdownon Jun 19 2026.

Last update: 2026-06-17
Started: 2025-12-22

Readme and manuals

Help Manual

Help pageTopics
Add body textadd_body_text
Default method for add_body_textadd_body_text.default
Add body text for TFL_optionsadd_body_text.TFL_options
Add body text for TFL_specadd_body_text.TFL_spec
Add a footer rowadd_footer
Default method for add_footeradd_footer.default
Add a footer row for TFL_optionsadd_footer.TFL_options
Add a footer row for TFL_specadd_footer.TFL_spec
Add a footnoteadd_footnote
Add a header rowadd_header
Default method for add_headeradd_header.default
Add a header row for TFL_optionsadd_header.TFL_options
Add a header row for TFL_specadd_header.TFL_spec
Add stub (spanning) column definitionadd_span_header
Add or update a style definitionadd_style
Default method for add_styleadd_style.default
Add or update a style definition for TFL_optionsadd_style.TFL_options
Add or update a style definition for TFL_specadd_style.TFL_spec
Add a subtitleadd_subtitle
Add a titleadd_title
Insert Additional Row in Conditional Rowsc_addrow
Clear Cell Content in Conditional Rowsc_clear
Concatenate a Value to Cell Text in Conditional Rowsc_glue
Merge Adjacent Columns in Conditional Rowsc_merge
Insert a page break at the matching rowc_pageBreak
Apply Style to Columns in Conditional Rowsc_style
Clean Obsolete and Orphaned JSON Files from a Meta Folderclean_reports
Define Conditional Row Actions for Tablescompute_cols
Create a Figure Specificationcreate_figure
Combine Multiple TFL Specifications and/or Reports into a Single Reportcreate_report
Create a Table Specificationcreate_table
Create a Text Document Specificationcreate_text
Define or modify column propertiesdefine_cols
Combine multiple style names for explicit groupingf_combine
List Saved Reports in a Meta Folderlist_reports
Define page marginsp_margins
Define page settingsp_page
Print method for TFL specification objectsprint.TFL_spec
Re-render a DOCX from Stored JSONreplay_report
Launch the Combined Replay Shiny Apprun_replay_app
Launch the styles template editor Shiny apprun_styles_editor
Define border propertiess_border
Define borders for table cells or paragraphss_borders
Define font properties for a styles_font
Define indentation properties for paragraphss_indents
Define paragraph properties for a styles_paragraph
Define spacing properties for paragraphss_spacing
Define table-specific stylings_table_style
Save TFL Report to JSON with Data Filessave_report
Set document propertiesset_document
Set document style propertiesset_page_style set_page_style.TFL_options set_page_style.TFL_spec
Show current font statustfl_font_status
Retrieve a single package optiontfl_get_option
Return the active package optionstfl_get_options
List available bundled templatestfl_list_templates
Print all built-in style atoms to the consoletfl_print_style_atoms tfl_style_atoms_catalog
Rescan system fontstfl_rescan_fonts
Reset all session options to package defaultstfl_reset_options
Update the session package settingstfl_set_options
RStudio Addins for TFL Specification Previewtfl_spec_addins tfl_spec_preview_prompt tfl_spec_preview_selection
Open the HTML TFL Specification Preview in the RStudio Viewerview_tfl_spec
Save and Render a TFL Report to DOCXwrite_doc