From 7f6fe285424773d82c3c707ab5e832a762e5f778 Mon Sep 17 00:00:00 2001 From: mef Date: Sat, 3 Jun 2023 13:40:21 +0000 Subject: [PATCH] (devel/R-xfun) Updated 0.37 to 0.39 # CHANGES IN xfun VERSION 0.39 - Fixed a bug that `protect_math()` fails to protect the starting `$$` that has leading white spaces. - Added a function `strip_html()` to remove HTML tags and comments from text. - The function `alnum_id()` will remove HTML tags and comments from text (using `strip_html()`) before converting it to an ID string. - Added a function `env_option()` to retrieve an option value from `options()`. If the option does not exist there, check the environment variables. This provides a way for users to set an option via either `options()` or an environment variable. # CHANGES IN xfun VERSION 0.38 - Added an object `download_cache`, which is a list of methods to download a URL, cache the result, retrieve the result from the cache, and clear the cache. - Added an argument `default` to `url_filename()` to provide a default filename when it cannot be determined from the URL. - Added a function `yaml_load()` to read YAML data when the **yaml** package is not available. It only supports a limited number of data types and is supposed to be used as a fallback method. See the help page `?xfun::yaml_load` for details. - Added a function `yaml_body()` to split a document into YAML metadata and the body. - `is_arm64()` also supports Linux now (thanks, @eitsupi, #74). - `is_blank()` returns a logical vector of the same length as the input vector now, indicating if each element of the input is blank. Previously it returns a logical scalar indicating whether *all* elements are blank. If you want the old behavior, you can use `all(is_blank())`. --- devel/R-xfun/Makefile | 4 ++-- devel/R-xfun/distinfo | 8 ++++---- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/devel/R-xfun/Makefile b/devel/R-xfun/Makefile index 950b392e37be..da7dee1b43dd 100644 --- a/devel/R-xfun/Makefile +++ b/devel/R-xfun/Makefile @@ -1,7 +1,7 @@ -# $NetBSD: Makefile,v 1.17 2023/02/19 12:48:24 mef Exp $ +# $NetBSD: Makefile,v 1.18 2023/06/03 13:40:21 mef Exp $ R_PKGNAME= xfun -R_PKGVER= 0.37 +R_PKGVER= 0.39 CATEGORIES= devel MAINTAINER= pkgsrc-users@NetBSD.org diff --git a/devel/R-xfun/distinfo b/devel/R-xfun/distinfo index 0511cf914600..fdbf160b361e 100644 --- a/devel/R-xfun/distinfo +++ b/devel/R-xfun/distinfo @@ -1,5 +1,5 @@ -$NetBSD: distinfo,v 1.15 2023/02/19 12:48:24 mef Exp $ +$NetBSD: distinfo,v 1.16 2023/06/03 13:40:21 mef Exp $ -BLAKE2s (R/xfun_0.37.tar.gz) = 8df0df0f7a23bd6225b052deb88191c2e10c1b590afcff9e7cc17cc6ff7e9b64 -SHA512 (R/xfun_0.37.tar.gz) = 998b53329a18e2b2a7472e3ada26378644a7e83001bd4853bd3fc711a50353008ca73e85ccbcdc32ea2b462c5ad7a23ba07ff023358a363cafd728dd9a3a6621 -Size (R/xfun_0.37.tar.gz) = 130063 bytes +BLAKE2s (R/xfun_0.39.tar.gz) = e38e596460f02c3ba914fbf1d9b81914650f268b1146c6bcbab5df298980b176 +SHA512 (R/xfun_0.39.tar.gz) = 711acf011bf8c1264155352e31a8477db4bb5353ec820eb647106076a3e10389bc0b67c4d246c2eb741beaa3d79bb55706f85d79931f3b402b576a423fba1f2f +Size (R/xfun_0.39.tar.gz) = 135480 bytes