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: Mon Jun 8 12:16:33 UTC 2026
Modified Files:
pkgsrc/print/R-knitr: Makefile distinfo
Log Message:
(print/R-knitr) Updated 1.49 to 1.51
(cat Downloads/Release-yihui-knitr.nhtml| w3m -dump -T text/html)
knitr 1.51
------------------
NEW FEATURES
• Added support for OpenTelemetry observability. When the otel and otelsdk
packages are installed and tracing is enabled, spans are automatically
created for all knit operations. See otelsdk's Collecting Telemetry Data
for more details on configuring OpenTelemetry (thanks, @shikokuchuo, #2422
).
□ knit() produces 'knitr processing' and 'knitr output' spans when
starting and finishing an operation
□ knit() produces 'knit' spans for each chunk, recording attributes such
as the label and knit engine
• Added support for hooks that get executed before and after knitting
(thanks, @cderv #2223, @arnaudgallou #2419). To register a hook before
knitting starts, use knitr::knit_hooks$set(before.knit = function() {}).
Similarly, the hook after.knit can be registered and will be executed after
knitting is finished.
BUG FIXES
• Fix issue with error traceback not correctly showing when rlang is
available.
• Improve error traceback when rlang is available and evaluate > 1.0.3 is
used (thanks, @cderv, #2388).
• For Quarto, chunk options written in pipe comments must use the comment
character of the chunk's language (#2225). Previously, comments written in
#| will be parsed even if # is not the comment character of the chunk.
• hook_optipng() now uses the -quiet argument of optipng to suppress the
messages by default.
• Don't set vheight or vwidth for webshot2::webshot() when the chunk option
out.height or out.width is a percentage (%). Setting screenshot.opts chunk
option is still a way to specify vheight or vwidth specifically for webshot
(), e.g., screenshot.opts = list(vwidth = 6 * 72, vheight = 6 * 72 * 0.618)
for the width of 6 inches size with 72 dpi and 0.618 of aspect ratio.
• HTML screenshots are taken inside the current working directory by default
if it is writable, instead of tempdir(), which may not be accessible to
certain browsers (thanks, @markschl, #2416). The directory can be
customized via the global R option knitr.html_screenshot.tmpdir, e.g., if
you want the old behavior, you may set options(knitr.html_screenshot.tmpdir
= tempdir()).
MINOR CHANGES
• Empty alt text for images is allowed now (thanks, @Olivia-Box-Power, #2415
). With the chunk option fig.alt = '', the HTML output will be <img alt =
"" ... />. Previously, the alt attribute was omitted in this case. If you
still want to omit the alt attribute, you may use fig.alt = NA.
knitr 1.50
------------------
NEW FEATURES
• For inline code expressions, their specific line numbers will be shown in
the message when errors occur (thanks, @kevinushey, #2387). Previously, the
numbers were not specific to the inline code but the lines of the whole
text chunk containing the inline code, which are often quite vague.
• Display error traceback when vignettes fail in R CMD build (thanks, @hadley
, #2390).
• kable() properly supports column alignment for Org Mode tables now (thanks,
@mclements, #2391).
MINOR CHANGES
• Moved implementations of combine_words() and write_bib() to the xfun
package as xfun::join_words() and xfun::pkg_bib(), respectively, since they
are not directly relevant to knitr. The functions combine_words() and
write_bib() are still kept in knitr, and can continue to be used in the
future.
• A warning will be issued when chunk options are duplicated in both the
chunk header and pipe comments (thanks, @cderv, #2386). A chunk option
should appear in only one of these places.
• Removed the function read_rforge() since it has stopped working for a long
time.
• Removed demos from the package (which were early experiments from several
years ago).
To generate a diff of this commit:
cvs rdiff -u -r1.20 -r1.21 pkgsrc/print/R-knitr/Makefile
cvs rdiff -u -r1.16 -r1.17 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.20 pkgsrc/print/R-knitr/Makefile:1.21
--- pkgsrc/print/R-knitr/Makefile:1.20 Sat Dec 14 10:27:33 2024
+++ pkgsrc/print/R-knitr/Makefile Mon Jun 8 12:16:33 2026
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.20 2024/12/14 10:27:33 mef Exp $
+# $NetBSD: Makefile,v 1.21 2026/06/08 12:16:33 mef Exp $
R_PKGNAME= knitr
-R_PKGVER= 1.49
+R_PKGVER= 1.51
CATEGORIES= print
MAINTAINER= pkgsrc-users%NetBSD.org@localhost
@@ -14,7 +14,7 @@ DEPENDS+= R-formatR>=0.10:../../textproc
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.39:../../devel/R-xfun
+DEPENDS+= R-xfun>=0.52:../../devel/R-xfun
DEPENDS+= R-yaml>=2.1.19:../../textproc/R-yaml
# Packages suggested but not available:
Index: pkgsrc/print/R-knitr/distinfo
diff -u pkgsrc/print/R-knitr/distinfo:1.16 pkgsrc/print/R-knitr/distinfo:1.17
--- pkgsrc/print/R-knitr/distinfo:1.16 Sat Dec 14 10:27:33 2024
+++ pkgsrc/print/R-knitr/distinfo Mon Jun 8 12:16:33 2026
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.16 2024/12/14 10:27:33 mef Exp $
+$NetBSD: distinfo,v 1.17 2026/06/08 12:16:33 mef Exp $
-BLAKE2s (R/knitr_1.49.tar.gz) = 06b6f099bf30c5e08f227c1ce8a3967686015c5838b7c366051122dd7aa18043
-SHA512 (R/knitr_1.49.tar.gz) = b669357291354de6d03cc4afc74375dacf1380212a125ac28f99c801867648cf0f53c1ef8896a866967e867a34cd8dfd8b063733fe00fba2a9785a8e0076cc2e
-Size (R/knitr_1.49.tar.gz) = 545754 bytes
+BLAKE2s (R/knitr_1.51.tar.gz) = 49208de5b6fc15b4a153efe780efe13345d167612b2a023f5312e45383e60392
+SHA512 (R/knitr_1.51.tar.gz) = dc58ea520398e9466152fddeb6dc657b55c0c894a99fa21bbc8bdbda6c81861870b2b8434c1b71ccc66bf92880644d0536b81ac636d725a30bd919f8b3b339ae
+Size (R/knitr_1.51.tar.gz) = 483744 bytes
Home |
Main Index |
Thread Index |
Old Index