- Fixed bug on dedupe functionality.
- Fixed bug on
page_by()
format forcreate_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.
- Fix dedupe functionality on
define()
function when values are not unique. - Fixes for CRAN.
- 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.
- 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.
- Added italics font parameter to footnotes.
- Added bold font parameter to spanning headers.
- Fixed page count in PDF footnotes.
- 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.
- 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.
- 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.
- 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()
, andspan()
attribute functions. Used by other r-sassy packages to create reports. - Moved some examples to sassy package to reduce size.
- Documentation fixes and updates.
- Fixed bug on DOCX that was causing R Studio to crash when using a relative path.
- Fixed some DOCX spacing issues.
- Added
create_style()
andadd_style()
functions, which allow the user to add styling to a report. Only HTML implemented in this release. - Documentation fixes and updates.
- 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.
- 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.
- 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.
- Added 'HTML' output type to
create_report()
andwrite_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 oncreate_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.
- 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()
, andfootnotes()
functions. - Added borders parameter to
create_table()
,create_text()
, andcreate_plot()
functions.
- 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.
- 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()
, andcolumn_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.
- 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()
, andtitle_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
- Added support for survminer graphics in
create_plot()
.
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