pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/print/R-knitr (print/R-knitr) Updated 1.38.to 1.41, Ne...



details:   https://anonhg.NetBSD.org/pkgsrc/rev/2e8e1bc95739
branches:  trunk
changeset: 390853:2e8e1bc95739
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Dec 31 11:53:51 2022 +0000

description:
(print/R-knitr) Updated 1.38.to 1.41, Newest info unknown

https://github.com/yihui/knitr/releases
knitr 1.40

24 Aug 15:39

NEW FEATURES

  * Added a function convert_chunk_header() to convert the old in-header chunk
    options to the new in-body chunk options (#2149 #2151).

  * Added a new "graphics device", dev = "gridSVG", which uses
    gridSVG::grid.export() to export grid graphics to SVG (thanks, @jooyoungseo
    , #2152).

  * Added a new engine eviews, which calls the EviewsR package to execute
    EViews code (thanks, @sagirumati, #2158).

  * Added support for a php engine like other engines for interpreted
    languages. It will call php -r <code>, with <code> being the chunk content
    (thanks, @ralmond, #2144).

  * Per suggestion of @jakubkaczor (#2116) and discussion with @pedropark99 (#
    2140), the chunk option fig.sep can also be used to add LaTeX code before
    the first sub-figure now. Previously this option can only be used for
    adding LaTeX code after each sub-figure.

  * knitr::kable() supports tabularx and xltabular environments now for LaTeX
    tables, e.g., knitr::kable(head(iris), format = 'latex', tabular =
    'tabularx') (thanks, @amarakon, #2138).

  * For HTML output formats of R Markdown, SVG plots (e.g., in case of chunk
    option dev = 'svg' or dev = 'gridSVG') can be embedded differently now when
    options(knitr.svg.object = TRUE): if the HTML output is self-contained, the
    raw SVG code will be embedded directly in HTML, otherwise the .svg file is
    embedded in the <object> tag. By default, this feature is not enabled,
    i.e., the default is options(knitr.svg.object = FALSE) for
    backward-compatibility, which means the <img> tag is used for SVG plots
    just like other plot formats. This new feature will make assistive
    technology agents, such as screen readers, interact with SVG plots (thanks,
    @jooyoungseo, #2152).

knitr 1.39
27 Apr 02:07
MAJOR CHANGES

  * Added an argument rel_path to include_graphics(), which defaults to TRUE,
    meaning that this function will try to convert absolute paths to relative
    paths automatically. If the conversion fails, it will issue a warning. If
    you want to suppress the conversion (and the warning), you may use rel_path
    = FALSE or set the global option options(knitr.graphics.rel_path = FALSE).
    In the previous version of knitr, this function would always issue a
    warning when it detects absolute paths (thanks, @davidski @kendavidn, #2119
    ).

diffstat:

 print/R-knitr/Makefile |  19 ++++++++++---------
 print/R-knitr/distinfo |   8 ++++----
 2 files changed, 14 insertions(+), 13 deletions(-)

diffs (57 lines):

diff -r eeddc027020d -r 2e8e1bc95739 print/R-knitr/Makefile
--- a/print/R-knitr/Makefile    Sat Dec 31 11:46:39 2022 +0000
+++ b/print/R-knitr/Makefile    Sat Dec 31 11:53:51 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.14 2022/04/23 14:31:10 mef Exp $
+# $NetBSD: Makefile,v 1.15 2022/12/31 11:53:51 mef Exp $
 
 R_PKGNAME=     knitr
-R_PKGVER=      1.38
+R_PKGVER=      1.41
 CATEGORIES=    print
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
@@ -18,22 +18,23 @@
 DEPENDS+=      R-yaml>=2.1.19:../../textproc/R-yaml
 
 TEST_DEPENDS+= R-highr-[0-9]*:../../textproc/R-highr
+TEST_DEPENDS+= R-httr-[0-9]*:../../www/R-httr
+TEST_DEPENDS+= R-jpeg-[0-9]*:../../graphics/R-jpeg
 TEST_DEPENDS+= R-markdown-[0-9]*:../../textproc/R-markdown
+TEST_DEPENDS+= R-png-[0-9]*:../../graphics/R-png
+TEST_DEPENDS+= R-rgl-[0-9]*:../../graphics/R-rgl
+TEST_DEPENDS+= R-ragg-[0-9]*:../../graphics/R-ragg
+TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
+#EST_DEPENDS+= R-showtext-[0-9]*:../../graphics/R-showtext
 TEST_DEPENDS+= R-testit-[0-9]*:../../devel/R-testit
-TEST_DEPENDS+= R-markdown-[0-9]*:../../textproc/R-rmarkdown
-TEST_DEPENDS+= R-rgl-[0-9]*:../../graphics/R-rgl
 TEST_DEPENDS+= R-tibble-[0-9]*:../../math/R-tibble
 TEST_DEPENDS+= R-xml2-[0-9]*:../../textproc/R-xml2
 TEST_DEPENDS+= R-webshot-[0-9]*:../../www/R-webshot
 TEST_DEPENDS+= R-DBI-[0-9]*:../../math/R-DBI
-TEST_DEPENDS+= R-png-[0-9]*:../../graphics/R-png
-TEST_DEPENDS+= R-jpeg-[0-9]*:../../graphics/R-jpeg
-TEST_DEPENDS+= R-httr-[0-9]*:../../www/R-httr
-#EST_DEPENDS+= R-ragg-[0-9]*:../../graphics/R-ragg
 
 # Packages suggested but not available:
 #  'tikzDevice', 'reticulate', 'JuliaCall', 'magick', 'gifski',
-#  'showtext', 'ragg', 'styler', 'targets'
+#  'showtext', 'styler', 'targets'
 
 USE_LANGUAGES= # none
 
diff -r eeddc027020d -r 2e8e1bc95739 print/R-knitr/distinfo
--- a/print/R-knitr/distinfo    Sat Dec 31 11:46:39 2022 +0000
+++ b/print/R-knitr/distinfo    Sat Dec 31 11:53:51 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.11 2022/04/23 02:07:00 mef Exp $
+$NetBSD: distinfo,v 1.12 2022/12/31 11:53:51 mef Exp $
 
-BLAKE2s (R/knitr_1.38.tar.gz) = f3760985597717bd9f9f89d272c813f17c5f778006e319695685fb353c5df87b
-SHA512 (R/knitr_1.38.tar.gz) = 4ae22fa21d10d4251bfa75803b700f1cbd3fab0203e45b5e9e4243b837ece5d30b86f637fa99d0d95d56c2fb5728d1153ce82dac7cb90c5246a2ea670cf8efaa
-Size (R/knitr_1.38.tar.gz) = 898373 bytes
+BLAKE2s (R/knitr_1.41.tar.gz) = b70069c2c233746c5a57ae34e7555654eb9d2c8c8de772fbc39e584038febbc5
+SHA512 (R/knitr_1.41.tar.gz) = 221aa12fd9631607e305c7224d1b6bbbb7ce66ea7f27506719a2a965fd92a50794182c8149c7ca4f025d1849cc493d6f84dfd70033b1e881a5ac69eef4da6578
+Size (R/knitr_1.41.tar.gz) = 890610 bytes



Home | Main Index | Thread Index | Old Index