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:           Sat Sep 18 13:40:57 UTC 2021

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

Log Message:
(print/R-knitr) Updated 1.33 to 1.34

(https://github.com/yihui/knitr/releases)
@yihui yihui released this Sep 9, 2021

NEW FEATURES

  * Added a package option latex.tilde so that users can customize the tilde
    symbol, e.g., you can set knitr::opts_knit$set(latex.tilde = "\\hlopt{\\
    scriptsize{\\ensuremath{\\sim}}}"). This is because the default tilde is
    too high in the PDF output, and it's often more desirable to use a middle
    tilde instead (thanks, @brry #1992, @jaredlander #492).

  * For the tikz engine, the class options of the standalone document classs
    can be specified via the chunk option engine.opts$classoption (thanks,
    @XiangyunHuang, #1985). The default value is tikz, i.e., \documentclass
    [tikz]{standalone} is used by default.

  * Added the ability to pass additional arguments to dvisvgm when using the
    tikz engine with fig.ext = "svg" by using dvisvgm.opts in engine.opts
    (thanks, @andrewheiss, #2039). Recent versions of dvisvgm now allow you to
    embed fonts into SVG files as base64-encoded WOFF files, so tikz chunks can
    embed fonts using like so: ```{tikz, fig.ext="svg", engine.opts=list
    (dvisvgm.opts = "--font-format=woff")}.

  * Added a new targets engine (ropensci/targets#503, @wlandau). Details:
    https://books.ropensci.org/targets/markdown.html.

  * The chunk option cache.globals can take values TRUE and FALSE now (in
    addition to a character vector). When FALSE, it tries to find all symbols
    in the code chunk, no matter if they are local or global variables. When
    NULL or TRUE, it tries to find all global variables (thanks, @knokknok, #
    1898).

MAJOR CHANGES

  * An error is now thrown when an inline code result is not coercible to
    character. This has always been the assumed behavior but it happens to be
    different in certain formats with unknown automatic coercion. This is now
    enforced to prevent any unexpected output. An inline code expression must
    evaluate to a character vector or an object coercible by as.character() (#
    2006).

  * The markdown package has been moved from Imports to Suggests in knitr's
    DESCRIPTION, which means it is no longer a hard dependency but has become a
    soft dependency of knitr (#1864). One consequence for package developers is
    that if you use the vignette engines based on markdown (such as
    knitr::knitr), you will have to explicitly declare the (soft) dependency on
    markdown, because the implicit dependency through knitr is no longer there.

  * For R packages that use the knitr::rmarkdown engine to build their
    vignettes, rmarkdown must be declared as a dependency in the package
    DESCRIPTION (e.g., in Suggests). Previously, knitr would fall back to using
    the markdown package to build vignettes if rmarkdown is not declared (#1864
    , #2020).

  * write_bib() only uses the first URL if multiple are found in a package (#
    2028).

MINOR CHANGES

  * The attribute data-external="1" will be added to <iframe>s generated by
    include_url() to prevent Pandoc from embedding the URL as base64 data
    (thanks, @IndrajeetPatil, https://stackoverflow.com/q/67477667/559676).

  * The chunk option strip.white = TRUE used to work only when the chunk option
    collapse = FALSE. Now the two options are independent, i.e., strip.white
    also works when collapse = TRUE (thanks, @kbvernon, #2011).

  * When building R Markdown vignettes but Pandoc is not available, the
    vignette engine will emit a message instead of a warning before falling
    back to using the markdown package.

  * The internal function is_abs_path() has been removed. Users (if any) should
    use the exported function xfun::is_abs_path() instead.

BUG FIXES

  * Fix an issue with the RStudio IDE when using knitr::include_url() or
    knitr::include_app() in interactive Notebook mode. This will no more cause
    an error but print the list object as is (thanks, @systemnova, #2015).

  * Fix a regression with fig.keep chunk option used in chunks with only one
    figure where the figure was not showing in output (thanks, @fmichonneau, #
    1993).

  * Allow vignettes to be tangled (and output compared) in R CMD check if they
    have a corresponding .Rout.save (thanks, @lentinj, #2018).


To generate a diff of this commit:
cvs rdiff -u -r1.10 -r1.11 pkgsrc/print/R-knitr/Makefile
cvs rdiff -u -r1.7 -r1.8 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.10 pkgsrc/print/R-knitr/Makefile:1.11
--- pkgsrc/print/R-knitr/Makefile:1.10  Sat Jun  5 07:30:58 2021
+++ pkgsrc/print/R-knitr/Makefile       Sat Sep 18 13:40:56 2021
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.10 2021/06/05 07:30:58 mef Exp $
+# $NetBSD: Makefile,v 1.11 2021/09/18 13:40:56 mef Exp $
 
 R_PKGNAME=     knitr
-R_PKGVER=      1.33
+R_PKGVER=      1.34
 CATEGORIES=    print
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost

Index: pkgsrc/print/R-knitr/distinfo
diff -u pkgsrc/print/R-knitr/distinfo:1.7 pkgsrc/print/R-knitr/distinfo:1.8
--- pkgsrc/print/R-knitr/distinfo:1.7   Mon May 31 23:56:07 2021
+++ pkgsrc/print/R-knitr/distinfo       Sat Sep 18 13:40:56 2021
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.7 2021/05/31 23:56:07 mef Exp $
+$NetBSD: distinfo,v 1.8 2021/09/18 13:40:56 mef Exp $
 
-SHA1 (R/knitr_1.33.tar.gz) = a78ae347e0f3cbb6c7ab16355f782a089b9b5516
-RMD160 (R/knitr_1.33.tar.gz) = 87f6615d177c927da7aad39abe51f49ce0ae7e73
-SHA512 (R/knitr_1.33.tar.gz) = bf27f1b9face9eac504b329e17d778243fb0dfd699b2525e77fe6be8260284a7618db2db257856138754cb93b7a7ab03cd4fddacc348ec6c2f2c1432237f781a
-Size (R/knitr_1.33.tar.gz) = 892378 bytes
+SHA1 (R/knitr_1.34.tar.gz) = d2358ca25059004026c70ec5061b92ced5f1fc2e
+RMD160 (R/knitr_1.34.tar.gz) = 02673225d0feaf426ae26fcb40b0173ed4674fcb
+SHA512 (R/knitr_1.34.tar.gz) = c89b333fc901fe3ae48f9e2ab537b6fdd1dc822f9789ed19efb2f8f703965711bf2e75d3a96bdfa737e78326d622d43d6a4a554302d7005ddbd353715e529aec
+Size (R/knitr_1.34.tar.gz) = 895165 bytes



Home | Main Index | Thread Index | Old Index