Skip to content

Commit

Permalink
(devel/R-xfun) Updated 0.31 to 0.35
Browse files Browse the repository at this point in the history
# 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()`.
  • Loading branch information
mef committed Dec 18, 2022
1 parent 9e731a0 commit 5fd0336
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions devel/R-xfun/Makefile
Original file line number Diff line number Diff line change
@@ -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
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
Expand Down
8 changes: 4 additions & 4 deletions devel/R-xfun/distinfo
Original file line number Diff line number Diff line change
@@ -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

0 comments on commit 5fd0336

Please sign in to comment.