pkgsrc-Changes-HG archive

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

[pkgsrc/trunk]: pkgsrc/devel/R-xfun (devel/R-xfun) Updated 0.31 to 0.35



details:   https://anonhg.NetBSD.org/pkgsrc/rev/6d3147501bd1
branches:  trunk
changeset: 390243:6d3147501bd1
user:      mef <mef%pkgsrc.org@localhost>
date:      Sun Dec 18 05:08:39 2022 +0000

description:
(devel/R-xfun) Updated 0.31 to 0.35

# CHANGES IN xfun VERSION 0.35

- Added a new argument `token` to `protect_math()` to optionally
  include a token around math expressions.

- `base64_uri()` relies less on the **mime** package now. For some
  common file extensions (e.g., `.jpg`/`.png`), this function knows
  their MIME types.

- `stringsAsStrings()` has been removed from this package.

# CHANGES IN xfun VERSION 0.34

- Added a new function `alnum_id()` to generate ID strings from a character vector.

- The function `stringsAsStrings()` has been deprecated.

# CHANGES IN xfun VERSION 0.33

- Reverted the change for #68: the characters `-+!_#` are no longer
  accepted by default in filename extensions, since they are
  relatively rare and caused a breakage in rstudio/bookdown#1369. If
  you wish to allow for these characters, you may use the new `extra`
  argument in `file_ext()` and related functions, e.g.,
  `xfun::file_ext(x, extra = '-+!_#')`.

- The function `stringsAsStrings()` will be deprecated in a future
  release of **xfun**, because the global option `stringsAsFactors =
  FALSE` has become the default in base R since 4.0.0.

# CHANGES IN xfun VERSION 0.32

- Added a function `shrink_images()` to shrink images to a maximum
  width using the **magick** package (thanks, @apreshill,
  rstudio/blogdown#614).

- Added a function `tinify_dir()` as a wrapper of `tinify()` to
  compress images under a directory.

- `file_ext()` supports more file extensions now, such as `.c++`,
  `.FB2K-COMPONENT`, and so on (thanks, @tentacles-from-outer-space,
  #68).

- Fixed the issue that `xfun::base_pkgs()` could hang R (thanks,
  @mmaechler, #66).

- The `...` argument in `dir_create()` was not passed to `dir.create()`.

diffstat:

 devel/R-xfun/Makefile |  6 +++---
 devel/R-xfun/distinfo |  8 ++++----
 2 files changed, 7 insertions(+), 7 deletions(-)

diffs (34 lines):

diff -r 456c5650628a -r 6d3147501bd1 devel/R-xfun/Makefile
--- a/devel/R-xfun/Makefile     Sun Dec 18 05:04:46 2022 +0000
+++ b/devel/R-xfun/Makefile     Sun Dec 18 05:08:39 2022 +0000
@@ -1,14 +1,14 @@
-# $NetBSD: Makefile,v 1.14 2022/05/30 15:11:36 mef Exp $
+# $NetBSD: Makefile,v 1.15 2022/12/18 05:08:39 mef Exp $
 
 R_PKGNAME=     xfun
-R_PKGVER=      0.31
+R_PKGVER=      0.35
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
 COMMENT=       Miscellaneous functions by 'Yihui Xie'
 LICENSE=       mit
 
-# Package suggested but not available: 'rhub'
+# Packages suggested but not available: 'rhub', 'magick'
 TEST_DEPENDS+= R-knitr-[0-9]*:../../print/R-knitr
 TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
 TEST_DEPENDS+= R-tinytex>=0.31:../../print/R-tinytex
diff -r 456c5650628a -r 6d3147501bd1 devel/R-xfun/distinfo
--- a/devel/R-xfun/distinfo     Sun Dec 18 05:04:46 2022 +0000
+++ b/devel/R-xfun/distinfo     Sun Dec 18 05:08:39 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.12 2022/05/30 15:11:36 mef Exp $
+$NetBSD: distinfo,v 1.13 2022/12/18 05:08:39 mef Exp $
 
-BLAKE2s (R/xfun_0.31.tar.gz) = 5bef1b9156137d84dcae56757910e8a7a8f882c5a9eadc4a258f7be08987332a
-SHA512 (R/xfun_0.31.tar.gz) = a3d28392278923bd29964476fa1603d6acec1c1a6ea16d4e8fe52195d3379063da496285de5a8f86557027c1bcf3f4a29cc91b0304f6cb5a57eb5481df1ebaa9
-Size (R/xfun_0.31.tar.gz) = 126065 bytes
+BLAKE2s (R/xfun_0.35.tar.gz) = 78a35795bac87382ec3ab333d63b3f34d07129abcc7d6b75d7a4fa5c64cb6455
+SHA512 (R/xfun_0.35.tar.gz) = 0f52a433ed9de59f91860b9bbbabe5750edd0a35aac2fec6ac7fff367106f79a25dcf256607600f827296ac388e8b30bfa8d676c686ea8c82dcbd110118d9feb
+Size (R/xfun_0.35.tar.gz) = 128332 bytes



Home | Main Index | Thread Index | Old Index