Changes fro 2.2.1 ----------------- * The `txtInt` handles `NA` more gracefully. Changes fro 2.2.0 ----------------- * Added `htmlTable_args` attribute for making modifications to the final table easier Changes fro 2.1.0 ----------------- * Added options for how the empty spacer cell appears (see `addHtmlTableStyle()` spacer.* options) * Fixed ignored `align.header` * Fix for wrapped styles (issue #80) Changes for 2.0.1 ----------------- * Fix for txtRound not handling negative numbers (issue #76) * Fix bug for `hidden.rgroup` & `hidden_tspanner` in `tidyHtmlTable` * Documentation improvements & switched to markdown docs Changes for 2.0.0 ------------------ * Added theming and styling with `addHtmlTableStyle` and `setHtmlTableTheme` to reduce the cognitive burden of finding the right option within the docs. Note: this may impact your current tables and hence the major version (2.0.0). * Changed so that `css.cell` is properly applied to rownames, cell fillers and the actual cells of interest (may impact the final layout!) * Breaking change `tidyHtmlTable`: Moved to a fully tidyverse compatible system with tidyHtmlTable. This is a breaking change to the API as we switch from columns as strings to `tidyselect` syntax and as `gather`/`spread` have been replaced by `pivot_longer`/`pivot_wider` the default values have been updated in accordance with their defaults, e.g. `rnames = "name"` and `value = "value"`. * Breaking change `tidyHtmlTable`: Sorting of rows is skipped as we may have situations with repeating inputs and this can easily be performed pre-function by calling `dplyr::arrange`. This has furthermore the desirable feature that any custom sorting is retained. * Added *mso-number-format* to help (Issue #63) - thanks Rasmus Hertzum * txtRound can now add txtInt when formatting the integer section for easier readability * Added htmlTable css options - they should all start with `htmlTable.` * `pos.caption` now uses match.arg as expected * Fixed proper S3 function definition for `htmlTable` with all the arguments * Added `htmlTable.css.border` style option for allowing to choose border style. Also fixed bug with cgroup empty cells and vertical border. * Added `htmlTable.pretty_indentation` option for skipping the stripping of all the tabs that was required due to old Pandoc bug. * Added `attr(x, "html") <- TRUE` by default and UTF-8 encoding on all outputted strings to mimic the `htmltools::HTML` function behavior. * For simple tibble output the `tidyHtmlTable` can now be used to choose a column for the rnames argument * The print statement now respects the `chunk_output_type` in Rmd files in RStudio * `tidyHtmlTable` now accepts table function that allows switching to other table functions * Added `css.header` style as using `css.cell` wasn't entirely intuitive (fixes issue #73) Changes for 1.13.3 ------------------ * Prepared for R 4.0
34 lines
1.2 KiB
Makefile
34 lines
1.2 KiB
Makefile
# $NetBSD: Makefile,v 1.3 2021/09/08 11:15:48 mef Exp $
|
|
|
|
R_PKGNAME= htmlTable
|
|
R_PKGVER= 2.2.1
|
|
CATEGORIES= textproc
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
COMMENT= Advanced tables for Markdown/HTML
|
|
LICENSE= gnu-gpl-v3
|
|
|
|
DEPENDS+= R-checkmate>=1.9.4:../../devel/R-checkmate
|
|
DEPENDS+= R-magrittr>=1.5:../../devel/R-magrittr
|
|
DEPENDS+= R-rstudioapi>=0.6:../../math/R-rstudioapi
|
|
DEPENDS+= R-knitr>=1.6:../../print/R-knitr
|
|
DEPENDS+= R-htmltools>=0.3.6:../../textproc/R-htmltools
|
|
DEPENDS+= R-stringr>=1.4.0:../../textproc/R-stringr
|
|
DEPENDS+= R-htmlwidgets>=1.3:../../www/R-htmlwidgets
|
|
|
|
# Packages suggested but not available: 'reshape', 'lubridate'
|
|
TEST_DEPENDS+= R-testthat-[0-9]*:../../devel/R-testthat
|
|
TEST_DEPENDS+= R-XML-[0-9]*:../../math/R-XML
|
|
TEST_DEPENDS+= R-xml2-[0-9]*:../../textproc/R-xml2
|
|
TEST_DEPENDS+= R-Hmisc-[0-9]*:../../misc/R-Hmisc
|
|
TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
|
|
TEST_DEPENDS+= R-chron-[0-9]*:../../math/R-chron
|
|
TEST_DEPENDS+= R-tibble-[0-9]*:../../math/R-tibble
|
|
TEST_DEPENDS+= R-tidyselect-[0-9]*:../../devel/R-tidyselect
|
|
TEST_DEPENDS+= R-tidyr-[0-9]*:../../math/R-tidyr
|
|
TEST_DEPENDS+= R-dplyr-[0-9]*:../../math/R-dplyr
|
|
|
|
USE_LANGUAGES= # none
|
|
|
|
.include "../../math/R/Makefile.extension"
|
|
.include "../../mk/bsd.pkg.mk"
|