Skip to content

Commit

Permalink
(devel/R-xfun) Updated 0.37 to 0.39
Browse files Browse the repository at this point in the history
# 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())`.
  • Loading branch information
mef committed Jun 3, 2023
1 parent 5c142fc commit 7f6fe28
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions devel/R-xfun/Makefile
Original file line number Diff line number Diff line change
@@ -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
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.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

0 comments on commit 7f6fe28

Please sign in to comment.