Changelog
Source:NEWS.md
huxtable (development version)
Other changes
- Redesigned
hux_logo()function to spell out “huxtable” with customizable layout, fonts, and colors. Addedcompactandlatexparameters for different output formats.
huxtable 5.7.0
CRAN release: 2025-08-18
Breaking changes
- Functions are no longer generic, so you can’t subclass a huxtable object. AFAIK nobody has ever done this; if I’m wrong, please tell me.
- Reworked internals, with the help of OpenAI Codex.
Other changes
- HTML tables now wrap header rows in
<thead>(using<th>cells) and body rows in<tbody>when header rows are at the top of the table. - Added Typst export via
to_typst()andprint_typst(). Quarto integration is available as well asquick_typst(),quick_typst_pdf(),quick_typst_png(), andquick_typst_svg()functions. - HTML output now uses CSS classes with a shared
<style>block instead of long inline styles. - Added
as_html()for obtaining table ashtmltoolstags. -
to_screen()now displays double, dashed and dotted border styles.
huxtable 5.6.0
CRAN release: 2025-03-05
Breaking changes
- Removed underscore dplyr verbs (
slice_,select_etc.) These have long been deprecated in dplyr itself.
Other changes
- Bugfix: add newline at end of report_latex_dependencies() output. Thanks @ceresek.
- You can now add multiple huxtables to the same Excel worksheet in
as_Workbook(). Suggestion by @oobd.
huxtable 5.5.7
CRAN release: 2024-10-01
- Bugfix: fix quarto referencing in quarto 1.5
- Bugfix: integer overflow on very large huxtables. Thanks @kpagacz.
huxtable 5.5.6
CRAN release: 2024-02-15
- Bugfix: quarto cross-referencing was giving too many warnings.
huxtable 5.5.5
CRAN release: 2024-02-08
- Bugfix: quarto cross-referencing doesn’t work for PDF with quarto version 1.4. See
?huxtable-FAQfor workarounds. - Bugfix:
by_cases()wasn’t picking up variables from the caller environment. - huxtable 5.5.4 was never released due to failing a reverse dependency check.
huxtable 5.5.3
CRAN release: 2023-12-09
- Bugfix: disable quarto styling on HTML tables. You can reenable quarto processing with
options(huxtable.quarto_process = TRUE). - Bugfix: borders weren’t working with merged cells in Word documents.
huxtable 5.5.2
CRAN release: 2022-12-16
- Update
by_cases()to work with dplyr 1.1.0. Withinby_cases()formulas,.is now vector rather than matrix when dplyr version 1.1.0 is detected. Thanks @DavisVaughan. - Add package checks in
quick_*functions. Thanks @reuning.
huxtable 5.5.1
CRAN release: 2022-11-12
- CSS borders are now set explicitly even if they are all set to 0.
- Bugfix: shell-quote files in
quick_*functions. Thanks to @ceresek. - Bugfix: cope with adjustbox version “1.3a” among latex dependencies.
huxtable 5.5.0
CRAN release: 2022-06-15
- Huxtable should work with Quarto documents.
- Quarto labels and captions will override huxtable-provided ones.
- Quarto style references like
@table-labelonly work with quarto labels. - Please report any bugs!
- New
column_to_header()function converts a column to header rows. Newas_hux()method forgrouped_dfobjects optionally converts groups to header rows. - New convenience functions
stripe_rows()andstripe_columns(). - Add
formatand...options tofmt_percent()to allow flexible formatting viaformatC(). -
add_footnote()gets an explicitnumber_formatargument which isNAby default. - Bugfix: infinite loop with wide characters in
to_screen(). - Bugfix: duplicate colnames when exporting
huxreg(..., error_pos = "right")to flextable. - Bugfix: bookdown-style references weren’t working in blogdown.
huxtable 5.4.0
CRAN release: 2021-05-14
-
New behaviour: setting
colspan()orrowspan()overwrites the content of cells that have been shadowed.ht <- hux(c(1, 1), c(2, 2), c(3, 3)) ht <- set_all_borders(ht) colspan(ht)[1, 1] <- 3 # old behaviour ht[, c(2, 1, 3)] ## +--------------------------+ ## | 2 | ## +--------+--------+--------+ ## | 2 | 1 | 3 | ## +--------+--------+--------+ # new behaviour ht[, c(2, 1, 3)] ## +--------------------------+ ## | 1 | ## +--------+--------+--------+ ## | 2 | 1 | 3 | ## +--------+--------+--------+ New option
huxtable.latex_siunitx_alignallows you to use the LaTeXsiunitxpackage to handle decimal point alignment. This isFALSEby default.Bugfix: centre alignment was not working in
print_screen().Bugfix: failure in
to_md()with recent versions ofstringipackage.Bugfix: repeating a single row in a subset, like
ht[c(1, 1, 2, 3), ], was settingcolspan = 2on the repeated row.Bugfix: zero-argument subset replacement like
ht[] <- ...wasn’t working.
huxtable 5.3.0
CRAN release: 2021-05-01
- Improve decimal alignment in LaTeX when
align(ht) == ".". This may change the appearance of some documents. - Allow
tidy_override()to extend columns oftidyandglance. - Bugfix: #196
^was giving errors in LaTeX.
huxtable 5.2.0
CRAN release: 2021-02-14
- Add
table_environmentproperty so you can use e.g."table*"in TeX. - Bugfix:
print_screen(h, colnames = FALSE)didn’t print a final newline. - Bugfix: italic from markdown was being printed as underlined in TeX.
- Minor test update for compatibility with broom.
huxtable 5.1.1
CRAN release: 2020-10-27
- Minor test update for compatibility with broom.
- Fixes for R 4.1.0.
huxtable 5.1.0
CRAN release: 2020-09-18
as_flextable()now exports markdown in cells to RTF, and to Word with the help of the optionalftExtrapackage. Thanks @atusy for adding this feature.Improvements to markdown screen export. This now uses the optional
fansipackage.New feature:
as_Workbook()gainsstart_rowandstart_colarguments, to write a huxtable into an Excel worksheet starting at a particular row or column.New feature:
huxreg()gains aglance_argsargument to pass arguments toglance().New feature:
options(huxtable.long_minus = TRUE)will try to use long minus signs before numbers. The default isFALSE. It will probably becomeTRUEin a future version.Bugfix:
insert_row/column(..., after = 0)was unsetting table properties.Bugfix: unicode characters above 32767 were incorrectly represented in RTF. Thanks @kaigu1990.
Bugfix: columns were being collapsed in
as_Workbook().Bugfix:
style_cellsdidn’t work unless huxtable was on the search path.Bugfix:
merge_repeated_rowsmergedNArows incorrectly.Bugfix: number format was not set correctly in
huxreg()’snote.Bugfix: in
huxreg(),tidy_argsthrew an error if the first argument totidy()was a named list.Bugfix:
tidy_replace()was broken.Clearer error messages for
tidy_override()whenextend = FALSE. In future,extendwill probably default toTRUE.
huxtable 5.0.0
CRAN release: 2020-06-15
Huxtable 5.0.0 brings numerous changes. For a more user-friendly introduction, see https://hughjonesd.github.io/whats-new-in-huxtable-5.0.0.html.
Breaking changes
-
There are changes to LaTeX output.
- LaTeX
\tabcolsepis now set to 0 within huxtable tables, while left and right padding should now take effect even whenwrapisFALSE. - The default LaTeX table environment is now “tabular” unless
widthis set. Ifwidthis set, it is “tabularx”. -
wraponly matters ifwidthis set. Otherwise, cell wrapping is off. - the
\centerboxmacro from the LaTeX “adjustbox” package is used to centre tables. This should improve centring when tables are too wide. You may need to update the LaTeX “adjustbox” package to a recent version.check_latex_dependencies()can inform you about this.
- LaTeX
As previously signalled,
add_colnameshas now becomeTRUEby default inhuxtable()andas_huxtable(). Setoptions(huxtable.add_colnames = FALSE)to go back to the old behaviour.Newlines in cell contents are now respected (in LaTeX, so long as
wrap = TRUEandwidthhas been set).-
Huxtable borders have been reworked, fixing some longstanding bugs and adding new features.
-
Borders are now automatically collapsed. For example:
jams %>% set_right_border(everywhere, 1, 1) %>% set_left_border(everywhere, 2, 0.4)will set the border in between the columns of
jamsto0.4, overwriting the previous value. This is more in line with what you would expect. For example, the following code now does what you probably want:jams %>% set_rowspan(2, 1, 3) %>% set_bottom_border(4, everywhere, 1) ## Type Price ## Strawberry 1.90 ## 2.10 ## 1.80 ## ---------------------------instead of the old behaviour:
jams %>% set_rowspan(2, 1, 3) %>% set_bottom_border(4, everywhere, 1) ## Type Price ## Strawberry 1.90 ## 2.10 ## 1.80 ## ----------- -
set_left_border(),set_all_borders()and friends all use a default value of 0.4. So to set a default border, write e.g.as_hux(head(iris)) %>% set_bottom_border(1, everywhere) -
A new
brdr()class encapsulates border thickness, style and colour. You can set all properties at once by writing, e.g.:as_hux(jams) %>% set_bottom_border(1, everywhere, brdr(1, "dotted", "darkgreen"))left_border(ht)and friends return abrdrobject. To access the border thickness, writebrdr_thickness(left_border(ht)).
-
-
Various deprecated items have been removed:
- The 3-argument form of
set_*. Instead, usemap_*. - The
byrowargument toset_*. Instead, usemap_*andby_cols(). -
error_styleandpad_decimalarguments inhuxreg. Useerror_formatandalign(hx) <- ".". - The
where(),is_a_number()andpad_decimal()functions. Usemap_*functions,! is.na(as.numeric(x)), andalign(ht) <- ".".
- The 3-argument form of
Default padding has been increased to 6 points.
By default,
width()is now unset.By default,
wrap()is nowTRUE.every()has been renamed tostripe(), to avoid a clash withpurrr::every().everywhere,evensandoddsare still the same.The little-used ability to set
copy_cell_propsto a character vector inrbind.huxtableandcbind.huxtablehas been removed. You can still set it toFALSE.add_rows()andadd_columns()now always callrbind.huxtable()orcbind.huxtable()and return a huxtable.Huxtable no longer supports dplyr versions less than 0.7.0 (released mid-2017).
set_cell_properties()has been renamedstyle_cells(). It is retained as a soft-deprecated alias.-
Various themes have been tweaked:
-
theme_basic()now has bold headers and no header column by default. -
theme_plain()defaults toposition = "centre". -
theme_striped()uses grey stripes, a white border, and subtler headers. -
theme_article()has thinner borders.
-
Other changes
-
You can now use markdown within table cells.
- Use
set_markdown(ht, rows, cols)to turn this on. - Or use the convenience function
set_markdown_contents()to set cell contents that will be interpreted as markdown. - Markdown works for HTML and LaTeX. There’s basic support for on-screen display.
- Use
-
Huxtable now has the concept of header row and columns.
- By default, data frame column names will be headers.
- To set other rows to be headers, use
set_header_rows(ht, row_numbers, TRUE). For columns, useheader_cols()orset_header_cols(). - New functions
style_headers(),style_header_cols(), andstyle_header_rows()to set multiple properties on headers. - In themes,
header_row/col = TRUEset the first row/col to a header, and style all header rows/cols.
-
set_bold()andset_italic()now use a default value ofTRUE. So you can write e.g. Console output in R now shows table position and caption position.
-
By default, huxtable now sets labels from the current knitr chunk label, if there is one. This is consistent with
kable(). In bookdown, you can then do e.g.Some iris species are shown in \@ref(tab:mytable): ```r as_hux(iris) ```Set
options(huxtable.autolabel = FALSE)to turn off this behaviour. The one-argument form of
[now works for huxtables just as it does for data frames. For example,ht[2:3]selects columns 2 and 3.-
New functions
fmt_percent()andfmt_pretty()for passing intonumber_format():jams$Sugar <-c ("Sugar content", 0.4, 0.35, 0.45) set_number_format(jams, -1, "Sugar", fmt_percent(1)) split_across()andsplit_down()split a huxtable into a list of sub-tables. Headers can be automatically included.restack_across()andrestack_down()split a huxtable, then join it back up. This is useful for making a table fit on a page.merge_across()andmerge_down()merge an area of cells horizontally across rows, or vertically down columns.New functions
set_lr_borders()/_border_colors()/_border_styles()/_padding()
set left and right borders and padding simultaneously. New functionsset_tb_borders()etc. set top and bottom properties simultaneously. There aremap_equivalents of all of these.set_outer_padding()sets padding around a range of cells, similarly toset_outer_borders().A new table-level property,
caption_width(), allows you to set the width of the caption. The default,NA, sets the width equal to the table width.There are two new themes:
theme_compact()andtheme_bright().For
huxreg(), a new functiontidy_replace()allows you to replace the output oftidy(x)entirely.huxtable now only sets
options(huxtable.knit_print_df = TRUE)if it is attached, not if it is loaded.huxtable supports
dplyr::relocate(), new in dplyr 1.0.0.Improvements to
as_flextable().Improvements to
quick_pptx()(thanks @davidgohel).Bugfixes for
options(huxtable.use_fontspec = TRUE).Bugfix:
add_rownames = "string"now works as promised.Bugfix: non-ASCII characters are now supported in RTF.
Other news
New versions of the gtsummary package will have an
as_huxtable()method.Package texreg on CRAN includes a
huxtablereg()function for creating a table of regression outputs.
huxtable 4.7.1
CRAN release: 2020-01-08
- The expss package now supports export to huxtables.
-
by_quantiles(),by_equal_groups()andby_colorspace()have gained acolwiseargument, which calculates quantiles or colors separately for each column. - Add caption support for
as_flextable()(thanks @sjewo).
huxtable 4.7.0
CRAN release: 2019-10-03
- Better error messages.
- New
merge_repeated_rows()function: merge repeated rows into a single cell. - New
fillandcolspan/rowspanarguments forinsert_row()/insert_column():-
insert_row(ht, "blah", "", "", "", "", ...)can be writteninsert_row(ht, "blah", fill = ""). -
colspan/rowspansetcolspan/rowspanof the first cell in the inserted row/column.
-
huxtable 4.6.1
CRAN release: 2019-08-06
- Bugfix: right borders in wrong place when cells were merged.
- Bugfix: chinese characters were displaying wrongly in
to_screen().
huxtable 4.6.0
CRAN release: 2019-06-24
- Set
options('huxtable.latex_use_fontspec')toTRUEto use portable font names in TeX documents, with the LaTeX “fontspec” package. - Bugfix: attributes were being copied wrongly in subset assignment of huxtables.
- Bugfix: text colors in
hux_logo(). - Bugfix: rbind of huxtable and matrix wasn’t setting
row_heightcorrectly.
huxtable 4.5.0
CRAN release: 2019-03-19
- Add
quick_latex()function. - The
texregpackage now includes ahuxtableregfunction, analogous tohuxreg, which outputs a huxtable from a list of regressions. This will be available from the next version oftexreg.
huxtable 4.4.0
CRAN release: 2019-03-03
- Huxtables can now be printed directly in Word documents and Powerpoint presentations, thanks to the
flextablepackage and recent versions of Pandoc. (Powerpoint printing requires Pandoc >= 2.4.0.) - New “wrapleft” and “wrapright” options to
position()allow text wrapping around tables. - New
set_outer_border_colors()andset_outer_border_styles()functions, likeset_outer_borders(). - Huxtable no longer requires the
broompackage, instead using thegenericspackage. If you usehuxreg(), you will still need e.g.broomorbroom.mixedto providetidy()andglance()methods for specific models. - Bugfix:
tidy.tidy_override()andglance.tidy_override()should work even if underlying object has notidy()orglance()method. - Bugfix: huxtables had option clash when
echo = TRUEin Rmd pdf_document format. - Bugfix:
caption()andheight()weren’t playing nicely. - Bugfix:
mutate(..., copy_cell_props = FALSE)was adding a column namedcopy_cell_props. - Bugfix:
check_latex_dependenciesandinstall_latex_dependenciesgave misleading errors. - Enhancement: when
starsisNULLinhuxreg, don’t print a note by default. - Enhancement: use
tinytexwhen available, allowing autoinstallation of latex packages.
huxtable 4.3.0
CRAN release: 2018-11-07
- More work on TeX. Tables should now compile when raw_attributes is not set.
- New
map_xxxfunctions to set properties variably by cell values. - Functions for mapping properties variably:
by_rows,by_values,by_ranges,by_quantilesetc. - Correct bookdown labels are now automatically created.
- New grey, blue, green and orange themes.
- New “themes” vignette.
- New
tidy_overridefunction to override p values etc. inhuxreg. - New
set_contentsfunction to change huxtable contents within dplyr pipes. - Enhancement: left- and right-aligned captions are now set above the table in LaTeX, using the “threeparttable” package. You will need to install this using e.g.
install_latex_dependencies()ortlmgrif it is not already on your system. - Enhancement: in
huxtable()and friends,add_rownames = "Colname"now sets the name for the new column. - Improvements to the vignettes and help files.
- Bugfix: to_md could hang with bold/italic cells.
Deprecated
- The 3 argument form of
set_xxxfunctions is deprecated, as is thewherefunction. Usemap_xxxinstead. - Argument
byrowis soft-deprecated. Useby_cols()instead.
huxtable 4.2.1
CRAN release: 2018-10-26
- Bugfix:
wrap=TRUEcaused squeezed text in RTF.
Important
-
TeX code was getting escaped by pandoc. To avoid this, if possible, huxtable now adds fenced code blocks round latex tables (see https://pandoc.org/MANUAL.html#extension-raw_attribute). You must add
md_extensions: +raw_attribute
to your YAML header for this to work, and you will need a recent (> 2.0.0) version of Pandoc.
huxtable 4.2.0
CRAN release: 2018-10-03
- More speedups: LaTeX 2-3x faster, as_Workbook 2-3x faster.
- Simplify LaTeX output using our own LaTeX commands.
- RTF support: new
print_rtf,to_rtfandquick_rtffunctions. - New
border_styleproperties to set “solid”, “double”, “dotted” or “dashed” borders. (At present, LaTeX only allows “solid” or “double”.) - New
merge_cellsfunction, an alternative interface tocolspanandrowspan. - New
quick_pptxfunction to print data frames and huxtables into Powerpoint. - New
install_latex_dependenciesandcheck_latex_dependenciesutility functions. -
add_rowsandadd_columnsnow accept data frames as arguments. - New
theme_mondriantheme :-D - Enhancement:
print_mdnow handles bold and italic cells. - Enhancement:
quick_pdfhas newwidthandheightoptions to change paper size. - Use CSS writing-mode where possible for text rotation. Note that this may break on non-LTR languages. If this affects you, please file an issue.
- Bugfix: LaTeX didn’t compile when height and caption were both set.
- Bugfix:
print_screenandprint_mdwould hang with a wide huxtable. - Tweaks to documentation.
huxtable 4.1.0
CRAN release: 2018-07-31
- dplyr, knitr, rmarkdown and some other packages have moved to “Suggests:”, lowering the dependency load considerably. All the functionality is still present. huxtable gives an informative warning if a needed package is not installed.
- Code rewrites for better performance and maintainability: HTML is up to 10x faster, LaTeX is up to 4x faster.
- Documentation improvements.
- New
tribble_huxfunction wrappingtibble::tribble()for readable data input. - New
add_rowsandadd_columnsfunctions to insert one or more rows into the middle of a huxtable. - New option “huxtable.knitr_output_format” to override the default output format in knitr documents.
- Numeric row heights and column widths are rescaled to 1 when huxtables are cbinded/rbinded.
- LaTeX: at points where borders cross, priority is given to the horizontal border color.
- Bugfix: property accessors had the wrong environment. Thanks to Iñaki Úcar.
- Bugfix: row heights and column widths weren’t being copied with cbind/rbind.
- Bugfixes for 0-row or 0-column huxtables:
- Output works, usually with a warning.
- cbind and rbind work.
- Bugfix: HTML cols were printed with ‘width: NA’.
- Bugfix: width, col_width etc. can be reset to a number after setting them to a string.
- The (undocumented) ability to mix numeric and non-numeric values for padding and/border widths has been removed. If you want a number, set a number and not a string.
- Bugfix: HTML tables with position “right” weren’t right-aligned.
- Nicer error messages when rbinding objects with different numbers of rows.
- Vignette improvements.
-
is_a_numberis deprecated. - … and a cool new randomized
hux_logo();-)
huxtable 4.0.1
CRAN release: 2018-07-03
- Improved formatting in Excel output.
- New
formatmethod which returns the result ofto_html,to_latexetc. as appropriate. - Bugfix:
to_htmlprinting e.g. “left-border: NA;” in cell CSS. - Bugfix:
set_all_*not working when huxtable is not attached. - Bugfix:
as_Workbookfailing with non-numericwidth. - Bugfix:
hux_logowas using multiple fonts, fails with Excel output. - Bugfix:
as_flextableborders not working in cells with colspan > 1. - Documentation bugfixes.
- Compatibility with broom 5.0.0 - thanks @alexpghayes
huxtable 4.0.0
CRAN release: 2018-06-02
- New
theme_plaintheme. - The default value for
add_colnamesis going to becomeTRUE. At present it remainsFALSE. Setoptions("huxtable.add_colnames")toTRUEorFALSEto set the default and avoid warnings in future. -
quick_*functions now automatically open documents if used interactively. Useopen = FALSEto avoid. - Tweak top and bottom margins for HTML tables.
-
pad_decimalis deprecated in favour ofalign(ht) <- ".". -
huxregcontinues with a warning ifstatisticsare unavailable for some models.
Breaking changes
- huxtable now provides
knit_print.data.framemethods. This means that bare data frames will be pretty-printed via huxtable if the package is loaded.- Set
options("huxtable.knit_print_df")toFALSEif you don’t want this. - By default data frames are printed using the
theme_plaintheme. Set options(“huxtable.knit_print_df_theme”) to a different one-argument function if you want to use a different theme.
- Set
- The new
autoformatargument letshuxtable()andas_huxtable()automatically choose alignment and number format based on column type. Setoptions("huxtable.autoformat")toFALSEto turn off this feature by default. - The default value of
number_formathas changed from “%5.3g” to “%.3g”, which no longer space-pads numbers. -
as_flextablenow does not print column names in the header. This matches the standard huxtable behaviour whereby headers are “just another row/column”. To get the old behaviour, usecolnames_to_header = TRUE.
Bugfixes
- Bugfix: Date and datetime columns were converted to numbers by
add_colnames. - LaTeX bugfix: background colors were printing an extra space.
-
huxregwas never using built-in confidence intervals. - Screen bugfixes:
- set max_width to screen width (thanks @jacob-long)
- misaligned decimal points
- Various bugfixes for
number_format,huxreg,as_hux.table,as_flextable.
huxtable 3.0.0
CRAN release: 2018-02-23
- Output to Excel workbooks using the
openxlsxpackage. - New
quick_xlsxfunction. - dplyr select helpers now work inside
set_*column specifications: e.g. set_bold(ht, 1:3, matches(“ab”), TRUE) - Column names can now be used for the
afterargument toinsert_column. -
quick_*functions: when thefileargument is not explicitly specified, confirm overwrites manually, or fail if called non-interactively. - Add pointless quote marks in Description and Title… I don’t make the rules.
- Don’t apply number_format to negative exponents (e.g. 1.12e-3).
- New
tidy_argsargument to huxreg allows per-model customization of the call totidy.
huxtable 2.0.2
CRAN release: 2018-02-08
- Don’t apply
number_formatto exponents in scientific notation. - Turn off some tests on CRAN, as they fail there but not elsewhere.
huxtable 2.0.0
CRAN release: 2018-01-02
- New
quick_html,quick_pdfandquick_docxfunctions to print table-like objects to a new document. -
to_screenonly shows colnames if there are any non-zero-length column names.
Breaking changes
-
number_formatnow applies to any number-like substrings in cells. This means you can include e.g. significance stars in a cell and still usenumber_formatto format the content. - If
number_formatis NA, numbers are unchanged. - Default value of
number_formathas changed from “%5.2f” to “%5.3g”, which plays nicer with integers but may surprise you by using scientific format for large numbers.
huxtable 1.2.0
CRAN release: 2017-12-17
- New
outer_bordersargument forhuxreg. This changes default behaviour slightly. - New
borderargument foradd_footnoteto choose width of footnote’s top border. - Added guard assertions to many exported functions.
- Bugfix: captions and colnames are wrapped in to_screen to respect max_width.
huxtable 1.1.0
CRAN release: 2017-10-20
- No more ugly autocreated column names.
- Allow huxtable to have invalid or empty column names in general.
- LaTeX should now be much faster on large tables.
-
set_outer_bordersnow accepts the same row/column arguments as otherset_functions. - Better handling in LaTeX of horizontal borders which don’t cross the entire table. (But not varying positive border widths….)
- Bugfix: flextable didn’t like huxreg’s syntactically invalid column names.
- Accept, but silently change, English spelling of ‘centre’ in
align,positionandcaption_pos.
huxtable 1.0.0
CRAN release: 2017-10-07
- LaTeX implements different thicknesses for vertical and horizontal borders (but only one horizontal thickness per row).
- LaTeX border colors now collapse nicely: set colors override unset ones.
- React gracefully to lack of p values in
huxreg. - New
set_outer_bordersfunction to set borders round a rectangle of cells. -
to_screenandto_mdnow respectwrapandcol_widthsproperties. - Screen and markdown wrap respect word boundaries.
-
to_screenandto_mdgain amin_widthargument;to_mdgains a logicalheaderargument;to_screengains acompactargument replacingblank = NULL. - On screen colour and bold support, if the
crayonpackage is installed. Newhuxtable.color_screenoption. - Move from
ReporteRstoofficerandflextable. No moreRJavahorror. - New
error_formatargument tohuxregfor flexible control over uncertainty estimates. - Infrastructure improvements: slightly less ugly code in screen.R and LaTeX.R.
Breaking changes
- Removed options
collapse,borders,blankandcolname_colorfromto_screen/print_screen. -
as_FlexTableis deprecated and callsas_flextablewith a warning.header_rowsandfooter_rowsarguments are ignored. If you need this feature, tell me. - HTML border sizes are now set in points, not pixels.
- In
huxreg:-
ci_levelisNULLby default. Set it to a number to calculate confidence intervals. -
error_styleis deprecated with a warning in favour oferror_format. - Use stars not
%stars%to display significance levels in thenoteargument. -
bordersbecomes a number specifying border width. Set to 0 for no borders.
-
huxtable 0.3.1
CRAN release: 2017-09-12
- New convenience functions
insert_rowandinsert_column. -
latex_floatproperty allows you to change positioning in LaTeX. - (Semantic versioning fail: this should have been 0.4.0.)
huxtable 0.3.0
CRAN release: 2017-05-18
- New borders argument for huxreg, gives borders in sensible places.
- Allow more flexible caption positioning with
caption_pos. - New
set_default_propertiesfunction to set default properties for new huxtables. - Fix compatibility with dplyr 0.6.0.
huxtable 0.2.2
CRAN release: 2017-04-27
- Fix a bug that could lead to wrong significance stars in
huxreg.
huxtable 0.2.1
CRAN release: 2017-04-24
- Compatibility with dplyr 0.6.0.
- Use ~ for decimal padding in LaTeX.
huxtable 0.2.0
CRAN release: 2017-04-21
- New
huxregfunction to convert a list of models to a huxtable. - New set_* interface allowing column ranges, expressions a la
subset, and filling in values by row. - Replacement methods
$<-,[<-and[[<-now work better. - New function
set_cell_propertiesto set multiple properties on cells. -
evens,odds,everywhere,every(n, from),final(n),where(cond): convenience functions to select rows, columns and cells. - Export to Word/Powerpoint via
ReporteRs. - Huxtable now supports dplyr verbs like
filterandselect. - Exported function
guess_knitr_output_format. - Ability to set border colors.
- Prevent overlapping row/colspans.
- Expanded introduction and new vignette for
huxreg. - Numerous bugs have been fixed and replaced with new, more advanced bugs.