pkgsrc-Changes archive

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

CVS commit: pkgsrc/print/R-knitr



Module Name:    pkgsrc
Committed By:   mef
Date:           Sun Jun  4 02:54:56 UTC 2023

Modified Files:
        pkgsrc/print/R-knitr: Makefile distinfo

Log Message:
(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.


To generate a diff of this commit:
cvs rdiff -u -r1.16 -r1.17 pkgsrc/print/R-knitr/Makefile
cvs rdiff -u -r1.13 -r1.14 pkgsrc/print/R-knitr/distinfo

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/print/R-knitr/Makefile
diff -u pkgsrc/print/R-knitr/Makefile:1.16 pkgsrc/print/R-knitr/Makefile:1.17
--- pkgsrc/print/R-knitr/Makefile:1.16  Sun Feb 12 04:59:48 2023
+++ pkgsrc/print/R-knitr/Makefile       Sun Jun  4 02:54:56 2023
@@ -1,22 +1,26 @@
-# $NetBSD: Makefile,v 1.16 2023/02/12 04:59:48 mef Exp $
+# $NetBSD: Makefile,v 1.17 2023/06/04 02:54:56 mef Exp $
 
 R_PKGNAME=     knitr
-R_PKGVER=      1.42
+R_PKGVER=      1.43
 CATEGORIES=    print
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       General-purpose package for dynamic report generation in R
 LICENSE=       gnu-gpl-v1 OR gnu-gpl-v2 OR gnu-gpl-v3
 
-DEPENDS+=      R-evaluate>=0.15:../../devel/R-evaluate
-DEPENDS+=      R-xfun>=0.29:../../devel/R-xfun
 DEPENDS+=      R-digest>=0.6.4:../../security/R-digest
+DEPENDS+=      R-evaluate>=0.15:../../devel/R-evaluate
 DEPENDS+=      R-formatR>=0.10:../../textproc/R-formatR
 DEPENDS+=      R-highr>=0.8:../../textproc/R-highr
 DEPENDS+=      R-markdown>=1.0:../../textproc/R-markdown
 DEPENDS+=      R-stringr>=0.6:../../textproc/R-stringr
+DEPENDS+=      R-xfun>=0.29:../../devel/R-xfun
 DEPENDS+=      R-yaml>=2.1.19:../../textproc/R-yaml
 
+# Packages suggested but not available:
+#   'gifski', 'gridSVG', 'JuliaCall', 'magick', 'reticulate', 'showtext',
+#   'styler', 'targets', 'tikzDevice'
+
 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
@@ -25,6 +29,7 @@ TEST_DEPENDS+=        R-png-[0-9]*:../../graphi
 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
+TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi
 #EST_DEPENDS+= R-showtext-[0-9]*:../../graphics/R-showtext
 TEST_DEPENDS+= R-testit-[0-9]*:../../devel/R-testit
 TEST_DEPENDS+= R-tibble-[0-9]*:../../math/R-tibble
@@ -32,10 +37,6 @@ TEST_DEPENDS+=       R-xml2-[0-9]*:../../textp
 TEST_DEPENDS+= R-webshot-[0-9]*:../../www/R-webshot
 TEST_DEPENDS+= R-DBI-[0-9]*:../../math/R-DBI
 
-# Packages suggested but not available:
-#  'tikzDevice', 'reticulate', 'JuliaCall', 'magick', 'gifski',
-#  'showtext', 'styler', 'targets'
-
 USE_LANGUAGES= # none
 
 REPLACE_RSCRIPT+=      inst/bin/knit

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



Home | Main Index | Thread Index | Old Index