pkgsrc-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[pkgsrc/trunk]: pkgsrc/textproc/R-htmlTable (textproc/R-htmlTable) updated 1....



details:   https://anonhg.NetBSD.org/pkgsrc/rev/08c4cd708cfd
branches:  trunk
changeset: 458046:08c4cd708cfd
user:      mef <mef%pkgsrc.org@localhost>
date:      Wed Sep 08 11:15:48 2021 +0000

description:
(textproc/R-htmlTable) updated 1.13.1 to 2.2.1

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

diffstat:

 textproc/R-htmlTable/Makefile |  16 ++++++++++++++--
 textproc/R-htmlTable/distinfo |  10 +++++-----
 2 files changed, 19 insertions(+), 7 deletions(-)

diffs (47 lines):

diff -r 030257c5f3fd -r 08c4cd708cfd textproc/R-htmlTable/Makefile
--- a/textproc/R-htmlTable/Makefile     Wed Sep 08 11:12:37 2021 +0000
+++ b/textproc/R-htmlTable/Makefile     Wed Sep 08 11:15:48 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.2 2019/08/08 19:53:56 brook Exp $
+# $NetBSD: Makefile,v 1.3 2021/09/08 11:15:48 mef Exp $
 
 R_PKGNAME=     htmlTable
-R_PKGVER=      1.13.1
+R_PKGVER=      2.2.1
 CATEGORIES=    textproc
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -16,6 +16,18 @@
 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"
diff -r 030257c5f3fd -r 08c4cd708cfd textproc/R-htmlTable/distinfo
--- a/textproc/R-htmlTable/distinfo     Wed Sep 08 11:12:37 2021 +0000
+++ b/textproc/R-htmlTable/distinfo     Wed Sep 08 11:15:48 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.1 2019/07/31 13:47:23 brook Exp $
+$NetBSD: distinfo,v 1.2 2021/09/08 11:15:48 mef Exp $
 
-SHA1 (R/htmlTable_1.13.1.tar.gz) = c373aab5addfee38c857d722596620f8166a5a2f
-RMD160 (R/htmlTable_1.13.1.tar.gz) = bd9bfd3dc6d200f0e4497edca7b9800cecb71cee
-SHA512 (R/htmlTable_1.13.1.tar.gz) = edcc7e9fae15acf134e1046c7457bd1fc194094ada86451c9af4623005a89a21ed98104881a680885bce1f946565bf8cb7de3a337bada94c3175ecea52a623ae
-Size (R/htmlTable_1.13.1.tar.gz) = 175601 bytes
+SHA1 (R/htmlTable_2.2.1.tar.gz) = 76d613d8831bb02048e053f362a07b11a6efc655
+RMD160 (R/htmlTable_2.2.1.tar.gz) = 8619384202f4c95c5b344a394182195504d8e830
+SHA512 (R/htmlTable_2.2.1.tar.gz) = 4b03ebf23a064554a009a34c7b2ab2a004977f5ce4522318ebb7f2c57c539ce56d543cb762d3641cfd518326b715157638efcb6ac4000d9bbcc3e7ebb67b91c6
+Size (R/htmlTable_2.2.1.tar.gz) = 422456 bytes



Home | Main Index | Thread Index | Old Index