Releases · insightsengineering/rtables
v0.6.13 New Featuresparent_name
argument to split_rows_by*
and analyze*
functions to manually control names of (and thus paths to) the subtables created. #1024 by @gmbeckertt_row_path_exists
, which determines whether a path exists within a table's row structure, optionally restricted to resolving to a particular type of node (row, table, elementary table). #1024 by @gmbeckertt_normalize_row_path
which resolves a path including the "*" wild card to all existing paths within a table, optionally restricted to resolving to a particular type. #1024 by @gmbecker?pathing
) to the man page for the above functions.pathing
vignette. @gmbeckermake_row_df
is called on a VTableTree
the returned df now includes new sect_div_from_path
and self_section_div
columns. #1024 by @gmbeckersection_div_info
convenience function which returns portions of make_row_df
's result relevant to section dividers. #1024 by @gmbeckersection_div_at_path
and section_div_at_path<-
for getting and setting section dividers for substructures within the table. The latter supports "*" wildcards for flexible usage. #1024 by @gmbecker?section_div
) updated and expanded. #1024 by @gmbeckeras_result_df
to "de-uniqify" names that were altered for pathability when determining group values in the result dataframe/ard. #1024 by @gmbeckersection_div<-
with only_sep_sections = TRUE
more values than levels of nesting present is now more informative, and occurs regardless of whether only_sep_sections
was set manually or automatically (length(value) < nrow(tt)
). #1024 by @gmbeckersection_div<-
now works correctly on tables that include top level siblings in their row structure (e.g., when unnested structure is added via nested = FALSE
or adding a row splitting after an analyze
call). #1024 by @gmbeckersection_div<-
with only_sep_sections = FALSE
is now consistent regarding which value is set when analyze
calls occur at different levels of nesting within the corresponding layout, particularly as top-level non-nested siblings. #1024 by @gmbeckersection_div<-
no longer sets a section div on non-visible label rows when setting a section divider for a content row on the same group. #1024 by @gmbeckersection_div<-
when given a full-length (nrow(tt)
) vector now sets 'section dividers' on label rows and content rows correctly when both are visible for the same facet. #1024 by @gmbecker[
methods with signatures involving character
and missing
. @gmbecker[
methods to gracefully handle new sibling name de-duplication scheme. @gmbeckersubset_cols
generic and methods are now exported.has_force_pag
generic and methods are now exported.Full Changelog: v0.6.12...v0.6.13
v0.6.12 New Featuresstat_string
to as_result_df(make_ard = TRUE)
to preserve the original string representation of the statistics.add_tbl_name_split
to as_result_df()
to handle split levels constituted by different table names..alt_df_full
which will always be the full alt_counts_df
data.frame.sort_at_path
or prune_table
, score functions can also accept decreasing
to receive sort order.split_cols_by_multivar()
when having more than one value. Now as_result_df(make_ard = TRUE)
adds a predefined split name for each of the multivar
splits.tt_at_path()
caused by the impossibility to solve multiple branches with identical names.as_result_df(make_ard = TRUE)
uses the cell values for stat_strings
for these exceptions.section_div
argument to analyze
no longer sometimes applies dividers between each generated row in some cases. by @gmbecker[<-
causing information to be stripped from other cells if a new rcell
is set within a table row.as_result_df(make_ard = TRUE)
when different columns had different amounts of ""
values.stat_name
is character(0)
(as_result_df(make_ard = TRUE)
).integer()
, i.e. producing an empty table.add_tbl_str_decimals = TRUE
to ...
into as_result_df(make_ard = TRUE)
to add stat_string
column for theARD
output.stat_string
are more fragile than default as_result_df(make_ard = TRUE)
calculation and are in theory optional, a warning is thrown when errors arise and the stat_string
column is not added.tt_at_path
used a path based on row labels instead of row names.keep_split_levels()
is used to keep absent values.[
.keep_split_levels()
when branch is empty (character(0))
.stat_string
and different table names by @Melkiades in #986[<-
formatting bug by @edelarua in #997tt_at_path
and adding test coverage to error in sorting by @Melkiades in #994stat_string
by @Melkiades in #1003keep_split_levels()
correction for empty branches and more descriptive error by @Melkiades in #1017integer()
and 0
by @Melkiades in #1018Full Changelog: v0.6.11...v0.6.12
v0.6.11 cran New Featuresas_result_df()
.make_ard
output for single-line statistical outputs.stat_names
to rcell()
to be used by as_result_df(make_ard = TRUE)
.docx
document generation to the new package rtables.officer
.as_result_df()
parameters as_strings
and as_viewer
into data_format = c("full_precision", "strings", "numeric")
following the same outputs.as_result_df()
to have a standard behavior, with all the relevant parameters, and a possibility to add personalized spec
.result_df_specs()
, because as_result_df()
was a too shallow wrapper.as_result_df()
parameters as_is
and simplify
parameters to remove structural information.flextable
from a TableTree
object.analyze
that was causing an error when passing a single NA
value to thevar_labels
parameter.analyze
calls in as_result_df
.as_result_df
by @Melkiades in #954ContentRow
by @Melkiades in #958Full Changelog: v0.6.10...v0.6.11
v0.6.10 cran New Featuressection_properties_default()
function to define standard portrait properties for tables..html
outputs.bold_titles
to tt_to_flextable()
to bold titles.tt_to_flextable()
, and/or extend themes.reorder_split_levels()
to cover more edge cases and be more stringent in the allowed inputs.tt
input from theme_docx_default()
and added code to handle row classes and number of columns internally.theme_docx_default()
.bold_titles
to tt_to_flextable()
to bold titles."\n"
newline issues in as_html
by relying onto output devices for newline handling. Added expand_newlines = FALSE
default to allow previous behavior.keep_split_levels()
throws now an error if the user requests to keep levels that are not present in data.tt_as_flextable()
header when title was added.flextable
.""
having larger imposed margins than filled cell. They are transformed into " "
before rendering.theme_docx_default()
when only one line of column names is present, but top left information is on multiple lines.sep = "\t"
and set other parameters via ...
parameter propagation in export_as_tsv
.matrix_form
and toString
.simple_analysis
into utils file.theme_docx_default()
showing how to extend the default theme.theme_html_default()
.as_html
newlines and add parameters to export_as_tsv
by @Melkiades in #899Full Changelog: v0.6.9...v0.6.10
v0.6.9 cran Miscellaneouscol_counts
vignette wording, as CRAN macOS check failed. Raised the issue with the R-core team already.Full Changelog: v0.6.8...v0.6.9
v0.6.8 CRAN New Featurestruetype
fonts based on formatters
version >= 0.5.8
. Nearly all functions related to pagination or export now accept fontspec
argument and pass it around accordingly, by @gmbecker.make_split_fun
provided that core_split
associates the generated facets with subsetting expressions. Subsetting expressions remain unnecessary for splits in row space. By @gmbecker.make_split_res
, add_to_split_result
now accept a list of subsetting expressions which will be attached to the values, by @gmbecker.value_expr
internal getter and setter methods, by @gmbecker.split_cols_by*
functions now accept show_colcounts
and colcount_format
arguments.colcount_visible
getter and setter for changing column count visibility in an already built table @gmbecker.facet_colcount
getter and setter column count value at arbitrary point in column structure of built table @gmbecker.facet_colcounts_visible
setter to conveniently set the column count visibility of a set of sibling facets in column spacerm_all_colcounts
convenience function for turning off visibility all column counts throughout the column structure @gmbecker.as_html
preventing indentation from being applied in Viewer
output.col_counts<-
and col_total<-
methods now explicitly convert value
to integer, by @gmbecker.col_gap
is now respected in nlines
row methods, and thus by make_row_df
, by @gmbecker.lifecycle
badge files for deprecated documentation.gap
and check_headers
arguments to rbindl_rtables
using lifecycle
.as_html
by @edelarua in #862{rmarkdown}
minimal version by @averissimo in #869Full Changelog: v0.6.7...v0.6.8
v0.6.7 cran New Featurestop_level_section_div
for basic_table
to set section dividers for top level rows.keep_label_rows
to as_result_df
to have these lines visible.sort_at_path
now gives informative error messages when the given path does not exist.rlistings
decoration (e.g. titles and footers) expansion when there are new lines. Moved relevant handling from rtables
' matrix_form
function to formatters
' dedicated mform_handle_newlines
function.rtables_root
not being removed when using as_result_df
.as_result_df
where rows of the table have only "root"
as path index.sort_at_path
pathing to ignore leading "root"
element (regardless of actual root element name) to match current tt_at_path
behavior.section_div
for analysis of multiple variables (AnalyzeMultiVars
).mf_rinfo(mf)
) and actual selected indentation from matrix_form(mf, indent_rownames = FALSE)
.add_analyzed_var
and trim_zero_rows
.value_formats
addition to vignette and docs by @Melkiades in #811latest-tag
by @cicdguy in #823as_result_df
for nested rbind
by @Melkiades in #818as_result_df
edge case by @Melkiades in #829section_div
in case of multiple var analyzed (AnalyzeMultiVars
) by @Melkiades in #836FALSE
in matrix_form
by @Melkiades in #853Full Changelog: v0.6.6...v0.6.7
v0.6.6 New Featuresref_group
reordering in column splits so not to change the order.bold
argument to as_html
to bold specified elements, and header_sep_line
section_div
and section_div<-
). They also acceptheader_section_div
setters and getters for layout and table objects along withbasic_table
parameter.na_str
argument to analyze_colvars
to set custom string to print in place of missing values.data.frame
outputs for as_result_df()
via flag parameters as_viewer
, as_strings
, andexpand_colnames
.export_as_pdf
function to formatters
.as_result_df
causing misalignment of column names.row_paths()
was giving a different path due to it being made ofas_result_df
when called on tables with less than 3 rows.styler
and resolved package lint. Changed default indentation from 4 spaces to 2.as_html
.col_fnotes_here
to be replaced with col_footnotes
.section_div
methods now have a dedicated documentation page that is visible to users.txt
, they preserve the horizontal separator of the table.stringi
and checkmate
as they are fundamental packages for string handling andhsep
propagation fix by @Melkiades in #789na_str
argument to analyze_colvars
by @edelarua in #791as_result_df
by @edelarua in #792as_result_df
by @Melkiades in #793CONTRIBUTING.md
file by @edelarua in #799as_result_df
bug for small tables by @edelarua in #801Full Changelog: v0.6.5...v0.6.6
v0.6.5 New Featuresformatters
.na_str
).Viewer
and as_html
to fail when new line characters were added.NA
rows to be included in all .df_row
splits by @edelarua in #739Full Changelog: v0.6.3...v0.6.5
v0.6.4 New Features.docx
exports with export_as_docx()
.flextable
customization with theme function specific for word documents (theme_docx_default()
).NA
rows to be included in every .df_row
split.NA
rows to be included in all .df_row
splits by @edelarua in #739Full Changelog: v0.6.3...v0.6.4
You can’t perform that action at this time.
RetroSearch is an open source project built by @garambo | Open a GitHub Issue
Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo
HTML:
3.2
| Encoding:
UTF-8
| Version:
0.7.4