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.26 to 0.30



details:   https://anonhg.NetBSD.org/pkgsrc/rev/0cae4f648aa6
branches:  trunk
changeset: 377564:0cae4f648aa6
user:      mef <mef%pkgsrc.org@localhost>
date:      Sat Apr 23 01:54:49 2022 +0000

description:
(devel/R-xfun) Updated 0.26 to 0.30

# CHANGES IN xfun VERSION 0.30

- Added a new function `is_blank()` (previously existed in **knitr**)
  to test if all elements of a character vector are blank (white
  spaces or empty strings).

- Added a new argument `error = TRUE` to `existing_files()`.

# CHANGES IN xfun VERSION 0.29

- `github_releases()` can fetch all releases (tags) of a Github repo
  now.

- Added an argument `.error` to `download_file()` so that users can
  customize the error message when the download fails.

- Added functions `rest_api_raw()` and `rest_api()` to get data from a
  REST API; also added the function `github_api()` to get data from
  the Github API based on `rest_api_raw()`.

- Added a wrapper function `system3()` based on `system2()` to mark
  the character output of `system2()` as UTF-8 if appropriate.

- Added a function `existing_files()` to return file paths that exist
  (a shorthand of `x[file.exists(x)]`).

- Added a function `read_all()` to read multiple files and concatenate
  the content into a character vector.

- `url_accessible()` uses `curlGetHeaders()` by default (instead of
  `download_file()`) to test if a URL is accessible when the **curl**
  package is not available.

- When `options(xfun.rev_check.compare = FALSE)`, `rev_check()` will
  run `R CMD check` on reverse dependencies against a source package
  but not the CRAN version of this package. By default, this option is
  `TRUE`, meaning that `R CMD check` will run against both versions of
  the package.

# CHANGES IN xfun VERSION 0.28

- Added a new function `url_accessible()` to test if a URL can be
  downloaded.

- Added a new function `try_error()` to try an expression and see if
  it throws an error.

# CHANGES IN xfun VERSION 0.27

- Exported and documented the function `xfun::base_pkgs()` (to return
  base R package names).

- Changed the default value of the `status_only` argument of
  `compare_Rcheck()` from `FALSE` to `TRUE`.

- Added new functions `crandalf_check()` and `crandalf_results()` for
  checking (especially large numbers of) reverse dependencies of
  packages via [**crandalf**](https://github.com/yihui/crandalf).

- Added new functions `append_utf8()` and `append_unique()` based on
  `read_utf8()` and `write_utf8()` to append content to files or
  connections.

diffstat:

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

diffs (26 lines):

diff -r 5cc67ae1ff41 -r 0cae4f648aa6 devel/R-xfun/Makefile
--- a/devel/R-xfun/Makefile     Sat Apr 23 00:15:46 2022 +0000
+++ b/devel/R-xfun/Makefile     Sat Apr 23 01:54:49 2022 +0000
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.12 2021/09/18 14:23:00 mef Exp $
+# $NetBSD: Makefile,v 1.13 2022/04/23 01:54:49 mef Exp $
 
 R_PKGNAME=     xfun
-R_PKGVER=      0.26
+R_PKGVER=      0.30
 CATEGORIES=    devel
 
 MAINTAINER=    pkgsrc-users%NetBSD.org@localhost
diff -r 5cc67ae1ff41 -r 0cae4f648aa6 devel/R-xfun/distinfo
--- a/devel/R-xfun/distinfo     Sat Apr 23 00:15:46 2022 +0000
+++ b/devel/R-xfun/distinfo     Sat Apr 23 01:54:49 2022 +0000
@@ -1,5 +1,5 @@
-$NetBSD: distinfo,v 1.10 2021/10/26 10:14:10 nia Exp $
+$NetBSD: distinfo,v 1.11 2022/04/23 01:54:49 mef Exp $
 
-BLAKE2s (R/xfun_0.26.tar.gz) = d4c11fb00e9b84611d82450e27027f6a401e9cde3f6e3f5e450f3da62d479e48
-SHA512 (R/xfun_0.26.tar.gz) = 28e8bb6587c1c80044e55947e0e6efbe58d90f042cec940f0aa26f1eaed5cb9cde0014cdeff002cc10ccefb3388f4585b27de57cc61a577b8f7f45b7e27aa95e
-Size (R/xfun_0.26.tar.gz) = 113158 bytes
+BLAKE2s (R/xfun_0.30.tar.gz) = bbc2fc0ad039a0281defcbfd67f618dab1a804a51dd510f0701c5516f7d2bcfb
+SHA512 (R/xfun_0.30.tar.gz) = bf6874048c673b097bb5abf5c014b71ff7a58b1ac43b284aceaa9f2ba79b973aca05511db43c0a0f00f7bfaf261d0f054f9adc0b1d31c8d083293e8234fd68ac
+Size (R/xfun_0.30.tar.gz) = 125825 bytes



Home | Main Index | Thread Index | Old Index