Changes in version 1.4.7 (2026-05-15) - Added "group_cohesion" and "break_label" parameters to define() function. - Fixed page numbering in titles and footnotes. - Improved page breaking for DOCX. - Fixed issues with spanning header borders. - Allow user to remove stub row label by passing an NA. - Fixed some issues with blank rows. Changes in version 1.4.6 (2026-02-07) - Added ability to set width of columns in page header and page footer. When width of a column is set to zero, it will be removed. - Added center column in page header. - Added functions header_image() and footer_image() to insert an image into the page header and footer. - Added "group_border" parameter to define() function to put a border line after each group. - Added a "bold" parameter to page_by() function to allow user to control bolding on page-by text. Has options to bold label, value, or both. - Improved page breaking when page by label or value is very long. - Improved page breaking in some special situations, especially on DOCX. - Fixed bug on DOCX page_footer() when there are multiple rows. - Allow user to insert PNG image files on DOCX, RTF, and HTML output types. - Removed blank group row when it appears at the top of a page. - Fixed vertical alignment on HTML. Changes in version 1.4.5 (2025-11-22) - Added ability to import EMF files to RTF and DOCX outputs. - Changed default font on create_report() to "Courier" instead of "fixed". If you want a fixed-width report, set font = "fixed" explicitly. - Added gap between spanning header lines for RTF, DOCX, and HTML. - Improved indenting on the stub so wrapped lines are indented properly. - Fixed several problems with PDF borders. - Fixed problem with HTML spanning underlines. - Added option for "blank_before" on define() function for all output types. - Increased max column width to 5 inches. Changes in version 1.4.4 (2024-03-19) - Fixed bug on dedupe functionality. - Fixed bug on page_by() format for create_plot(). - Fixed bug on continuous table outside borders. - Fixed bug with early page break when appending content dynamically. - Fixed bug on page numbers in title for RTF. - Fixed bug where show_cols was overriding define() visible = FALSE. Changes in version 1.4.3 (2023-10-29) - Fix dedupe functionality on define() function when values are not unique. - Fixes for CRAN. Changes in version 1.4.2 (2023-09-30) - Added example for page breaking. - Added columns parameter to footnotes() function. - Allow user to put new line in page-by column value. - Remove message on page-by sort. - Fixed character escape on DOCX. - Added "format" parameter to page_by() function. - Fixed some border issues on DOCX and PDF. - Fixed problem with paging and blank lines. Changes in version 1.4.1 (2023-05-12) - Fixed bug on DOCX when attempting to add multiple plots. - Fixed bug on PDF when one blank row breaks to next page and messes up column centering. - Added indent to stub rows that wrap. Changes in version 1.3.9 (2023-03-17) - Added italics font parameter to footnotes. - Added bold font parameter to spanning headers. - Fixed page count in PDF footnotes. Changes in version 1.3.8 (2022-11-28) - Fixed bug when logging plot with jpeg file. - Removed table breaks on RTF plot and text content when titles/footnotes are aligned. - Fixed bug when using symbols on portrait RTF output. Symbols were being turned 90 degrees. - Fixed bug when logging patchwork objects. - Added "continuous" parameter to create_table(). When true, table will be created a a continuous table spanning multiple pages, and not repeating titles and footnotes. Currently for RTF only. - Allowed EMF files on create_plot() for RTF output. - Added cell_style() object to apply styling to particular cells in a table. - Changed license to CC0. Changes in version 1.3.7 (2022-10-07) - Fix for error on R-devel identified by R Core team. - Added background color to footnotes in SASDefault theme. - Allowed user to pass a custom page size. - Removed break between titles, footnotes, and table body on RTF tables when widths are equal. Changes in version 1.3.6 (2022-09-13) - Added option to write_report() to turn off logging if desired. - Added "header_bold" parameter to create_table() to bold the header. - Added "header" parameter to titles() to put the title in the page header. - Added "footer" parameter to footnotes() to put the footnotes in the page footer. - Fixed bug when trying to create blank rows on an invisible column. - Fixed bug when trying to dedupe columns in stub. - Added glue functionality to titles, footnotes, page header, page footer, and column labels. - Added "columns" parameter on titles() function to allow the title block to have between 1 and 3 columns. - Fixed some bugs on PDF borders. - Updated logo. Changes in version 1.3.5 (2022-08-08) - Fixed several borders-related bugs on RTF, DOCX, and PDF. - Fixed valign bug on footnote on RTF. - Fixed bug on create_text() that was not allowing new line escapes to work properly. - Added ttl(), ftn(), and span() attribute functions. Used by other r-sassy packages to create reports. - Moved some examples to sassy package to reduce size. - Documentation fixes and updates. Changes in version 1.3.3 (2022-06-20) - Fixed bug on DOCX that was causing R Studio to crash when using a relative path. - Fixed some DOCX spacing issues. - Added create_style() and add_style() functions, which allow the user to add styling to a report. Only HTML implemented in this release. - Documentation fixes and updates. Changes in version 1.3.1 (2022-03-10) - Added DOCX output type. - Fixed bug on RTF and HTML which was preventing multiple contents from being added to the same report. - Fixed bug calculating cell wrapping on RTF and HTML. - Fixed bug on HTML preventing first_row_blank parameter from working properly. - Fixed bug on spanning header underline on RTF and HTML. - Improved column width and page size estimates on RTF and HTML. Changes in version 1.2.9 (2022-01-26) - Added all border options to PDF. - Allowed create_plot() to accept a JPG image path so that the user can embed plot images exported from other charting packages besides ggplot. Changes in version 1.2.8 (2021-12-10) - Added Arial, Times, and Courier fonts to PDF output type. - Fixed bug on RTF preventing first_row_blank parameter from working properly. - Added FAQ and Complete Examples. Changes in version 1.2.6 (2021-11-13) - Added 'HTML' output type to create_report() and write_report() functions. This was a major change that allows the user to output reports in HTML. By default, the HTML is in a 'paged' format, meaning it is suitable for printing. If you want unpaged HTML, set the paper_size parameter on create_report() to 'none'. This configuration will create a standard HTML web page, with all content dumped to a single page and no page breaks. - Added bold and font_size parameters to the titles() function. This change allows the user to create titles that are bold and a larger font size than the page body. - Added 9pt and 11pt font to all output types that accept a font size. - Added 'body' option to borders parameter on create_table() function so the user can get borders only on the table body. - Various bug fixes and documentation updates. Changes in version 1.2.0 (2021-10-10) - Added Arial, Times, and Courier fonts to RTF output type. This change required a significant rewrite to RTF report creation functions. Font is controlled using the font parameter on the create_report() function. Old text-style RTF output is still available using the "fixed" font. - Added font_size parameter to create_report() function. - Added valign parameter to footnotes() function. - Added width paremeter to titles(), title_header(), and footnotes() functions. - Added borders parameter to create_table(), create_text(), and create_plot() functions. Changes in version 1.1.6 (2021-09-08) - Added support for covr and codecov. - Fixed overflow bug on RTF on Linux when using 12pt font. - Fixed line length/alignment issues on titles and footnotes. Changes in version 1.1.3 (2021-08-06) - Made package compatible back to R 3.6. - Added GitHub Actions for prior R version checks. - Figured out how to generate PDF files directly, instead of using Latex/Rmarkdown/MikTex/Pandoc. Will greatly reduce dependencies and make the reporter package much easier to install and test. Also makes it much easier to accurately render the PDF file. - Allow user to add more than one title header(). - Made output_type parameter case insensitive. - Added standard_eval parameter to define(), spanning_header(), and column_defaults() functions. These parameters will replace curly brace escape on those functions. Curly brace escape will remain active for backward compatibility, but is no longer documented. - Fixed bug in RTF that was causing page overflows in LibreOffice Writer. - Various other bug fixes. Changes in version 1.1.2 (2021-01-19) - Changed column width calculation to make sum of widths equal the total width of the table. Previously it was excluding the column gutter from the calculation. - Removed error on title/footnote width being too long. Changed to warning and truncated text instead, so the user can at least see what is going on. - Integrated logging functionality with logr package. write_report() will now log results automatically when logr autolog is enabled. - Added underline parameter to spanning_header() to turn it on or off - Added 8pt font - Added border property to titles(), footnotes(), and title_header() functions. - Added {{}} double curly escape on parameters accepting unquoted parameters, so that users could pass them as variables inside a function. - Added pkgdown site - Fixed bug on deleting image files in the temp directory. - Various small bugs and documentation fixes/improvements Changes in version 1.0.6 (2020-11-20) - Added support for survminer graphics in create_plot(). Changes in version 1.0.5 (2020-11-19) A package to create statistical reports (TFLs). Contains the following features: - Outputs reports in TXT, RTF, and PDF file format - Titles, footnotes, page header, and page footer are repeated on each page - Supports header labels and spanning headers - Calculates default columns widths automatically - Includes automatic wrapping and splitting of wide and long tables - Integrates with the fmtr package to format numeric, date, and character data - Plots from the popular ggplot2 package can be added to RTF and PDF reports - Allows appending multiple tables to a report, multiple tables to a page, and intermingling of text, tables, and plots - Supports in-report date/time stamps and "Page X of Y" page numbering