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.2.0 to 0.23



details:   https://anonhg.NetBSD.org/pkgsrc/rev/efb41ed7a249
branches:  trunk
changeset: 453621:efb41ed7a249
user:      mef <mef%pkgsrc.org@localhost>
date:      Mon May 31 23:39:12 2021 +0000

description:
(devel/R-xfun) Updated 0.2.0 to 0.23

# CHANGES IN xfun VERSION 0.23

## NEW FEATURES

- Added a `tinify()` function to compress PNG/JPEG images via [the Tinify API](https://tinypng.com/developers).

- Added a `news2md()` function to convert package news to the Markdown format. This is mainly for converting the plain-text `NEWS` file and the `NEWS.Rd` file to `NEWS.md`.

- Added a `format_bytes()` function to format numbers of bytes using a specified unit, e.g., `1024` can be formatted as `1 Kb`.

- When using `pkg_load2()` in an **renv** project, it will use `renv::install()` to install missing packages by default to take advantage of **renv**'s caching feature (thanks, @chunyunma @cderv, 
#52).

- `upload_win_builder()` no longer requires the system command `curl` to be available; if `curl` is not available, the R package **curl** will be used instead, which means this R package must be 
installed. In addition to uploading to the `ftp` server of win-builder, it's also possible to upload to <https://win-builder.r-project.org/upload.aspx>: call `upload_win_builder(..., server = 
'https')`. This change was made so that it would be possible to continue to upload to win-builder in case it should stop supporting `ftp` (CRAN has discouraged package authors from using `ftp://`).

## BUG FIXES

- Backticks are added to math environments by mistake when `\begin{}` and `\end{}` do not match (thanks, @oliviergimenez, #51).

## MINOR CHANGES

- The argument `src` was renamed to `pkg` in `install_dir()`.

- The argument `file` of `upload_win_builder()` defaults to `pkg_build()` now, i.e., by default, it will build a source package and upload it, so you do not need to build the package separately.

# CHANGES IN xfun VERSION 0.22

## NEW FEATURES

- `relative_path()` is vectorized now.

- Added a new function `retry()` to retry calling a function for a number of times in case of errors.

- Added a new function `sort_file()`, which is a shorthand for `process_file(fun = sort)` to sort the lines in a text file.

## MAJOR CHANGES

- The argument `FUN` was renamed to `fun` in `process_file()`.

## MINOR CHANGES

- Inside `download_file()`, the `timeout` option in `options()` is set to 3600 seconds when it takes the default value of 60 seconds, which may not be enough for downloading large files (thanks, 
@matthewgson, yihui/tinytex#286).

# CHANGES IN xfun VERSION 0.21

## NEW FEATURES

- Added a new function `pkg_available()` to test if a package with a minimal version is available (thanks, @cderv, #45).

- Added a new function `set_envvar()` to set environment variables and return their old values, so they could be restored later.

- Added a new function `exit_call()` to call a function when a parent function exits.

- Exported the internal function `read_bin()`.

- Added an argument `verbose` to `bg_process()`.

- `Rscript_call()` gains an `options` argument to pass command-line options to `Rscript` (thanks, @cderv, #48).

diffstat:

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

diffs (28 lines):

diff -r ff75b7b06087 -r efb41ed7a249 devel/R-xfun/Makefile
--- a/devel/R-xfun/Makefile     Mon May 31 22:59:34 2021 +0000
+++ b/devel/R-xfun/Makefile     Mon May 31 23:39:12 2021 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.6 2021/02/08 12:20:48 mef Exp $
+# $NetBSD: Makefile,v 1.7 2021/05/31 23:39:12 mef Exp $
 
 R_PKGNAME=     xfun
-R_PKGVER=      0.20
+R_PKGVER=      0.23
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r ff75b7b06087 -r efb41ed7a249 devel/R-xfun/distinfo
--- a/devel/R-xfun/distinfo     Mon May 31 22:59:34 2021 +0000
+++ b/devel/R-xfun/distinfo     Mon May 31 23:39:12 2021 +0000
@@ -1,6 +1,6 @@
-$NetBSD: distinfo,v 1.5 2021/02/08 12:20:48 mef Exp $
+$NetBSD: distinfo,v 1.6 2021/05/31 23:39:12 mef Exp $
 
-SHA1 (R/xfun_0.20.tar.gz) = 88b6e98c36422f139649195a6a554bde367a6f13
-RMD160 (R/xfun_0.20.tar.gz) = bf24b7050f1f82220a3fe3fcc8cdebbde16caa22
-SHA512 (R/xfun_0.20.tar.gz) = a3ceb72d455ecb7f140c6f570d3dbaa9a5211fef011830584390ebbc0e5cb3a647af2058e99056bfb8597302913e2485ebb1c1f2bcb7c7c1f21d7721d5c8a7d5
-Size (R/xfun_0.20.tar.gz) = 99897 bytes
+SHA1 (R/xfun_0.23.tar.gz) = 2cdd7b69687c1fa4d3421677a26704a8458947d9
+RMD160 (R/xfun_0.23.tar.gz) = edee7a7f66c16d112567e24e9cb32363871dc58f
+SHA512 (R/xfun_0.23.tar.gz) = 3b5a1fc38af1ef35068d783a929a81bdbab0ec7ba773acafb61208bde78ea67175e1445f186d816bbfb6913d3ce323089d6b8d26712776ac9d2703bb6808a1fe
+Size (R/xfun_0.23.tar.gz) = 111696 bytes



Home | Main Index | Thread Index | Old Index