Skip to content

Commit

Permalink
(devel/R-xfun) Updated 0.36 to 0.41, make test missing TEST_DEPENDS
Browse files Browse the repository at this point in the history
# CHANGES IN xfun VERSION 0.41

- `process_file()` will write to the file only if the processed text
  is different with the input text. This is to avoid writing files
  unnecessarily.

- `session_info()` will remove extra blank lines (thanks, @chuxinyuan,
  #82) and also omit the time zone info.

# CHANGES IN xfun VERSION 0.40

- `number_to_words()` supports decimal numbers now (thanks,
  @harshvardhaniimi, #80).

- `is_ascii()` is more robust now (thanks, @bastistician, #81).

# 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())`.

# CHANGES IN xfun VERSION 0.37

- Added a function `is_arm64()` to test the CPU type (thanks, @AlbanSagouis, #72).

- Started deprecating `xfun::isFALSE()` in favor of `base::isFALSE()`
  for R >= 3.5.0 (thanks, @mmaechler, #66); `isFALSE()` will
  eventually be removed from **xfun** when we do not need to support R
  < 3.5.0.
  • Loading branch information
mef committed Feb 5, 2024
1 parent 03d7009 commit ff7eb65
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 10 deletions.
12 changes: 6 additions & 6 deletions devel/R-xfun/Makefile
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# $NetBSD: Makefile,v 1.18 2023/06/03 13:40:21 mef Exp $
# $NetBSD: Makefile,v 1.19 2024/02/05 21:19:44 mef Exp $

R_PKGNAME= xfun
R_PKGVER= 0.39
R_PKGVER= 0.41
CATEGORIES= devel

MAINTAINER= [email protected]
Expand All @@ -10,13 +10,13 @@ LICENSE= mit

# 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
TEST_DEPENDS+= R-testit-[0-9]*:../../devel/R-testit
TEST_DEPENDS+= R-pak-[0-9]*:../../devel/R-pak
TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi
TEST_DEPENDS+= R-remotes-[0-9]*:../../devel/R-remotes
TEST_DEPENDS+= R-renv-[0-9]*:../../devel/R-renv
TEST_DEPENDS+= R-rmarkdown-[0-9]*:../../textproc/R-rmarkdown
TEST_DEPENDS+= R-rstudioapi-[0-9]*:../../math/R-rstudioapi
TEST_DEPENDS+= R-testit-[0-9]*:../../devel/R-testit
TEST_DEPENDS+= R-tinytex>=0.31:../../print/R-tinytex

USE_LANGUAGES= c c++

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.16 2023/06/03 13:40:21 mef Exp $
$NetBSD: distinfo,v 1.17 2024/02/05 21:19:44 mef Exp $

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
BLAKE2s (R/xfun_0.41.tar.gz) = 7566dd1c4d4ae28e3250b62d374147d40d09da0cc0fb44d45d1005dfda644c1c
SHA512 (R/xfun_0.41.tar.gz) = fae43d05771fa60823b3471adfe69d0145affc1e0a862c2b398246cac03e254293157c8928bf375c66d8cdf1069b0c86420b3915c2fca0382d349501d4e1d25c
Size (R/xfun_0.41.tar.gz) = 135720 bytes

0 comments on commit ff7eb65

Please sign in to comment.