Sun Jun 4 02:54:56 2023 UTC ()
(print/R-knitr) Updated 1.42 to 1.43

 (w3m -insecure -dump -T text https://github.com/yihui/knitr/releases)
knitr 1.43
25 May 13:30

NEW FEATURES

  * Progress bar includes the chunk location (chunk-name @ file:line) when
    options(knitr.progress.linenums = TRUE) is set (thanks, @zeehio, #2232).

  * The global option knitr.progress.simple can be used to decide whether to
    output the bar in the progress. When set to FALSE, only the step numbers
    and chunk labels will be printed, and the progress bar is omitted. This can
    be more useful for logging purposes since the bar itself is not useful
    (thanks, @hadley, #2221). By default, the simple progress output is used
    when the progress is not written to a connection such as stdout or stderr
    (e.g., written to a file instead), or the output connection is not a
    "terminal".

  * HTML Widgets can now support alt text by specifying an attribute
    aria-labelledby="<label>" in their first HTML tag. The text will be
    obtained from the fig.alt or fig.cap chunk option in the usual way (thanks,
    @dmurdoch, #2243).

  * Added a new argument newline to kable() to handle newlines in data when the
    table output format is Markdown-based (simple, pipe, rst, or jira). By
    default, newlines are not processed, which can result in broken tables. To
    substitute newlines with spaces, use kable(..., newline = ' '). To remove
    newlines, use kable(..., newline = '') (thanks, @aronatkins, #2255).

BUG FIXES

  * The chunk option collapse = TRUE works with HTML widgets now (thanks,
    @dmurdoch, #2212).

  * Option hooks should be run before child documents are processed (thanks,
    @richarddmorey, #2247).

  * For .Rnw documents, is_latex_output() returns TRUE for output formats
    sweave (render_sweave()) and listings (render_listings()) now (thanks,
    @DavisVaughan, #2231).

  * write_bib() does not fail anymore if an empty string is passed as package
    name (thanks, @phargarten2, #2240).

  * Fix an issue with using cache = TRUE on sql engine chunk not defining a
    output.var (thanks, @mfherman, @eitsupi, #1842).

  * plot_crop() correctly checks the required tools (pdfcrop and ghostscript)
    on Windows when the LaTeX is distribution is TeX Live or TinyTeX (thanks,
    @remlapmot, #2246). An external installation of ghostscript is no longer
    required on Windows, since TeX Live's built-in ghostscript will be used.

  * The chunk option dev.args was not recognized in certain cases (thanks,
    @petrbouchal, #2238).

MINOR CHANGES

  * The css and js engines work for the markdown output format now. Previous
    these engines will not output anything when the output format is markdown.
    If you still want to disable them for markdown output, you may use the
    chunk option eval = FALSE or eval = knitr::is_html_output(excludes =
    'markdown').

  * is_html_output() recognizes R Markdown v1 documents now (.Rmd documents
    compiled via the markdown package).

  * For .Rnw documents, dots in figure file paths are no longer sanitized to
    underscores (thanks, @otoomet, #2213). Other special characters are still
    sanitized, but this feature can be turned off via options
    (knitr.sanitize.paths = FALSE).

  * imgur_upload() now recognizes a global option knitr.imgur.key or an
    environment variable R_KNITR_IMGUR_KEY for a custom client ID (thanks,
    @jonthegeek, #2233).

  * imgur_upload() requires fewer package dependencies now. It only requires
    the curl package; httr is no longer required, and xml2 has become optional.


(mef)
diff -r1.16 -r1.17 pkgsrc/print/R-knitr/Makefile
diff -r1.13 -r1.14 pkgsrc/print/R-knitr/distinfo

cvs diff -r1.16 -r1.17 pkgsrc/print/R-knitr/Makefile (expand / switch to unified diff)

--- pkgsrc/print/R-knitr/Makefile 2023/02/12 04:59:48 1.16
+++ pkgsrc/print/R-knitr/Makefile 2023/06/04 02:54:56 1.17
@@ -1,50 +1,51 @@ @@ -1,50 +1,51 @@
1# $NetBSD: Makefile,v 1.16 2023/02/12 04:59:48 mef Exp $ 1# $NetBSD: Makefile,v 1.17 2023/06/04 02:54:56 mef Exp $
2 2
3R_PKGNAME= knitr 3R_PKGNAME= knitr
4R_PKGVER= 1.42 4R_PKGVER= 1.43
5CATEGORIES= print 5CATEGORIES= print
6 6
7MAINTAINER= pkgsrc-users@NetBSD.org 7MAINTAINER= pkgsrc-users@NetBSD.org
8COMMENT= General-purpose package for dynamic report generation in R 8COMMENT= General-purpose package for dynamic report generation in R
9LICENSE= gnu-gpl-v1 OR gnu-gpl-v2 OR gnu-gpl-v3 9LICENSE= gnu-gpl-v1 OR gnu-gpl-v2 OR gnu-gpl-v3
10 10
11DEPENDS+= R-evaluate>=0.15:../../devel/R-evaluate 
12DEPENDS+= R-xfun>=0.29:../../devel/R-xfun 
13DEPENDS+= R-digest>=0.6.4:../../security/R-digest 11DEPENDS+= R-digest>=0.6.4:../../security/R-digest
 12DEPENDS+= R-evaluate>=0.15:../../devel/R-evaluate
14DEPENDS+= R-formatR>=0.10:../../textproc/R-formatR 13DEPENDS+= R-formatR>=0.10:../../textproc/R-formatR
15DEPENDS+= R-highr>=0.8:../../textproc/R-highr 14DEPENDS+= R-highr>=0.8:../../textproc/R-highr
16DEPENDS+= R-markdown>=1.0:../../textproc/R-markdown 15DEPENDS+= R-markdown>=1.0:../../textproc/R-markdown
17DEPENDS+= R-stringr>=0.6:../../textproc/R-stringr 16DEPENDS+= R-stringr>=0.6:../../textproc/R-stringr
 17DEPENDS+= R-xfun>=0.29:../../devel/R-xfun
18DEPENDS+= R-yaml>=2.1.19:../../textproc/R-yaml 18DEPENDS+= R-yaml>=2.1.19:../../textproc/R-yaml
19 19
 20# Packages suggested but not available:
 21# 'gifski', 'gridSVG', 'JuliaCall', 'magick', 'reticulate', 'showtext',
 22# 'styler', 'targets', 'tikzDevice'
 23
20TEST_DEPENDS+= R-highr-[0-9]*:../../textproc/R-highr 24TEST_DEPENDS+= R-highr-[0-9]*:../../textproc/R-highr
21TEST_DEPENDS+= R-httr-[0-9]*:../../www/R-httr 25TEST_DEPENDS+= R-httr-[0-9]*:../../www/R-httr
22TEST_DEPENDS+= R-jpeg-[0-9]*:../../graphics/R-jpeg 26TEST_DEPENDS+= R-jpeg-[0-9]*:../../graphics/R-jpeg
23TEST_DEPENDS+= R-markdown-[0-9]*:../../textproc/R-markdown 27TEST_DEPENDS+= R-markdown-[0-9]*:../../textproc/R-markdown
24TEST_DEPENDS+= R-png-[0-9]*:../../graphics/R-png 28TEST_DEPENDS+= R-png-[0-9]*:../../graphics/R-png
25TEST_DEPENDS+= R-rgl-[0-9]*:../../graphics/R-rgl 29TEST_DEPENDS+= R-rgl-[0-9]*:../../graphics/R-rgl
26TEST_DEPENDS+= R-ragg-[0-9]*:../../graphics/R-ragg 30TEST_DEPENDS+= R-ragg-[0-9]*:../../graphics/R-ragg
27TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown 31TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
 32TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi
28#EST_DEPENDS+= R-showtext-[0-9]*:../../graphics/R-showtext 33#EST_DEPENDS+= R-showtext-[0-9]*:../../graphics/R-showtext
29TEST_DEPENDS+= R-testit-[0-9]*:../../devel/R-testit 34TEST_DEPENDS+= R-testit-[0-9]*:../../devel/R-testit
30TEST_DEPENDS+= R-tibble-[0-9]*:../../math/R-tibble 35TEST_DEPENDS+= R-tibble-[0-9]*:../../math/R-tibble
31TEST_DEPENDS+= R-xml2-[0-9]*:../../textproc/R-xml2 36TEST_DEPENDS+= R-xml2-[0-9]*:../../textproc/R-xml2
32TEST_DEPENDS+= R-webshot-[0-9]*:../../www/R-webshot 37TEST_DEPENDS+= R-webshot-[0-9]*:../../www/R-webshot
33TEST_DEPENDS+= R-DBI-[0-9]*:../../math/R-DBI 38TEST_DEPENDS+= R-DBI-[0-9]*:../../math/R-DBI
34 39
35# Packages suggested but not available: 
36# 'tikzDevice', 'reticulate', 'JuliaCall', 'magick', 'gifski', 
37# 'showtext', 'styler', 'targets' 
38 
39USE_LANGUAGES= # none 40USE_LANGUAGES= # none
40 41
41REPLACE_RSCRIPT+= inst/bin/knit 42REPLACE_RSCRIPT+= inst/bin/knit
42REPLACE_RSCRIPT+= inst/examples/knit-all.R 43REPLACE_RSCRIPT+= inst/examples/knit-all.R
43 44
44REPLACE_INTERPRETER+= Rscript 45REPLACE_INTERPRETER+= Rscript
45REPLACE.Rscript.old= .*Rscript 46REPLACE.Rscript.old= .*Rscript
46REPLACE.Rscript.new= ${PREFIX}/bin/Rscript 47REPLACE.Rscript.new= ${PREFIX}/bin/Rscript
47REPLACE_FILES.Rscript= ${REPLACE_RSCRIPT} 48REPLACE_FILES.Rscript= ${REPLACE_RSCRIPT}
48 49
49.include "../../math/R/Makefile.extension" 50.include "../../math/R/Makefile.extension"
50.include "../../mk/bsd.pkg.mk" 51.include "../../mk/bsd.pkg.mk"

cvs diff -r1.13 -r1.14 pkgsrc/print/R-knitr/distinfo (expand / switch to unified diff)

--- pkgsrc/print/R-knitr/distinfo 2023/02/12 04:59:48 1.13
+++ pkgsrc/print/R-knitr/distinfo 2023/06/04 02:54:56 1.14
@@ -1,5 +1,5 @@ @@ -1,5 +1,5 @@
1$NetBSD: distinfo,v 1.13 2023/02/12 04:59:48 mef Exp $ 1$NetBSD: distinfo,v 1.14 2023/06/04 02:54:56 mef Exp $
2 2
3BLAKE2s (R/knitr_1.42.tar.gz) = 0bbd0e6b1ed53ef4c9f7354e97e1e3636cd9aebfa264d9bc9f85bc50ce1650a7 3BLAKE2s (R/knitr_1.43.tar.gz) = b33250c5e1109616f22bb3ec84b86bda22d0d33c2d87d88398ca26afb57e247c
4SHA512 (R/knitr_1.42.tar.gz) = 07328ad633be2ee5efb79416557568698f3de00ba5e32099ef07de18d334165a6b00e30f3bcf84845e7888bfd92fb475abc2bf11835224e16bfd96f69818ae4e 4SHA512 (R/knitr_1.43.tar.gz) = df71ac12cf8d1ef67fe8f659c9712fbe718447b668fa617211417c76929d6199f24bb3c89a043e135575e68f5778e046c8daf4bc59da9e5965f6e53a24637ff9
5Size (R/knitr_1.42.tar.gz) = 893585 bytes 5Size (R/knitr_1.43.tar.gz) = 895054 bytes